auria
a77405d53a
Fixed potentially dangerous name clash between Widget members and SkinWidgetContainer members + added the proper m_ prefix as per our style guidelines along the way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 19:25:20 +00:00
auria
d68e299da0
Fixed annoying visibility warnings wen building with Xcode
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5624 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 18:36:59 +00:00
auria
56956bf752
Fixed potential crash in add-ons code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-03 23:48:54 +00:00
auria
a8224ea937
Fixed a couple issues in race GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 23:14:44 +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
079a25cbd8
Adding a mutex to avoid gui problem in the addons_loading dialog and desactive the next and previous button (and some code cleanup)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5618 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 16:54:08 +00:00
xapantu
088efbb96a
code cleanup in addons_loading (remove the use of 'this' for the back button, I am going to remove all 'this')
...
move this->update_status to m_update_status in addons_screen
disable the focus on the image in the addon dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-02 14:59:21 +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
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