Commit Graph

196 Commits

Author SHA1 Message Date
hikerstk
bc237e8cef Cleaned up "/" usage (avoid "//"), and in the way fixed problems
with textures that were not found (due to ealier not completely
finished clean ups).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12404 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-21 23:27:39 +00:00
hikerstk
4410101721 Remove the usage of '//', which isn't properly supported by Irrlicht's CFileList
("a/b" and "a//b" on a file archive are not equal) and is not necessary.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-21 05:37:33 +00:00
hikerstk
f8774f6e52 Oops - committed an inconsistent version of this file, which doesn't compile.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 23:33:35 +00:00
hikerstk
67dc8141da Use Log:: in main.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-17 21:44:51 +00:00
hikerstk
5ddbd2972b Removed the leading '/' from all references to "data/...", so that
m_root_dir can be set to "" without causing the references to
m_root_dir+"/data" then to reference "/data" (instead of just "data").


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-15 00:16:35 +00:00
hikerstk
5d8c0d7be1 Added log infrastructure. Only a few files of STK are actually using it,
but all (f)printfs should be replaced. Note that I had to rename
tinygettext/log.?pp to avoid linking problems on windows.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-14 00:38:07 +00:00
auria
164a910a05 Clean up GUI image file from /textures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2013-01-01 20:22:43 +00:00
hikerstk
7e1709e710 Re-added textures that were not used in main stk, but in some addons
to a separate 'deprecated' directory (#666).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-11-14 06:06:32 +00:00
hikerstk
fbb9e5f8d2 Refactoring: interpolating values is now handled in a separate class
InterpolationArray. This class is now used for the skidding probability
of the AI and the turn radius of all karts (which depends on speed).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-10-16 05:51:46 +00:00
auria
95a8ba37e0 Make animated textures work with LOD
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-05-06 01:13:03 +00:00
auria
8dcc237c28 Fix tons of warnings when building with Mingw. Yes I know I did a few changes in bullet. I don't care, the warnings were too annoying
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-20 01:51:28 +00:00
hikerstk
bbb0954ae8 Applied Wardje's patch to have separate high scores for reverse mode.
Thanks a lot!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-03-14 22:37:56 +00:00
hikerstk
a25fb4a71c Replaced core::stringc with std::string.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 22:45:57 +00:00
auria
2c9db720c0 Add initial way to make some bubbles traversable and others solid. More tweaking will be necessary
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2012-01-10 02:04:46 +00:00
auria
92eb0ebd2a Ran a small bash script to remove all of those annoying strings. The only thing they gave us were the need to rebuild after committing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-06 18:43:36 +00:00
auria
0455efd20d Massive refactor in challenge code to allow having more than 1 progression
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-12-05 22:00:42 +00:00
auria
cede3074bf Fix build issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 02:00:33 +00:00
hikerstk
a4c709e822 Another try to fix freebsd compilation: instead of a separate function for
time_t, add 32 and 64 bit int version (from stdint.h and/or some specific
windows typedefs).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-08 01:14:49 +00:00
hikerstk
fdc495b5bd Third try (or so) to fix freebsd compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-06 10:32:33 +00:00
hikerstk
c3c1c023d6 Yet another try to fix freebsd compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-04 02:12:09 +00:00
hikerstk
1d44201493 Also remove the actual implementation of the function
for freebsd.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-02 22:50:33 +00:00
hikerstk
b9ea877ca3 Removed overloaded function for freebsd (where apparently time_t is same
as int).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10089 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-11-02 03:15:19 +00:00
auria
d04bc58413 Quite a bit of work on Doxygen docs to contain an overview of the STK source code base
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@10039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-25 17:46:14 +00:00
hikerstk
76df1fa694 Added leak checking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 22:40:35 +00:00
hikerstk
3b63f1c299 Fixed ref counting in irr_driver (file_manager was not released), added
ref counting to file system object in file manager (not strictly necessary,
but cleaner).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-13 01:09:23 +00:00
hikerstk
a93d05d046 Fixed unnecessary creation of an irrlicht NULL device (one in file_manager,
one was created just to get the list of modes, before the actual device
is then created). This fixes a minor memory leak (the 2nd NULL device was not
freed), encapsulates all device creation into irr_driver (and not in 
file_manager).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-10-12 11:28:35 +00:00
hikerstk
b8f84d5d75 Removed warning in case that a partially downloaded file (*.part)
is found in tmp when exiting stk.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-09-08 00:18:23 +00:00
hikerstk
0e0f238cb0 Automatically remove all zip files in addons/tmp that are older
than 24 hours (to help in case that a zip file is needed to
debug). Also some minor cosmetic changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-08-16 22:56:10 +00:00
auria
d8815794b9 Fixed a lot of old logging code left from before the log level was a bit mask. We don't have too many log bits so atm they are classified a lot in 'misc'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-15 23:39:09 +00:00
hikerstk
54b83c7123 Fixed typos.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-07-14 05:06:12 +00:00
hikerstk
62e5f76979 Improved documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 11:26:30 +00:00
hikerstk
b4d3d5e5bb Fixed several copy&paste errors in checkAndCreateAddonsDir
(instead of creating m_addons_dir, the code was creating
m_config_dir, so the addons directories would not be created
correctly) - see #280.
Also improved error handling and error messages. The file_manager
now checks for $XDG_DATA_HOME, $HOME/.local/share, $HOME/.stkaddons
or else "." as a base directory for addons (under which it will
create supertuxkart/addons).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9018 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-23 07:18:05 +00:00
hikerstk
af147c3c37 Fixed minor typos in comments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-06-15 13:04:15 +00:00
hikerstk
7c628c1239 Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:50:20 +00:00
hikerstk
4fee01b72c Added 'addons' subdirectory to linux addons directory. This allows later
if necessary to have different versions of addons directory (which is what
Windows and Macs already support).
NOTE for linux users: this means that currently installed addons will not
     be found anymore. I would recommend to delete existing files in 
     .local/share/supertuxkart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8761 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-29 23:07:52 +00:00
auria
8788a07010 Minor includes cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8673 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 23:04:19 +00:00
auria
4157f7dc10 More work on 'thou shalt not include irrlicht.h everywhere carelessly'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 19:45:17 +00:00
auria
d501753ef2 Clean up irrlicht includes; avoiding including the huge irrlicht.h when we only need one specific class, especially in header files; use forwards when possible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-22 18:03:28 +00:00
auria
3d743e8e2d Use a better path for add-ons on OSX, before I had chosen a poor location and addon files were among config files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-13 01:29:18 +00:00
hikerstk
449f99be62 Used bitmask for verbosity.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-09 12:28:52 +00:00
hikerstk
92123f8681 Fixed incorrect 'priority' of texture search path:
data/texture/mossy_stone.png was loaded for jungle 
instead of data/tracks/jungle/mossy_stone.png.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-05-01 14:30:50 +00:00
hikerstk
6867018d52 Enabled news (but not addons) in normal debug mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 12:10:07 +00:00
auria
de743669f8 Fix wide-string player names (only if irrlicht 1.8 is used)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8060 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 15:52:59 +00:00
hikerstk
954b420446 Started to add support for downloading news from the addon server
at a specified interval only (e.g. only download every 2nd day).
Not fully working yet, might not work on linux/mac atm.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-23 03:57:49 +00:00
hikerstk
ac80387d20 Fixed removeDirectory function on windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 23:13:29 +00:00
hikerstk
96300b062c Fixed compilation bug on non-windows machines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7580 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:15:01 +00:00
hikerstk
4ab6331ff4 Update to bullet-2.77.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
mbjornstk
015443f582 Set props as per SVN-CONFIG for .[ch]pp, AKA SVN props clean up day. :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7493 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-21 01:54:38 +00:00
hikerstk
a4ee467c49 Started to add some error handling, fixed handling of zip files
with directories in them.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 05:44:33 +00:00
auria
685cbd1c14 Move particles into a new subdirectory
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7460 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 01:04:23 +00:00
auria
78370b27ad Make file manager a bit less verbose, it's normal that createXMLTree does not always find the file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7453 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 19:42:52 +00:00
mbjornstk
341862bdcf Add {} to make compiler happy about switch/case.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7441 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 02:35:13 +00:00
auria
7e9f6b5b20 Correct bug I introduced in XML reading, sorry
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7436 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 01:49:49 +00:00
auria
17a0f09296 Fixed a few more uses of atoi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:25:21 +00:00
auria
24d0d549ba Improve error handling in XML classes (namely, atoi must die) since I was bitten several times now by insufficient error handling. Also set up base architecture to support the new gfx mode 'my kart is animated but not Ai karts', though it doesn't work atm for the simple reason that at the time the model node is created we do not yet know if the kart is player or AI...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7432 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:06:59 +00:00
aeonphyxius
840a77ed38 add new tutorial folder and a file containing the configuration
first tutorial configuration file 
Add to file_manager.cpp the method to check the tutorial file
tutorial data, to implement the XML loading

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 00:27:03 +00:00
hikerstk
9dde70687f Implemented icon caching, and updated to support the future
web page (unfortunately the web server isn't up to that
standard yet, so expect error messages, addons that don't
work etc.).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-11 22:49:55 +00:00
hikerstk
4571e76c03 Fixed non-addon compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 23:38:11 +00:00
hikerstk
a4db783f7e Fixed deleting installed addons.
NOTE: it is still NOT safe to use this, esp. now that there is code to remove a directory :)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 21:54:12 +00:00
hikerstk
f0f97d0fbb Added support for SUPERTUXKART_SAVEDIR environment variable to
specify/overwrite where the user-specific files are written to.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 03:58:43 +00:00
auria
c669a425e5 More particles tweak + eye candy : add additive blending to materials.xml, now the nitro looks awesome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 02:38:24 +00:00
auria
ec3c1f76a0 New XML-based particle system. May need a few tweaks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-05 01:39:18 +00:00
hikerstk
3c729b4b0f 1) Added proper handling and detection of installed addons
2) Moved addon related data files into a separate 'addons' directory.
3) Directory names of addons are now lower case.
(Still addons are not stable enough to be used!)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 21:49:17 +00:00
hikerstk
110af2b7ae Removed/replaced getKartFile/Dir functions in file_manager, which
should solve issues with addon karts not being found or textures
not correctly loaded.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 05:47:49 +00:00
auria
8ddb9aee41 Removed more useless FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
hikerstk
4a6b709685 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 03:31:11 +00:00
auria
f196a544a2 Deactivate writing unicode XML until irrlicht devs fix thing son their side
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-02 19:02:31 +00:00
mbjornstk
976f2f463a Fix misplaced #endif and missing #ifdef ADDONS_MANAGER / #endif.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 23:50:19 +00:00
hikerstk
ce986d623d Many style changes and code improvements to addons management.
The addons icon is now greyed out in case of an error (and till
the list of addons is downloaded, though usually that is done by
the time the main gui is shown). Moved synchronisations/threading
from addons_manager to network_http. Added 'Synchron' template
to hide usage of mutex to provide synchronised accesses to a variable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 22:48:44 +00:00
auria
5bd9afdd7f Big refactor : move a lot of strings and config files to use wide strings. For instance to be able to cope with foreign characters in player names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-28 01:29:36 +00:00
hikerstk
8ecee44a35 Renamed getConfigFile to getDataFile (since getConfigFile
would actually not return a directory under getConfigDir).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:59:06 +00:00
hikerstk
1c90d679e2 Removed unused animation_manager (track object manager takes care
of animations).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7040 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:15:59 +00:00
hikerstk
f5662118c6 Made addon manager compiler with windows (though not working yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-16 21:07:14 +00:00
auria
2e6ebaa63b Fixed memory leak (Joerg: phew, I'm not the only one writing stupid code ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:53:25 +00:00
hikerstk
7c36638e63 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-28 20:54:45 +00:00
hikerstk
829b015314 Properly delete the first window (esp. on Linux) when switching resolutions.
ATM this results in a crash for me (though this patch should be correct, so
the reason for the crash must be something else).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-23 21:16:19 +00:00
auria
cb78ded2ed Tidy up logging + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
auria
b957d7923a Perform decent error checking when getting music file, previous code would silently return an empty file. Fixed the use of the 'smart' function used too early when loading title music
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 19:19:31 +00:00
hikerstk
143ee6d455 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 06:05:48 +00:00
hikerstk
f87c95b605 Added "/" to the end of some getXXXDir functions, so that the
"/" doesn't have to be added elsewhere all the time.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:56:42 +00:00
hikerstk
3e4cc2eab7 More NoCopy.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 05:36:40 +00:00
hikerstk
2f25be8333 Updated project file, removed compiler warnings, worked around
compilation problem on windows related to directory removal
for the add on server. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 01:04:50 +00:00
xapantu
58637fb82a Move removeDirectory to file_manager (for addons uninstall)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 16:30:17 +00:00
hikerstk
9d467210c5 Fised memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-05 23:00:41 +00:00
xapantu
2a3854db6b improve the checkandcreatedirectory recursive function file_manager using the stringutils split function
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 17:14:09 +00:00
xapantu
f4f78803b3 Adding a function (checkAndCreateDirectoryP) tp create directories recursively
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 09:35:55 +00:00
auria
e99d7592fb Fixed uglyness on OS X where directories called both SuperTuxKart and supertuxkart would be attempted to be created in App Support
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5615 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 18:11:22 +00:00
auria
58d8e91e20 Better error checking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5614 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 18:06:18 +00:00
xapantu
3b1757449b Creating the directories for addons using file_manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5613 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 17:42:12 +00:00
xapantu
362abc0fc4 removing one of the two download functions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5612 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 17:16:10 +00:00
auria
5b20361094 Implemented get addons dir for OS X
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5611 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 16:59:22 +00:00
hikerstk
61b411a6a7 Removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 13:58:22 +00:00
xapantu
5a653e26e9 Adding the addons menu, I am going to write a mail to the ML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 18:40:55 +00:00
auria
2810193fb2 Lots of small changes to make the output Doxygen file much more useful
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 20:36:13 +00:00
hikerstk
0d3120a4ea Removed unnecessary call (the directory was already added), which was
also incorrect and caused a warning to be printed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-15 23:53:31 +00:00
auria
6cba2be139 Fixed config dir fallback on linux/unix; last resort should be ~/.supertuxkart, not ~/supertuxkart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-21 01:50:59 +00:00
hikerstk
46ed8ff33e Removed unused functions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4745 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-16 23:50:52 +00:00
auria
f78001c7b2 Misc nitpicking
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-10 02:11:56 +00:00
hikerstk
037069a257 Improved handling of directory for user configuration files to work even if $HOME/.config
does not exist, and moved handling of files and directories from user_config to file_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4467 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-15 01:46:03 +00:00
hikerstk
d6b91f8fc3 Applied Stephen Just's patch 2926028: search for data directory relative to the executable,
which allows STK to be started/debugged in VS without having to set a working directory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-12 02:02:13 +00:00