Commit Graph

4217 Commits

Author SHA1 Message Date
hikerstk
1d4471f7c4 Moved handling of kart elimination into emergency animation (since
it's closely related, i.e. removing and adding bullet bodies), and
fixed bug 3059830).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 23:08:27 +00:00
hikerstk
022464830c Added test for missing dimension to avoid assert in bullet
(though this does not fix bug 3058932).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 23:05:56 +00:00
auria
bc7f48d5e5 tweak text bubble widget so that the text cannot go too close to the right edge of the widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 17:50:29 +00:00
auria
381ac727b0 Fixed RTL credits + removed annoying debug print from there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 17:41:05 +00:00
auria
3154a8c23b Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5904 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 17:01:06 +00:00
auria
e4b1d27aca Fixed compilation problem in non-debug mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 16:59:00 +00:00
hikerstk
1eb2aed0bf Fixed skipping of the first result table (see bug 3059531).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5902 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 11:11:38 +00:00
hikerstk
8b29d20866 Fixed missing stars animation, which is now moved completely into
EmergencyAnimation (see bug 3059588).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-06 11:07:41 +00:00
mbjornstk
f02c89e835 Change transparency to 75% with GIMP.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 23:44:07 +00:00
hikerstk
a9d0acef3e Bugfix in new animated icons: if the kart positions were not in the right order
when stk is started (i.e. kart with world id 8 is on position 10 instead of 9)
then the race gui would crash. While this situation should not happen (the 
incorrect position happens if a kart has an invalid start position and is 
therefore rescued when the 'go' happens), this patch avoids a crash, helping
tpo diagnose other problems.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 23:41:59 +00:00
hikerstk
ebf6f561a9 Completely removed getRaceResultOrder functions, added debug support
for duplicated ranks to world_with_rank.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 14:05:59 +00:00
hikerstk
442168e845 More bug fixes for FTL mode, and started some code simplification.
By now FTL should basically work (i.e. not crash and list karts 
in the right order at the end), though the reported times are
still not correct.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 01:07:44 +00:00
hikerstk
7688b613ec Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 01:05:52 +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
auria
908116c983 Improved bright text color in peach skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:31:19 +00:00
auria
aca58a4ddf Disabled clipping in our font. Welcome back the bottom of letter 'g' and other similar stuff that was getting cut off due to over-agressive clipping of letters
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:26:35 +00:00
auria
6ca4d0f642 Enlarged AddDeviceDialog so that hopefully clipping no more occurs on any resolution
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:13:41 +00:00
auria
ee2ffba374 Removed many abuses of the all-inclusive widgets.hpp header
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-05 00:10:31 +00:00
auria
0273249bad tweaked help bubbles after testing in various languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 23:55:32 +00:00
auria
93d2f49671 Fixed remaining issues with text bubbles by moving them to top of the hierarchy when focused
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 23:40:30 +00:00
auria
13e0f1519f Added more ingores about chinese font so svn st stops annoying me for having it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 23:02:39 +00:00
auria
78c4ca3d5a Ignore chinese font files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 21:54:10 +00:00
auria
4a1a3df201 Improved look and behaviour of new bubble widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 21:51:01 +00:00
auria
431e65b745 Added bubble widget to work around clipped text in help menu .I'm not sure I like it, and it's especially ugly in the glass skin, but that can be worked on later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5884 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 20:24:42 +00:00
auria
15523034da Applied icon outline patch by jmimu, thanks\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 18:29:04 +00:00
auria
5d631158db Reversed WIP icon background patch that I accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-04 18:20:11 +00:00
auria
4263f9a373 Fixed the small icons in the race paused screen that looked weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 20:14:39 +00:00
auria
1ab4c71db2 Fixed bug with text not wrapping in small ribbon elements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 20:06:51 +00:00
auria
bc490ef54e Added ability for setting some labels to a different color, to improve on the unreadable text on dark background issue. Colors may need to be tweaked.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 19:42:36 +00:00
auria
7adcf430bd temporarly fixed hebrew translation to indicate it's RTL + scaled down hebrew font a little
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 19:02:16 +00:00
auria
2171874f26 Implement silly hack to get whether the current language is RTL (but at least it works)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 18:57:44 +00:00
auria
94c13d95e5 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5876 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 12:46:06 +00:00
hikerstk
059a599e47 Bugfix: eliminated kart where not added back properly when restarting a race.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-03 02:12:57 +00:00
hikerstk
b1205821b2 Changed implementation of slipstream to make it less likely that AI
will form 'trains': you have to slipstream for a certain amount of 
time, then (indicated by blue nitro sparks appearing) you will get
a zipper boost. This avoids the previous issue that by getting a
bonus even after a single frame of slipstream that trains are build
(since an overtaken kart will become faster, it's easy for the 
overtaken kart to keep on getting slipstream bonus. Now the overtaking
kart gets a zipper and is therefore far enough ahead of the overtaken
kart as to not giving it a slipstream bonus).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 22:42:35 +00:00
hikerstk
73339a9510 Fixed problem with result screen in follow the leader moder.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 22:35:16 +00:00
xapantu
c6b5ba2e76 Adding a 's' to the addons type when removing it directory, it is data/kart, not data/karts ^^
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5872 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 16:41:10 +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
xapantu
6b977c1600 - Center the text which show 'Downloading...' in the addons manager
- Use 'uninstall' instead of 'install' when the addon is installed

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 15:53:10 +00:00
xapantu
53037c25e1 Fix a segfault problem with addons (the buttons are now loaded from a file, and the code still used some button pointer to desactivated them, but they was NULL)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 15:24:56 +00:00
xapantu
8af8d1ab69 Improve the 'download in progress code' to be less verbose
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 15:15:31 +00:00
xapantu
bf7c7754c5 Updating translations from Launchpad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 15:11:03 +00:00
xapantu
aa90e1daac Removing useless print int the credits screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 15:00:17 +00:00
hikerstk
1b3778ca6a Moved setting of the position of each kart into
setKartPosition, some simplifications to ftl.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 13:38:23 +00:00
hikerstk
3480562b78 Added a new object in the world hierarchy (WorldWithRank) which
contains all codes related to ranking the karts (which is used
to display the icons in the race gui and the end result table).
The battle mode should now be fixed, but follow-the-leader
has still issues and will most likely crash at the end.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 13:14:07 +00:00
hikerstk
509e8f24df Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5863 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 13:10:31 +00:00
hikerstk
548ebab371 Fixed (at least one) bug in new race gui which caused battle mode not to
work anymore (battle modes don't have distance along track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 12:47:28 +00:00
auria
81d43ec465 New grave texture by KroArtem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 12:31:05 +00:00
hikerstk
ebd72f318b 1) Fixed last lap sfx still being played when a race is restarted.
2) Fixed last_lap sfx not being played in the last lap of a restarted
   race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 03:03:37 +00:00
hikerstk
1643701ff7 Applied jmimu's patch to remove 'new laps' etc. messages when a race is
restarted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 02:59:52 +00:00
mbjornstk
e51c21e5d0 Rotate and flip so anchor over icon looks a bit better.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5858 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 01:31:27 +00:00