Commit Graph

612 Commits

Author SHA1 Message Date
xapantu
2fa3c6bf43 The addons icons are now downloaded in a thread, we don't wait anymore that this download end
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:29:44 +00:00
auria
5e482d9989 Fixed restart race bug + other issues possibly introduced by my scheduling of pausing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 22:32:33 +00:00
hikerstk
42d59865ad Fixed debug display of unlocked GP: beach track was removed so
displaying the beach screenshot failed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-12 10:06:37 +00:00
hikerstk
f6cd18f5c7 Fixed VS compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 05:23:59 +00:00
auria
3f0f1d4b57 More work on audio : enabling SFX in-game now works significantly better, cakes and zippers now work properly. Disabling SFX in-game still not checked; when when enabling SFX in-game, looping sounds like kart engines are not started
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-11 02:13:45 +00:00
auria
b38525c227 Removed nonsensical assert
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 16:35:09 +00:00
auria
b424856d6c Fixed kart wheels sinking into the podiums in GP win screen. Also tried to fix characters looking left but that didn't quite work out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 15:12:40 +00:00
xapantu
22ef2ccb52 Fix crash when we tried to update an addons from the addons update screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-09 16:58:16 +00:00
xapantu
a087e00214 Adding update support for the addons and increase the size of the buttons in the addon dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-09 16:44:12 +00:00
auria
095f45be00 Possibly fixed another thread-related bug
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-03 18:56:26 +00:00
auria
ddc2a3dab2 May now confirm kart selection by pressing fire on player name (in case someone selects a kart first, their identity second, this is more natural)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-02 00:39:24 +00:00
auria
5eb4aaf4ef Hopefully fixed nitrobar going off-screen at large resolutions : use a percentage of screensize, or an sbolute size multiplied by the scale parameter, but not both toghether.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-01 23:46:46 +00:00
auria
909c887724 Changed message displayed when making it in the top-3 of a GP as per recently received feedback
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-01 23:05:28 +00:00
auria
dd50501e73 More minor changes to make sure crashes don't occur due to the thread in the main screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 15:46:24 +00:00
auria
6432d83c27 Fix more potential crash at shutdown regarding with add-on threads
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-27 01:27:06 +00:00
auria
d62e1f659d Fixed bug that could occur when leaving kart selection screen and a kart is currently leaving but not yet gone
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6146 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 20:12:54 +00:00
auria
984030f990 Added much debug code to help detect bugs early in kart selection screen and player management (see recent ticket; although these checks can be useful outside of this particular ticket anyway)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:34:04 +00:00
auria
90766a6118 Fix thread cancellation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-25 18:09:06 +00:00
hikerstk
2c98d511fe Fixed graphical error in FTL races when music is enabled
(see bug 3072740): the countdown timer caused incorrect
values to be used for the 'music credit' display.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6121 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 07:17:04 +00:00
hikerstk
6b3d0db0fa Fixed crash in case that not enough AI are selected in a FTL
race (now there will be at least three karts in a FTL race).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-23 03:13:54 +00:00
hikerstk
a973e8b84f Renamed all instanced of RandomKart in the race_manager to
AIKart (e.g. m_random_kart_list -> m_ai_kart_list) - since this
describes what the lists and function actually are (in network
the name is not entirely correct, but since this will be 
re-implemented anyway, we leave the proper naming till later).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 07:37:42 +00:00
hikerstk
248c12c3a2 Properly fixed bug 3072032 (crash when doing a challenge) - the call
to computeRandomKartList is not necessary, the real problem was that
the game data structure was set up before the new data was
defined (e.g. data was initialised for previous number of karts,
after initialisation the correct number of karts was set, causing
a crash).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:04:49 +00:00
auria
1c4e3f8492 Fixed crash when starting challenges. @Joerg: please read the fixme I added in RaceManager. There is some confusing design to fix there =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:09:25 +00:00
auria
51b1ffcf85 Added a 4th help tab describing multiplayer play, after suggestion to do so on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 19:22:43 +00:00
auria
6411bd6e3b Removed reference to removed kart in test screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 18:21:20 +00:00
auria
77f85f61cb Try to fix add-ons related crash at exit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 22:26:13 +00:00
auria
7058d30947 Fixed mossing notification in dynamic ribbon that could result in a visual glitch for plaer 0 in the kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6041 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 17:14:21 +00:00
xapantu
81d87f02e2 Use an absolute path for the addons icon in the kart selection screen (no [?] anymore)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 17:11:18 +00:00
hikerstk
b07ce15209 Maximum number of karts is now set from the value in stk_config (this limit is already
enforced for command line options).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 03:24:26 +00:00
hikerstk
92d18a7a25 Definitions for GP points is now independent of the maximum number of karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 02:31:20 +00:00
auria
4b15040560 Fixed leak in GPlose
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:44:19 +00:00
auria
18bd3ddb07 Add support for many GP losers in the GP ending screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:36:14 +00:00
hikerstk
79b0471b01 Added experimental code to give a background per line for the race
result. Too much is hardcoded atm, so it needs some work should
we want this look. Check for #ifdef USE_PER_LINE_BACKGROUND
to see what was done.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 01:28:19 +00:00
hikerstk
5fbc6eb0bb Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:57:27 +00:00
jmimu
62eff31d0e Hide icons overlaping minimap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 15:25:48 +00:00
auria
d9f64b1bd0 Fixed crash related to locked karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 13:52:47 +00:00
xapantu
694a782caf Revert my last commit since it is useless now ^^
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:34:40 +00:00
auria
4df28afc80 Properly unload screens before exiting, correcting a FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:29:53 +00:00
xapantu
197f693943 Move the main menu screen thread canceling to tearDown because ~MainMenuScreen is never called
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:22:10 +00:00
auria
96d7bbf345 Fixed warning + removed hardcoded constant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:51:40 +00:00
hikerstk
7f3f598193 Fixed crashes in grand_prix lose, win, feature animation etc.
KartModel instances come now in two different types:
master instances which are part of KartProperties and
should never call attachModel (or have wheels attached),
and copies of the master instances (which are used by karts
and other classes when the kart is actually displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 13:30:31 +00:00
hikerstk
ea7e1e2734 Applied jmimu's patch to fix icons in battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 05:16:52 +00:00
auria
3b6940f2a3 Removed unneeded widget copy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 13:41:44 +00:00
hikerstk
c2e68deb6d Minor cosmetic changes only.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 12:28:24 +00:00
hikerstk
69144f8274 Fixed crash in new KartModel handling in unlocked features.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 12:26:36 +00:00
hikerstk
aef6a4024c Improved handling if default (i.e. previously selected) kart
can not be found. Now stk will only abort if no kart at all
can be found, otherwise use the first kart in the kart 
properties list.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 03:24:34 +00:00
auria
3f0c41fd78 Added missing Doxygen documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:02:01 +00:00
auria
4253e0d02b Improved GP lost screen by extracting a constant
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:54:55 +00:00
auria
93d412aec8 Removed the use of static that could cause problems on res switch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 00:49:16 +00:00
auria
372e82374b Show confirm dialog before permanently erasing keyboard config (the confirm dialog I added is reusable, so should we ever need another confirm dialog we can reuse this one)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 23:06:54 +00:00
auria
bb659ba7c8 Fixed bogus include protection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 22:45:08 +00:00
auria
244b40bfbf Added support for deleting added keyboard configurations
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 22:40:54 +00:00
xapantu
1394c1b6d9 minor code cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:27:16 +00:00
xapantu
ec063ef163 Adding a package-update.png image
Show 'update' instead of uninstall or install for addons which can be updated (maybe we need a third button)
Add a special icon in the addons lists if the addon can be updated

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:19:05 +00:00
xapantu
96abb55c7d Change the name of the addons screen (from options to addons)
Use a single pointer for addons, it is now initialized in main()
Working on the update screen, we can now see which addons can be updated

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 18:02:48 +00:00
hikerstk
0fd5c79b33 Fixed crash in case that the default kart can not be found, instead an error message
is printed (Auria, perhaps there is a better solution than the exit call??).
Also remove unnecessart 'this->'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 11:19:21 +00:00
hikerstk
91e86e83b8 Applied jmimu's patch, to fix the real problem with the disappearing
icons. Thanks for the patch!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-08 05:56:18 +00:00
hikerstk
460db043ea Improved race-result screen not to show the times in FTL mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 23:05:31 +00:00
xapantu
2d17e2c2b8 Change back button id in the addons dialog to have a proper cancel button
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 18:04:22 +00:00
hikerstk
fb7cd0e161 Applied jmimu's patch to fix bug 3059574 "Race icons
disappearing", which is triggered when AI karts have
finished the race. Thanks a lot!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-07 13:46:51 +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
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
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
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
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
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
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
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
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
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
hikerstk
10616dab38 Applied jmimu's patch which shows players affected by attachments
and explosion in the player icon list, and 'animates' if a kart
is overtaken another kart. Thanks a lot for this patch!


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-02 00:44:11 +00:00
hikerstk
2a37d303fa Fixed compiler warning (unused variable).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-01 02:25:25 +00:00
xapantu
b69b719fcd Fix the problem with the thread that tried to access to a screen that could be deleted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-31 09:12:18 +00:00
hikerstk
c779232681 As default the top button is now set to have to focus when the race
result buttons are being displayed. This avoids the problem that a
player might accidentally trigger 'abort GP' when pressing 'fire'
repeatedly to skip animations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-29 23:17:56 +00:00
hikerstk
3890ee7a5d Fixed bug 3055452: crash at end of race (caused by displaying a
'new lap' message while the race result is being displayed). All
messages are now simply ignored (instead of causing an assertion
error).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-29 23:13:28 +00:00
hikerstk
9b74339431 Fixed bug 3041526 - speedometer display was incorrect for higher speeds.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-29 12:56:08 +00:00
hikerstk
6c28a366d3 Added support for skipping animations by pressing 'fire'.
Fixed some animations that were not skipped correctly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-26 10:16:58 +00:00
hikerstk
f2080fcab4 Skip gp-table-resorting animation if the GP standings are unchanged,
reduced time between point-increase and gp-table-resorting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-25 22:55:58 +00:00
hikerstk
4b37a6992a Fixed incorrect animation frame in GP win/lose animations (see bug
3041529).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5777 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-25 14:08:16 +00:00
hikerstk
a3dc17a7dd Fixed handling of ESC (which previously would close the screen, without removing the
actual race result gui). ESC now allows some skipping of animations.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5776 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-25 13:54:28 +00:00
hikerstk
5c0a18747e Fixed comment, and removed debug code to test unlocking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-25 00:58:45 +00:00
auria
cf7838db70 Removed accidentally committed debug prints
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-25 00:28:58 +00:00
hikerstk
7c6dc77365 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 23:35:43 +00:00
hikerstk
18444e16e0 Bugfix (stupid windows caseless file system).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 23:33:30 +00:00
hikerstk
18b7bd7736 Added new race result gui, which is an actual screen now. This is still work in progress
(e.g. atm it's not possible to skip part of the result animations, so for now you have
to wait till the buttons appear before you can continue).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 23:19:14 +00:00
hikerstk
433e1f42e2 Made Widget::m_text private and provided setter/getter functions
instead. The setter will automatically also set the corresponding
text in an irrlicht widget (if the irrlicht widget exists at that time).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 23:07:13 +00:00
xapantu
0892f3004a Re-fix the credits code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-23 14:16:39 +00:00
xapantu
39281ee8a7 Cleaning up the translator-credits code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5763 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-23 14:10:36 +00:00
xapantu
0f7bb742ab Merge translations
Fix the Credits screen for Launchpad contributions

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5762 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-23 14:04:45 +00:00
xapantu
5605a4c864 Adding support for the translator-credits string, it will add automatically the name of the translators
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5760 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-22 18:13:49 +00:00
xapantu
9cfeac1ed4 Adding a mutex in the main_screen to avoid problem with the thread that loads the news
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-22 17:51:48 +00:00