Commit Graph

4106 Commits

Author SHA1 Message Date
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
auria
fb0bda3fe4 Added addons build config to Xcode project + added better error handling to the unzip function so it fails instead of crashing iun a couple places (xapantu: more work needed on error handling)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5610 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 16:50:34 +00:00
hikerstk
acf4092444 Added new VS configuration 'curl-debug' which adds support for libfribidi,
curl (and pthreads). Several functions could not be compiled under VS, for now
I have commented out the appropriate sections and added "FIXME_ADDON"
#ifdefs or comments.

NOTE: This will most likely break the addon manager on platforms on which it
is currently working!!!! It's mainly meant to show which parts of the code
need to be improved!!! Please grep for FIXME_ADDON, and if no easy fix exists,
just add #ifndef WIN32 for now.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 14:25:42 +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
b4d372489b A dirty hack to add addons direcotory support in kart loader and a fix for addons path
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5605 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 12:15:57 +00:00
xapantu
4669b7075b Working on the update screen: remove unneeded function and some code cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5604 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 10:02:57 +00:00
xapantu
5a2de08d45 code cleanup in addons.cpp:
move the function GetName, GetVersion... to the header file
some documentation
try to follow the code style guidelines

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 08:32:56 +00:00
auria
9476785986 Removed the include to pthread in the main screen, it's not used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:34:59 +00:00
hikerstk
61cc735179 Fixed memory overwrite that happens when the in-game menu is
displayed during the end animations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5601 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:16:09 +00:00
hikerstk
5fcd69554e Updated VS project file, fixed minor compilation and style
problems (note: atm addons are not compiled on VS).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:14:56 +00:00
hikerstk
9698b08b87 (Hopefully) fixed missing return value in w_gettext.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5599 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-01 00:13:31 +00:00
auria
b686bf524b Updated Xcode project + minor fixed to xapantu's code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 23:53:16 +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
xapantu
f0094304da Adding the '--with-addons' option in configure.ac
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 17:07:42 +00:00
hikerstk
6c10ceeeb4 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5595 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 05:29:56 +00:00
hikerstk
09fe1ea784 Fixed uninitialised variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5594 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-30 05:23:37 +00:00
hikerstk
e646b2e443 Switch win/lose animation off when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 22:58:20 +00:00
hikerstk
28f2b3742d 1) Fixed 'shaking' of kart, which happens esp. in end- and reverse camera
(reason was that camera used the previous kart position to adjust the camera
   settings, while the karts were shown at the new position. This becomes a 
   problem if bullet does more than one time step, since then the usually
   fixed offset is changes, which is visible).
2) Removed debug output.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 11:15:00 +00:00
hikerstk
0d527829ef Fixed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5590 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 11:11:03 +00:00
hikerstk
b03dec0eb3 Made it less likely to get a switch (1/3 less likely then previously).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 01:45:14 +00:00
auria
6cb51e2492 More work on scalable race GUI : race GUI will now be not so small on high resolutions (we need higher-definition weapon icons\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 01:23:56 +00:00
auria
536bce6aa9 Started implementing scalable race GUI : race GUI will now be not so small on high resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-29 00:59:20 +00:00
hikerstk
daf9f5f3ff Added example of new end cameras.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5586 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:34:08 +00:00
hikerstk
c1c7daf2fa 1) Added support for new camera mode: end camera positions and types
can now be specified in the scene file. Currently supported are:
   - normal 'ahead of kart' camera (which is what we used so far)
   - fixed camera: camera is at a fixed position, always looking
     at the kart.
2) Removed camera.hpp dependency from kart.hpp.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5585 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:33:07 +00:00
hikerstk
f1c187d5d5 Fixed VS compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5584 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 23:24:04 +00:00
xapantu
659fb0a86a Update translations from Launchpad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 11:17:31 +00:00
xapantu
cdb0340d95 Adding korean translation by JJ from Launchpad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 11:12:50 +00:00
auria
ee514b08a7 Hopefully fixed bug where camera hanged
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-28 00:39:45 +00:00
auria
9c4940abdb Fixed AI count spinner being disabled when it shouldn't
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 23:56:59 +00:00
auria
c19280e6d1 Added assertions to Camera so that we can catch the camera getting stuck bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5575 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 23:18:52 +00:00
auria
8c62806938 More licensing fixed to secert garden
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 19:25:47 +00:00
auria
f67b392172 More licensing fixed to secert garden
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 19:18:49 +00:00
auria
ed31f0b357 Replaced a couple files with bad license in secret garden
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5572 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 18:43:22 +00:00
auria
41dbc1311d Fixed badges wrongly remaining on empty ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:40:00 +00:00
auria
3f0e2b8d74 Don't show 'random kart' button when no karts are available in the current group, or if there is only one kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:21:41 +00:00
xapantu
d336617eaf Fix a bug with fribidi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 17:19:28 +00:00
auria
f43a3da3ad Improvement to fribidi code : if fribidi says it failed to convert the string, don't read the output buffer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 16:46:30 +00:00
xapantu
be70408b38 Fix a bug with fribidi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-27 10:26:47 +00:00
auria
2275ecaa2b Corrected other FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5566 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 19:36:59 +00:00
auria
b9fcde4826 Removed outdated TODO
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 19:35:48 +00:00
auria
7db06e27e1 Fixed memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 19:33:03 +00:00
auria
5f18162c25 Simplified and cleaned up kart selection focus dispatcher logic; also corrected warp-around to work properly there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 17:19:12 +00:00
auria
0350423907 Fixed issue with duplicated resolutions + resolutions not always greyed out when the options menu is viewed in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 15:00:13 +00:00
xapantu
d87bc09303 Update translations from Launchpad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5560 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-26 12:54:29 +00:00
hikerstk
bc22ee6df5 Fixed rouding error in time handling, e.g. 0:0:996 was displayed
as 0:0:100 and not as 0:1:0.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5559 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 13:48:13 +00:00