Commit Graph

354 Commits

Author SHA1 Message Date
auria
3c4a67045f Minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:39:08 +00:00
auria
4356939ca2 Minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:35:52 +00:00
hikerstk
9ee136535d Removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 06:21:11 +00:00
auria
57c4a77a76 Slightly cleaned up some code in event handler
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5356 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 00:50:11 +00:00
auria
77ecba5bc4 caught potential bug in abstract_state_manager
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 20:36:20 +00:00
auria
1b3ea64041 Initial incarnation of the new input configuration menu. More to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 19:39:09 +00:00
auria
a30c7fb403 Minor cleanup & documentation in ListWidget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 18:11:46 +00:00
auria
c731ae5fc4 Provide our own version of irrlicht's IGUISpriteBank, since theirs is too limited for our needs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 18:08:14 +00:00
auria
0c90c98215 Work around irrlicht list limitations with dark magic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 17:27:17 +00:00
auria
17d871732d Fixed typing player names when some letters are mapped to accelerate/brake/fire/etc... in some keyboard config. identified a FIXME and cleaned up another bit of code on the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-02 00:22:35 +00:00
auria
0670901505 Prevent GUI messages from appearing in large quantities (e.g. when pressing a gamepad axis and only the game master can play - show only one message, not one for every event generated along the axis)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:46:45 +00:00
auria
d2a7856282 Minor changes to state manager for consistency (I don't think we need those features but better support my design correctly, even corner cases we don't correctly use, otherwise code is ahrd to understand)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:20:16 +00:00
auria
1bdc320742 Fixed karts selection screen messed up after a resolution switch; added some refactor to allow easier fixing of such problems in the future. Documented many more methods along the way.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 19:16:38 +00:00
auria
574694415a Fixed crash in dynamic ribbon widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-01 17:17:10 +00:00
hikerstk
d780f8920b Fixed compilation proble with VS.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 03:50:27 +00:00
auria
baabc572aa Fixed crash when pressing left/right on an empty row of a ribbon (more work later to avoid letting the user focus ever go on an empty row...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 01:28:57 +00:00
auria
73e425fd6a Fixed nasty bug in dynamic ribbon widget. Thanks MiniBjorn for finding that.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-30 01:16:27 +00:00
hikerstk
57df1a157d Fixed VS compilation problem.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:41:40 +00:00
auria
61df686924 Sorry, I screwed up. Fixed previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:20:57 +00:00
auria
0a67a1ee20 Sorry, I screwed up. Fixed previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:20:11 +00:00
auria
a644fb4dac Removed some unnecessary friendships
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:16:01 +00:00
auria
5d827f12ef Some code cleanup, that might have fixed JoergH's build problem on the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 23:14:59 +00:00
auria
1a9b1466bb removed many includes in headers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-26 14:41:23 +00:00
auria
d672580336 minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:47:17 +00:00
auria
52b72efedd Removed outdated TODO and fixed a FIXME by removing fishy code that didn't seem useful anyway
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:45:48 +00:00
auria
189fd13b37 More code cleanup (yeah, again, that's because I care ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:23:57 +00:00
auria
f19db5ad5f Removed debug print that was committed accidentally
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:09:14 +00:00
auria
281036fc3c More code cleanup and documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 19:07:56 +00:00
auria
e4fcbd4535 Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (continuing work started in previous commit)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:54:55 +00:00
auria
e9b621c93c Added higher-level calls to RibbonWidget so that Screens don't need to manually manipulate the internals of GUIEngine (they shouldn't even have access to them xD)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:43:06 +00:00
auria
702934c50e Fixed skin glitch with list selection rendering : clip the selection image when drawing it very near the edge and half the image is outside the list
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 18:22:53 +00:00
auria
8cc06205e4 More documentation improvements to GUI code. Fixed a couple old comments that were no longer valid and thus misleading.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:58:22 +00:00
auria
00683fb0a5 Documentation improvements (some comment was misplaced and was attributed to the namespace and not the function inside the namespace where it belonged)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:36:08 +00:00
auria
e6b0b5238d Improved the code of abstract state manager / state manager (moved code from abstract class to derived class, improving the design a lot and removing duplicated code). closes many FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:21:51 +00:00
auria
e6d933eba5 removed some old fishy code I can't make sense of *blush* - it doesn't seem to have any purpose so I don't think this will change anything. Some other code cleanup along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:15:30 +00:00
auria
e2e442f756 Fixed help screen bug caused by the recent move of items. Also modifying the code to make it easier to debug such kind of problem in the future (print the details to stderr, don't just assert(false))
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 17:14:10 +00:00
auria
e24c8a235d Minor : typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:27:24 +00:00
auria
2ef1c07e18 Minor : typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:27:11 +00:00
auria
8a8408bb23 Added back support for displaying messages in the GUI (for instance when an old config file is found; though this won't actually happen for the 0.6->0.7 transition since it went from LISP to XML)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-25 01:21:53 +00:00
auria
ad97efc12f Improved the design of the GUI engine yet a bit more. Documented a couple coding horrors with FIXMEs *blush*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:21:04 +00:00
auria
400a102241 Code cleanup and documentation improvements in GUI code; fixed compilation error mysteriously introduced by removing LISP (WTF, I did a clean build, why didn't this error pop up then???)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-24 20:08:13 +00:00
auria
9a7dc857a9 Minor improvements to GUI engine documentation page
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 21:04:20 +00:00
auria
a7ae507e9c Minor typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 21:01:05 +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
auria
183ff21c91 1) Added warp-around feature to spinners, made player ident spinners warp-around. 2) Moved GUI engine documentation from .hpp file to .cpp file, so that a documentation change doesn't trigger large re-compilations of everything 3) Formatted GUI engine documentation for Doxygen, now Doxygen will generate us a nice documentation about the GUI engine
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-23 19:47:17 +00:00
auria
055687abbf Added (currently disabled) code to add icons in list widgets, this could be useful in the future. Unfortunately, irrLicht is again unfreidnly to out scalable UI; I've not figured a way to make them scalable at this point so I won't be using them right now
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 18:14:28 +00:00
auria
297f0cceb4 Renamed SoundManager into MusicManager, since this makes it much clearer what it does (it was just confusing to have SoundManager and SFXManager)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:24:02 +00:00
auria
c12618a48a Moved some audio code around because the previous organisation was confusing, there was some SFX code among the music code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-21 17:16:49 +00:00
auria
9074febf54 Fixed missing music issues when aborting race / going back to main menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-20 19:11:48 +00:00
hikerstk
ef174c6ab6 Fixed incorrect return value causing messages to be printed twice (or messages that
should be ignored to be printed). This does not fix the 'read Chunk...' messages.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5209 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-18 12:35:45 +00:00
auria
77a69fb80b Moved logging code out of the input handler to the event handler, where it belongs more
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-16 00:24:25 +00:00
auria
bc98199b9e Fixed problem in new ribbon propagation code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 23:18:44 +00:00
auria
ce1f3fed61 Better vertical navigation in dynamic ribbon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 17:21:46 +00:00
auria
a009b2ef6c Better define which widgets can be visited by multiple players, fixing weird missing focus issues when a player > 0 selected a widget he shouldn't
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 17:13:39 +00:00
auria
5e88ff275b Better center 'selection bubble' in GUi skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-11 16:50:43 +00:00
auria
d1df9b1ee1 Fixed several FIXMEs related to player ID
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 21:02:40 +00:00
auria
562f3489ec Removed a couple hardcoded player IDs, improved documentation in skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 20:51:44 +00:00
auria
c31323cbe0 removed confusing TODO I can't make sense of
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5126 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-04-08 01:25:28 +00:00
auria
2a06f7b2c0 Cleaned up no more useful TODOs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5106 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-31 23:22:26 +00:00
auria
5c2ec6014a Typo fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 00:08:29 +00:00
auria
bbc5330241 More work on the player list... /me is getting sick of fighting against irrLicht widgets *sigh*
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-28 00:02:57 +00:00
mbjornstk
e863a5e705 Add include to fix "error: must #include <typeinfo> before using typeid".
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5089 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:57:55 +00:00
auria
e92286f24f Fixed lists being messed up because some events were denied from them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:44:05 +00:00
auria
f1edf20c31 Work around weird irrLicht thing : IDs must not start at 0, since it appears their GUI engine hardcodes some ID values... xD
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:36:17 +00:00
auria
2f3cf6d8b4 Cleanup : less publicly editable members in Widget, renamed the name of tabs in options because there was a name conflict, improved widget search into the tree
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 23:18:07 +00:00
auria
f93e26e48f Allow skinning scrollbars
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 19:55:53 +00:00
auria
56f77a2d49 Render scrollbar in some way (not skinnable yet) when the list of players is very long
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5083 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 18:49:35 +00:00
auria
91cdd81835 Show explainatory message when some player tries to perform an action that is reserved to the game master. Hopefully this will help reduce confusion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 17:31:45 +00:00
auria
53df3f4cee Fixed player name spinner to contain the correct default value
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-27 16:03:11 +00:00
auria
fad4cb4c01 Updated menu singleton code, there was a bug in its logic (that had no consequence that i know but better fix it anyway) + some code style cleanup along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-18 18:18:19 +00:00
auria
5239b62e0d Notify player when he unlocked a feature by completing a GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-08 16:44:09 +00:00
auria
4340cccd9f Added support for displaying the same fonts in different sizes. Use smaller font for in-game messages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 02:03:39 +00:00
auria
2827533e70 Don't allow selecting ribbon grid filler items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:54:07 +00:00
auria
0efd96d8da Fixed '?' icons still appearing at times in ribbons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-07 00:36:38 +00:00
auria
26fc6bb627 Fixed screen cleanup method not being called under some circumstances
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 23:38:27 +00:00
auria
6b65eb0217 Applied other patch by Hilton Medeiros
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 19:45:16 +00:00
auria
bdd985c88a Can now unlock game modes too. Centralized a couple mode-related stuff to make code cleaner with new changes. Made challenges more robust, fixes a couple crashes that could happen because errors went undetected
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-05 01:28:23 +00:00
auria
6b95ca8ec3 Removed debug print that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:53:12 +00:00
auria
0fffb14b88 Fixed focus loss issue when using tabs in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 19:50:45 +00:00
auria
c17f4f0e07 forbid changing kart group after a player confirmed his selection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4911 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-03 00:48:31 +00:00
auria
90b95f6944 Fixed what happens when pressing escape on feature unlocked screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 23:40:20 +00:00
auria
d27e3d90c5 Show 'feature unlocked' screen when unlocking a feature. It's not yet complete : it doesn't really show what you unlocked, and you can't leave the screen properly (game crashes or hangs)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-03-01 20:17:31 +00:00
auria
5a32323c61 Modified 'setup new race' to skip kart selection (what use is this feature otherwise...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4864 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 20:10:43 +00:00
auria
c151c124cb Added utility methods to set badges in GUI; used them to fix missing green badge when selecting kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-26 19:21:53 +00:00
auria
10834134d4 Started adding more interesting stuff to end-of-3-strikes battle dialog (more polish to come)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-25 02:52:07 +00:00
auria
93c12ead08 Fixed const correctness issue with class ModalDialog + fixed behaviour when pressing ESC in race over dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-24 22:08:41 +00:00
auria
f0b59c19b7 Added a 'loading' screen, so that the game does not seem unresponsive when loading a big track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4810 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-23 01:00:21 +00:00
auria
9880ed1537 Disable the AI karts amount widget when selection 3 Strikes Battle, because we have no AI for this mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-18 01:07:21 +00:00
auria
ea4cd3263a Removed a couple debug prints that w ere not useful anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 23:32:37 +00:00
auria
b167931b9c Minor code style cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4727 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-15 16:12:50 +00:00
auria
219cc77c1e Handle better locked GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4703 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:53:16 +00:00
auria
6d4078d3c7 Fixed absolute vs relative paths for images, fixing lots of warnings printed on the terminal
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-13 01:44:07 +00:00
auria
410226503d Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 23:24:07 +00:00
auria
32d631ff00 use cycling images for GPs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 22:20:58 +00:00
auria
77c29ca276 Max number of rows in a ribbon grid is no more hardcoded, can now be specified ion XML.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 17:45:10 +00:00
auria
10116f628b Give some eye candy to the GP list in the tracks selection screen + clean code along the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4689 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-12 02:21:07 +00:00
auria
787a2839dd Fixed several FIXMEs in GUI code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:53:45 +00:00
auria
fc45605bf4 Improved comments a bit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 20:16:16 +00:00
auria
6c9239dc28 Fixed typos in GUI engine doc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 19:59:45 +00:00
hikerstk
328373289a 1) Moved access to world object from race_manager to static functions in
world.
2) Removed more dujplicated/unnecessary functions from race_manager
   (getPlayerKart, getTrack).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-02-11 07:11:52 +00:00