Commit Graph

683 Commits

Author SHA1 Message Date
auria
76374f0198 Shut up annoying warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:30:38 +00:00
auria
f3f58cc297 Fix challenges screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 01:10:06 +00:00
auria
1985d54536 Attempt to fix tab traversal in irrlicht 1.8
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-27 00:53:28 +00:00
auria
7377d6739e Add uniform back buttons everywhere in a subtle location
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-26 23:51:49 +00:00
auria
9306c5c7e6 Fixed scrolling test under irrlicht 1.8
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8062 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 19:31:03 +00:00
auria
c4660216fd Fixed text clipping issues (only if using irrlicht 1.8)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8059 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 15:37:52 +00:00
hikerstk
ff152bfeed Save number of times a message is displayed to the config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-25 03:20:21 +00:00
auria
4af41ee77a Fixed label scrolling code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 22:51:17 +00:00
hikerstk
ebda46f19a Removed time between consecutive scrolled test displays.
Added count of how often a message is being (fully) displayed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 21:28:50 +00:00
hikerstk
8f34aea2b4 Added support for horizontally scrolling text.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-24 21:06:11 +00:00
auria
1ba3e60baa nicer-looking tooltips
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 15:38:30 +00:00
hikerstk
fc5ddb2ad0 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8012 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-21 05:19:42 +00:00
auria
62c904c851 Improved hovering over tabs (no more messed up focus when mouse leaves)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 20:12:39 +00:00
auria
a078105aee Show tooltips when hovering options tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8002 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 19:49:55 +00:00
auria
2634dd6e74 Show tooltips on top
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 19:17:04 +00:00
auria
b55cafda36 Reorganize options in more screens, use 'accordion tabs' to fit everything in the available space, I *think* the result is good, feedback welcome
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-20 18:50:20 +00:00
auria
c0daa96282 Minor update to tabs widget, makes focus follow mouse in skin, looks nicer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7993 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-19 18:27:59 +00:00
auria
392bfe3e9c Fixed bug in scalable font, that was visible in the tooltip
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7990 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-19 18:14:15 +00:00
auria
b8d5763aca Add tooltip to explain what each GFX level does (as suggested in Trac) + remove NLS_ENABLED checks, with tinygettext translation is always available.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7988 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-03-18 16:50:22 +00:00
auria
749d63cfec Fix bubbles when used with RTL language
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-20 20:44:46 +00:00
auria
65a0722835 Fixed possible text overlap on bottom of bubbles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-18 02:58:48 +00:00
auria
8b9a9677fe Fixed some font centering issues during live switch between RTL and LTR languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-06 02:11:57 +00:00
auria
b62cf339cb Use irrlicht's 1.8 RTL support if 1.8 is the verison being used
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7630 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-05 20:47:09 +00:00
hikerstk
4d8b8e5dea Renamed ptr_vector to PtrVector so that is follows
our naming convention, also changed contentsVector
to m_contents_vector, and removed unused add method
(which is using an iterator, which would not work
when using aligned_arrays on windows anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7602 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 22:20:53 +00:00
auria
7f7cce4186 Fix potential issue with translations : I was changing the label in a button. In english it so happened that the second label was shorter than the first so it fit; but this is not the case in all translations. So when changing the button label, make sure the button is large enough to display the new string
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-03 00:52:42 +00:00
hikerstk
4ab6331ff4 Update to bullet-2.77.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 22:04:13 +00:00
auria
040ad4d692 Fix my ugly 'tab' hack in the string renderer so that the results are better in RTL languages
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-02-02 00:42:57 +00:00
auria
2abcee3f8f More cleanup and simplification in kart selection screen to make it less loaded
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 22:11:43 +00:00
auria
e9c036b957 Started implementing tweaks to multiplayer menus, which hopefully will make split-screen more user-friendly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-23 21:40:19 +00:00
auria
cf751ab11a Extend RTTI provider to not hardcode scaling of meshes + fix warnings when hovering locked karts + when hovering locked kart, display locked feature chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7463 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-17 02:58:32 +00:00
auria
6fa952766b Make abstract state manager more consistent; previously, some methods would always log, others never. Now use the logging level setting uniformly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7452 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 19:38:59 +00:00
hikerstk
485d6bc045 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 10:31:37 +00:00
auria
17a0f09296 Fixed a few more uses of atoi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7433 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-16 00:25:21 +00:00
auria
9dc6c082d3 Fixed compilation. Oops\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:56:14 +00:00
auria
a774bb8a9b Properly align text in bubbles when language is RTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 20:53:13 +00:00
xapantu
06903fdeb0 Enable alpha for the bottombar, it caused a glitch here (ok, maybe the problem is my graphic card/driver :/), just revert if there was a reason :) (like performance issue?)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 15:26:15 +00:00
auria
ec543ae213 Added the necessary code to handle switching language live at runtime (not yet accessible in a nice way from the user interface, this will need to come later)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 03:07:42 +00:00
auria
0ffb08e285 Added Dakal's bottom bar to the main menu, looks nice, makes the news message more visible, and also I'll probably add some more stuff there
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-15 02:25:59 +00:00
hikerstk
946526662a Added 'isVisible' method.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-13 06:00:19 +00:00
hikerstk
54b7d57d63 Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-04 04:35:35 +00:00
auria
8ddb9aee41 Removed more useless FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 21:18:52 +00:00
auria
d22ec956b6 Clean up deactivating spinners, removing a few FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:13:47 +00:00
auria
fdbafeb5ff More FIXME cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 19:06:45 +00:00
auria
7e04cb4f75 Implement a few long0misisng features in the layout manager, correcting FIXMEs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:43:26 +00:00
auria
04e08b78ad Remove a few unuseful FIXMEs, replace with appropriate documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-03 18:41:19 +00:00
auria
93503a8451 Better handle filler ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2011-01-01 23:49:46 +00:00
hikerstk
d78310c9e3 Made ListWidget::addItem to take const &; started to remove use of
m_index in addon_manager.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-29 05:43:10 +00:00
auria
03c6245e21 Added more copyright statements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-15 22:59:55 +00:00
hikerstk
970d261f4b Removed warning for duplicated characters, since they are now ordered properly
and not considered an error anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-13 11:31:20 +00:00
auria
4ec08502b2 Fixed small memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-12 00:59:56 +00:00
hikerstk
d0acfaae3c Fixed incorrect warnings when reading fonts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-10 06:20:12 +00:00
auria
fb86f84c3e Add debug checks to font class so that font conflicts are detected and reported
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 14:23:06 +00:00
hikerstk
af9f6d651e Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 05:49:30 +00:00
auria
3a149c5a78 Reduce font size for long GP names to avoid clipping (long translations can still cause clipping though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-12-09 02:06:44 +00:00
auria
9fe7bd21a0 Minor : gui messages shouldn't stay after starting game and exiting
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-26 23:57:55 +00:00
auria
507b9e5822 Fixed rare assertion failure
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6720 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-25 01:40:27 +00:00
auria
cb78ded2ed Tidy up logging + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-19 17:19:13 +00:00
auria
5bde7a572d Slightly simplify semantincs (and code) of dialog notification of events
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-13 23:35:25 +00:00
auria
fd28f792ab Fixed missing notification to dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-11-13 23:31:37 +00:00
auria
82214d0622 Fixed crash when deleting keyboard config + added assertions to detect more possible bugs in the future
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 23:13:18 +00:00
auria
9fa58cd856 Stomp on memory in dialog dtors to detect bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-27 23:02:03 +00:00
hikerstk
648d5a38d2 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-17 04:41:46 +00:00
xapantu
9451a488a1 Fix a crash when the kart which is focused in the kart selection screen is a deleted addon, it is a bit dirty, maybe there is a cleaner way ?
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-16 13:05:12 +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
auria
c1d7f610a0 Cleanly handle when RTT is missing instead of crashing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-10-10 14:41:55 +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
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
hikerstk
3bc2a8b93d Fixed VS compilation problem (log from integer value).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 04:46:57 +00:00
auria
a22c395f1f Fixed silly typo in Screen docs + shorten lines a bit while at it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6098 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-21 00:38:21 +00:00
auria
69feb27034 Simplified ribbon code by not invoking number of row estimation code for single-row ribbons...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:36:02 +00:00
auria
a17b78d5fc Tweaked formula used to determine best number of rows in dynamic ribbon. It now looks fine in all resolutions I tested. Hopefully the now rather complicated formula doesn't have unforseen issues...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 17:31:59 +00:00
hikerstk
2e48901c69 Updated VS project file, fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-20 14:44:18 +00:00
auria
874e365661 Improved dynamic ribbon algorithm to allocate a number of rows that will leave less empty space on higher resolutions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6068 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 19:01:55 +00:00
auria
734aa6e411 Suppressed unneeded warning from spinner widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6063 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-19 17:22:49 +00:00
auria
37901f7f39 Absolutely frivolous, but very cute, change : show icons of what is being loaded during the loading screen (sorry, couldn't help but waste time on this =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 23:09:02 +00:00
auria
848107faa1 Removed unneeded print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-18 18:23:36 +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
hikerstk
8c8d8de7f4 Improved support for karts without wheels (up to now Gnu had
invisible wheel models).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-16 12:19:00 +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
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
auria
fb8287fef0 Fixed broken ribbon labels
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:22:42 +00:00
auria
960dd16596 hopefully fixed shutdown crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:15:42 +00:00
auria
2891504fa3 Add back clipping to the font object, since lack of clipping messes up list widgets. I submitted a feature request with patch to the irrlicht devs instead, so hopefully in the future IGUIStaticText will have my patch apply and allow disabling clipping locally where needed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-14 00:03:30 +00:00
auria
40d3d2e5de Added new roundedbox widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 23:22:58 +00:00
auria
f97cec61ce Fixed the hard to click checkbox in a reasonably clean way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 02:07:51 +00:00
auria
141ce78156 Fixed excessive logging regression I accidentally introduced
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-13 00:25:54 +00:00
auria
a3b7179427 Prevent bubbles from shkrinking smaller than the initial size (which could be especially marked at lower framerates)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5972 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-12 15:44:58 +00:00
auria
599d0a806a Bye bye EvilTux, Welcome Konqi\!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:47:05 +00:00
auria
7a19068a5d Fixed another crash at exit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 20:17:41 +00:00
auria
5c0fba91f0 Init GUI as early as possible and show a loading screen during the first seconds when STK is loading
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 18:17:17 +00:00
auria
450517bb5c Fixed rare crash
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-11 16:49:46 +00:00
auria
a39d705b9a Added clarification to gui engine manual (xapantu was not able to make something work, thus I fix the docs :)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 18:57:13 +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
auria
963516e2fb Removed/fixed bogus/unneeded includes or forwards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-10 00:05:56 +00:00
auria
18b7bd5068 Improve the Widget class documentation and organization so that the generated Doxygen doc is actually useful, and so that we stop getting lost in this class
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-09 01:37:48 +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
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
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
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
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
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
cdea5f6a72 Removed the need to specify an empty label on buttons/labels when a label needs to be set programatically at runtime, this avoids empty strings appearing in translation catalog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-09-01 16:09:09 +00:00
auria
edc613ed10 Added license info regarding new font + removed debug prints
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5809 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-29 19:56:40 +00:00
auria
e79025b041 Fixed crash in font code, updated font loading code to allow splitting our huge XML file so that chinese can be in a separate file, switched to wqyMicroHei for chinese font (font not included in SVN because of size)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-29 19:28:57 +00:00
auria
045317ccd1 Fixed crash due to uninitialized variable in abstract top level container
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-28 01:02:13 +00:00
auria
8df52854fe Added way for GUI screens to receive all player actions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-26 00:08:10 +00:00
hikerstk
d6ab91d14d Fixed crash when adding new players, see bug 3052858.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5775 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-25 12:30:28 +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
auria
58e0671f9f Removed debug print accidentally committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 00:33:33 +00:00
auria
57b6375a85 Made invisible widgets non-triggerable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 00:32:03 +00:00
auria
580f36fd95 Added setVisible method to Widget. Unfortunately irrlicht allows hidden widgets to be navigated to so calling setVisible(false) doesn't disable widgets
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-24 00:15:10 +00:00
hikerstk
bae43d78df Very minor layout changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5758 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-21 13:21:21 +00:00
hikerstk
1b1de55a20 Added some debug code to inform of incorrect removal of widgets.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-21 13:18:24 +00:00
auria
ca63182f5c Added FIXMEs to annotate a minor set of bugs in the layout code that Joerg just stumbled upon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5756 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-18 23:59:05 +00:00
auria
eb52c1d4af Improved on previously committed GUI engine internals docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5755 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-18 01:38:18 +00:00
auria
8c578b19a4 Documented some GUI engine topics that are admittedly not trivial (thanks Joerg for showing me that ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5754 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-18 01:27:13 +00:00
mbjornstk
73c3ed302f Add missing include for typeid.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 01:05:41 +00:00
hikerstk
314cb2ec3f Updated VS project file, fixed compilation problem in layout_manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5749 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 01:01:46 +00:00
auria
e3fa74187d Added YET more files I forgot in earlier commits xD
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5748 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:54:39 +00:00
auria
4e48bbd66b Extracted the new common base for Screen and ModalDialog out of the temporary location where it was put in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5747 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:46:17 +00:00
auria
021dea1829 Reconciliated Screen and ModalDialog by extracting their common funcitonality into a common base class
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5746 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:39:53 +00:00
auria
d2399b76a6 Converted 'confirm resolution' dialog to use XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5744 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-16 00:10:09 +00:00
auria
b7fe74141e Converted the 'new player' dialog to use XML files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5742 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 23:51:34 +00:00
auria
f43d9d4d35 Ported race paused dialog to XML files + fixed many small things with dialogs-from-xml on the way
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5741 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 23:24:08 +00:00
auria
f03c8b94fe Fixed error in GUI engine doc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5740 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 22:23:11 +00:00
auria
975451c7ec Dialogs may now be specified in XML files. Ported the 'press a key' dialog to a XML file as a test and example
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 22:12:58 +00:00
auria
b1f7012cbd Moved layout code out of Widget and Screen classes; not only is it cleaner this way, it also paves the way for eventually making Dialog classes also use the XML layout code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 20:24:51 +00:00
hikerstk
e034082a2b 1) Moved calls to World::(un)pause from state_manager into
the menus. This simplifies the state manager (no more
   hidden side effects of pushScreen), less parameter
   to onGameStateChange, easier extend for new RaceResultGUI
   (which must not have calls to pause). Now the calls
   are done in the Screen base class (and can be disabled
   in the constructor).
2) Many cosmetic changes to make the code follow our
   coding standards.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5736 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-15 01:15:19 +00:00
hikerstk
a28ed20d9e Only cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5735 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-08-11 22:53:42 +00:00
hikerstk
2ad6b0a027 Renamed CGUIFont.{h,cpp} to scalable_font.{hc}pp, removed all
references to CGUIFont (so that the new mono-space-digits functions
can be used everywhere); some code cleanup. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-21 00:01:22 +00:00
hikerstk
8e48d227b8 Added support for mono-spaced digits (which makes tables with
numbers look better): all digits and the space character have
the same width.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-20 22:39:54 +00:00
hikerstk
03c6500265 Replaced tabs with spaces.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-19 03:36:59 +00:00
auria
b1c970684c Fixed warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-18 15:49:52 +00:00
hikerstk
86715b59c1 Updated VS project file, fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-07 23:51:15 +00:00
auria
862e5f6310 Minor update to new progress bar control : made non-focusable. Update Xcode project.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5662 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 22:26:17 +00:00
xapantu
ad9eb86671 Adding a progress bar to download addons.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-06 14:39:45 +00:00
auria
ada915c207 Fixed typo in Widget documentation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-07-04 19:54:33 +00:00
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
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
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
auria
81282e3464 Modified several screens that used absolute positions and sizes to use the full power of the layout managers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5558 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 01:29:10 +00:00
auria
b0b3faf53a Fixed focus navigations with missing widget IDs. For now up to 10 IDs may be missing and navigation will still work, I don't think we need more than 10
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-25 01:13:15 +00:00
auria
bef7ae34a8 Always give the mouse game master privileges, less confusing for players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:56:27 +00:00
auria
9bfbcc40c1 Fixed rendering of disabled tabs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5554 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:44:07 +00:00
auria
48e1f98209 Improved skin render when several players are selecting the same kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5553 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 18:40:44 +00:00
auria
a1ebd4fc36 Make a hack around irrlicht limitations even more hackish to correct a crash when a list widget is the first in the screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5544 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-24 00:45:39 +00:00
auria
b297ef72de Corrected a FIXME by moving a constant where it belongs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5525 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-19 01:10:41 +00:00
auria
11e3877945 Removed outdated FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-19 01:05:58 +00:00
auria
2f10e0177c Removed unnecessary FIXME
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-19 01:03:53 +00:00
auria
4afb71659f Modified music handling, fixing the music heard during GP lost/won
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5513 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-13 18:25:49 +00:00
auria
582db98e0f Fixed animated ribbon widgets to work more than once
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 23:48:38 +00:00
auria
5536b4a0b9 Removed debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5508 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-12 23:06:24 +00:00
auria
154a733725 Applied patch by Lilian Gimenez to correct input mode in dialogs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-10 23:45:14 +00:00
hikerstk
c6727bfc01 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-06-07 03:16:02 +00:00
auria
a2825c4b36 Added support for Hebrew (and, more generally, RTL languages). fribidi must be available and ENABLE_BIDI must be defined (however the autotools build system currently does not check for fribidi presence so if you build with autotools it will always be off)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 19:11:39 +00:00
auria
1bdca718cb Added GP lose animation (not yet shown when actually playing, for now click on the 'network' button to see it as usual)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5454 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-30 15:45:44 +00:00
auria
db52b6907d Fixed fallback to default skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5448 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 01:36:18 +00:00
auria
0f32d738b4 Fixed reference counting problems with skin
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-16 01:26:53 +00:00
auria
ed0064bcff Forbid changing resolution in-game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:51:29 +00:00
auria
5cddb8ffb6 Added support for selecting GUI skin through user interface; aded skins by Dakal as a proof it works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 18:10:55 +00:00
auria
1556b60bdc Removed irrlicht 1.6 support code, since we don't support building with irrlicht 1.6 anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-15 15:28:32 +00:00
auria
8bb6ca6ac6 Fixed left/right ribbon arrows
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 18:41:26 +00:00
auria
798c458ac5 More improvements to dynamica ribbon, fixing annoyance when items don't take all space allowed, fixing an empty space appearing in challenges screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 18:24:26 +00:00
auria
dbce446f81 Minor refactoring
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-08 17:47:12 +00:00
auria
6187f3a132 Fixed crash when backing to kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 17:31:57 +00:00
auria
bcc7b047b3 Made ribbon side arrows non-focusable, so that warp-around code does not erroneously pick them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 15:59:58 +00:00
auria
e0ed3291e0 Added basic input conflict reporting (conflicting bindings)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-07 01:06:03 +00:00
auria
16e3988ddd Another major update to the input configuration screen. There are now separate configurable keys for menu navigations. Conflictm detection was not implemented back yet; multiplayer gameplay seems broken too. To be continued
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 23:37:38 +00:00
auria
c5b50e5a5c Major update to input handling code to support our #1 feature request : menu navigation should not be tied to accelerate/brake/steer, there should be keys especially for menu navigation. Note that the code is not yet complete, namely you cannot configure the menu keys
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 18:56:55 +00:00
auria
abab119b6d Fixed wrong (potentially old code) that was returning an enum item from a method returning bool (and the compiler doesn't tell, stupid C++)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:41:36 +00:00
auria
0930521e6b Minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-05-03 17:40:00 +00:00
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