auria
584417910d
Cleanup, mostly in race ending
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-01 19:49:11 +00:00
hikerstk
ed9bd38402
Some redesign of split screen to enable proper handling of
...
ambient light changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-29 13:04:57 +00:00
hikerstk
a5a90be806
1) Started to add split screen (though not all parts of the race gui are displayed correctly yet).
...
2) The name of an AI kart will now only get the AI name added if it's profile mode (to prevent
the name with AI name to be displayed in game)
3) Some code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-23 05:20:05 +00:00
auria
cb91674631
Started adding support for multiple keyboard players (does not work at kart selection screen atm)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 15:09:34 +00:00
auria
044754036f
Fixed bug with random kart icon & group switching
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 00:07:42 +00:00
auria
e276aad85f
More icon updates
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4219 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 00:04:47 +00:00
auria
b2af9653f4
Started adding new icons from OpenGameArt
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4218 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-13 23:20:11 +00:00
auria
ff0643a141
Fixed a few other potential crashes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4207 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 23:53:00 +00:00
auria
bed61da8a6
Fixed various FIXMEs by using a constant instead of hardcoding a value, + removed a bit of old code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 19:58:26 +00:00
auria
d27e5fa791
Fixed stupid crashes caused by dangling pointer *blush*
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:38:19 +00:00
auria
93f23e8c32
Fixed crash when validating choice twice for same player, fixed bug about undetected mouse clicks on player identity spinner
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:30:49 +00:00
auria
bc9f8ebf6c
Improved assignment of mouse to which player (a few known glitches when game master uses a gamepad, but getting better overall)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4193 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:04:05 +00:00
auria
729ccbc79b
Fixed keyboard navigation & text boxes, improved the visual clues that it's focused
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4184 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 23:06:58 +00:00
auria
f28379a9ff
Fixed tabs in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4183 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 22:20:36 +00:00
auria
8a3bcdaa03
Yay for another mammoth commit! Totally refactored focus handling code; ditched irrlicht code, completely switched to my own. Things are now much clearer. A few known glitches were introduced and should be corrected soon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 19:09:45 +00:00
auria
3053eba1f6
Fixed selections confused when switching kart group tab
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4178 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 00:59:52 +00:00
auria
28a14bd5c6
Minor cleanup over previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 00:47:28 +00:00
auria
27c5a59a25
Players quitting is now a bit better handled (selections shouldnt be messed up anymore) but hard to test since I only have a keyboard + a gamepad. Folks with lots of gamepads, testing please\!
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 00:45:59 +00:00
auria
a4bf6a4228
Clean up the way multiplayer selection is handled (doesn't behave any better for the moment as far as i can tell, but paves the way for future improvements)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4174 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 00:32:18 +00:00
auria
815954daad
More much needed cleanup and documentating in the kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4171 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-30 00:51:58 +00:00
auria
798b912bb7
Did some much needed cleanup and documentating in the kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-30 00:33:51 +00:00
auria
33914d22b0
Forbid players from changing their selected kart after confirming (while other players choose theirs)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-30 00:01:09 +00:00
auria
9d25d00fca
Prevent 2 players from selecting the same identity
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 18:30:29 +00:00
auria
80936f9b40
Added assertions to catch some tricky bugs (and even document the good state)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4162 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 01:01:29 +00:00
auria
9722842054
It is now detected when 2 players choose the same identity (but nothing is done yet)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4161 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 00:59:46 +00:00
auria
be2f2776b2
Fixed player ident tracking, work towards preventing 2 players from choosing the same identity
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4160 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 00:52:58 +00:00
auria
8158bc01b0
Added ear-candy to previous commit + made it easier to add sound effects in menus
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4158 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:57:10 +00:00
auria
31a8987e26
Improved support for multiplayer kart selection (fixed crash + added eye candy)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4157 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:40:46 +00:00
auria
b1f540e062
Improved support for multiplayer kart selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4156 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 23:04:38 +00:00
auria
fa7152b188
minor cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4155 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 22:27:11 +00:00
auria
410cb0fe54
More minor changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4148 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 23:00:12 +00:00
auria
1d64a45e79
Minor changes (nothing visible)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4147 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 22:51:23 +00:00
auria
018e6b3ba7
Fixed displaying unsolved challenges
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4143 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 21:14:13 +00:00
auria
5f52d47306
Started implementing challenges menu (for some reason, many challenge files are not found/loaded, didn't figure why yet)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4141 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 20:52:52 +00:00
auria
9604fa2b8c
'Setup new race' button in paused dialog now works
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4140 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:29:51 +00:00
auria
0f775b8a8c
More event propagation cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4139 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:25:14 +00:00
auria
584d203aa4
Fixed exiting a race & starting a new one in a cleaner way
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 18:10:46 +00:00
auria
8f4efd2a60
Exiting a race then starting a new one now works (now 100% clean, and I'm not 100% sure about memory mangement, but a step in the right direction)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4136 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 14:02:07 +00:00
hikerstk
4543f6ab5e
Ported the display of karts in the minimap to irr 1.6
...
(note that the speedometer display is also ported, but does
not work atm due to limitations of irr 1.6 ... or incorrect
usage ;) ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4120 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-15 23:51:41 +00:00
auria
10e039ba7e
Removed the CutScene adapter, the new event handling for Screen does not require that kind of thing anymore to combine 2D and 3D, and to use animations
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 19:14:17 +00:00
auria
d7c7861bd1
Removed many 'using namespace' from headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4111 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 23:43:14 +00:00
auria
0f14b098cd
Completely removed the IRR_SVN macro, makes it confusing for people trying to build STK from autotools. irrlicht version is now detected from irrLicht includes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4092 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-06 19:17:16 +00:00
hikerstk
93c931b912
1) Fixed VS compilation (no M_MPI_2 in VS).
...
2) Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4083 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 01:27:15 +00:00
hikerstk
4d6add9f4c
Port for irrlicht 1.6/svn version.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 01:23:10 +00:00
auria
c17cf14c72
Post-mammoth commit cleanup
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 00:07:08 +00:00
auria
1292e2a37f
Yay for another mammoth commitsvn rm src/states_screens/options_screen.hpp Major cleanup in screens event handling, so that I can look at my code without being ashamed ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 23:59:05 +00:00
auria
0166b4365b
Started implementing 'feature unlocked' cutscene
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 20:20:41 +00:00
auria
6f123202ce
Cutscene example now works
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4075 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 19:39:17 +00:00
auria
8b466a6b39
Working towards support for 'cutscenes' (nothing fancy, just a small animation when you finish a challenge, etc.). Navigation is there, though display is all messed up and I still need to figure out why. The network button in main menu is currently (and temporarily) used to test this
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4073 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 01:16:00 +00:00
hikerstk
52ba6057ed
Removed VS compiler warning ("not all paths return a value": compiler does
...
not understand the assert, but this rewrite avoids the warning anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-28 01:07:28 +00:00
auria
79a4b06f91
multiplayer kart selection screen : players other that player 0 can now come back from setting their names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4054 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 20:38:40 +00:00
auria
477773e3ed
Improved multiplayer kart selection. Now player can select his name properly, other players too - though atm only player 1 can go back.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4053 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 20:17:45 +00:00
auria
893c430cfc
Minor cleanup in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 19:48:10 +00:00
auria
8b9d4bd2e7
Cleaned up event propagation code a lot to stop using different contradictory conventions, and to be easily read
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 19:43:22 +00:00
auria
e0d66bf543
More work in the multiplayer kart selection screen. Now all players can reach their name (but maybe not return from there :P)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 19:06:14 +00:00
auria
64958b0edf
Fixed a few warnings and a TODO
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 18:04:33 +00:00
auria
dacf594076
tweaks to about menu
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4045 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-23 01:04:31 +00:00
auria
8fa21ab60d
Fixed crash when restarting race (it still doesn't work 100% right, for instance some values seem to be not reseted, but at least it no more crashes and I can handle this to hiker =P)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4044 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-23 00:52:47 +00:00
auria
73a925e3b6
Started implementing locking (follow-the-leader is now locked) + 3 strikes must not appear in single player
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4024 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 23:49:58 +00:00
hikerstk
0a5e7ba293
Bugfix: the 'circles' representing karts in minimap were not working anymore.
...
To auria: something's weired with the rtt - you are calling setRenderTarget
twice - but it looks like it's not working for the kart screen otherwise.
I've worked around so that at least the 2d rendering works as expected (with
a single call).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 12:50:52 +00:00
auria
e778c34078
Implemented viewing the options menu in-game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4010 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-06 18:50:41 +00:00
auria
5aa52c20ce
Implemented viewing the help menu in-game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4009 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-06 18:45:38 +00:00
auria
10b589b168
More work on in-game dialogs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4004 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:46:24 +00:00
auria
c9cbd546d4
Return to race and Exit race now both work in the paused dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3999 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:50:37 +00:00
auria
004c727d54
Further improved looks of pause dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:10:13 +00:00
auria
b5fc0fdf1a
Improved looks of pause dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:06:53 +00:00
auria
26170d94a7
More work on escape-menu in game (pause)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3991 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 02:03:47 +00:00
auria
6abe2523bc
Started implementing in-game pause dialog (not usable yet)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3987 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 01:50:13 +00:00
auria
a18c750e1b
Fixed a few bugs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3986 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 01:06:32 +00:00
hikerstk
86743991ae
Updated project file, removed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3985 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 02:08:24 +00:00
auria
3efcb92b74
Made end-of-race menu buttons do something (none actually works; @hiker: there seems to be crashes when trying to cleanup, this is your area
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3984 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:46:02 +00:00
auria
51ed985653
More improvements to end-of-race dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3982 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:20:38 +00:00
auria
2eef253158
Improved end-or-race dialog + backported a fix found there to track info dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3981 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:01:10 +00:00
auria
3ad53d1999
Fixed display issue in race results screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3980 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 22:15:17 +00:00
auria
5ff086d156
Fixed handling of wide strings in StringUtils::insertValues (the wide overlaod) + fixed aain assert import
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3979 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:18:07 +00:00
auria
d1cff1f1c4
More work on dialogs (race end dialog further re-implemented)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3977 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:02:31 +00:00
auria
22f6c6e008
First (rough) version of an end-of-race dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3974 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 18:11:26 +00:00
auria
9ad338fde6
Lap count widget now works
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3971 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-31 13:13:31 +00:00
auria
61b86879f8
Fixed kart spinner being 'empty' the second time (and subsequent)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 23:12:00 +00:00
auria
c3f0f7ab82
Massive conversion from std::string to stringw for all strings that need to be translated. Currently, translation is broken (strings i try to transalte appear as junk) -- since irrlicht GUI widgets all use wchar_t, using std::string in UTF-8 just didn't make it
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 18:21:59 +00:00
auria
b39414cf8e
Many more I18N clarifications, and fine-tuning of extracting strings from XML files
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3960 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 01:50:22 +00:00
auria
e655b6330b
Updated french translation so that I can test transaltion of menus eventually
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3958 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 00:00:15 +00:00
auria
79c34d17a5
Fixed resolution switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3956 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 20:31:46 +00:00
auria
a3ba4a5695
Cleanup over previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 19:07:00 +00:00
auria
432da8b070
Improved display of highscores. IMPORTANT: Kart name in highscores used to be saved as user-visible name and not internal name. This is wrong, the user name can change or be translated and we still expect it to work. I changed the highscore code to save the kart's ident and not translated name, but you will need to delete/correct your current highscore file if you want kart from highscores to be displayed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 18:59:25 +00:00
auria
b9e9af0ab5
Improved track info shown on track dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3952 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 18:29:09 +00:00
auria
870c470eab
Highscores are now displayed in the track screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3951 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 18:12:31 +00:00
auria
0db37d90fb
In kart screen, display user name and not internal name
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3950 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 17:28:33 +00:00
auria
ff2dd24ec6
Cleaned up render-to-texture code. It should be much more efficient for kart rendering, and also code should be easier to read. @Joerg: I think I didn't break your RTT bits but better check *blush*
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3948 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 17:09:03 +00:00
auria
c4eea1020f
Implemented 'random kart' (current limitation: random kart item is not always visible, especially if number of karts in category is even)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3947 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 15:55:21 +00:00
auria
e0acfe1ef6
Renamed RibbonGridWidget to DynamicRibbonWidget since it better reflects what it has become
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 15:18:48 +00:00
auria
11bb21770f
Replaced hardcoded number (maximum number of players) with a clean constant
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 00:41:45 +00:00
auria
4b19a059f0
Unselect a kart when a player elaves (doesn't work for player 0, but anyway I'm not sure how we'll handle the 'host' quitting)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 22:38:33 +00:00
auria
8574b97854
Implemented kart groups (still buggy for multiplayer kart selections)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 18:46:02 +00:00
auria
0f0cff5842
Fixed updating labels at kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3938 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 15:57:07 +00:00
auria
c27991f7b8
More work towards independant focus for players (breaking some of what i committed previously but i'm on the right path)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 20:17:59 +00:00
auria
916fa160b1
Some cleanup over previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 18:50:56 +00:00
auria
d9707351ea
First steps towards letting two different players choose their own kart
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 18:41:20 +00:00
auria
8417a50796
Fixed keyboard navigation on kart selection screen (still 1-p only though)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 20:05:51 +00:00
auria
452808838a
Fixed various warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3916 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 15:18:14 +00:00
hikerstk
96dc2a8fe2
Cleaned up StringUtils: used 'better' names (e.g. getPath()
...
instead of path()), and used our convention of using capitalization
for words (and not _). Started adding support for additional track
directories, but that's not working yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 05:56:53 +00:00
hikerstk
6318008c87
Restructured modes to be easier to inerhit from:
...
- cleanly split into constructor and init()
phase
- added new isRaceFinished() function
Some minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3900 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 13:05:52 +00:00
hikerstk
ef175e94d4
1) Added alpha version of profile-mode (which replaces if-statements
...
in world).
2) Moved camera management into race gui, so that the number of split screens
used can be adjusted (and not only indirect via number of player) - this
allows e.g. debug modes where you can see 4 AI karts at the same time,
for profile mode, ...
3) Code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 00:32:24 +00:00
hikerstk
184ba6269e
Bugfix: the circles for the karts on the minimap were not shown
...
when the game was started using the menu (instead of -N command
line option).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3878 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 09:41:53 +00:00
hikerstk
ce4d1b8000
Fixed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-17 00:19:55 +00:00
auria
91c04d564f
Improved music credit text displayed at the beginning of a race so it's not confused with track author
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3870 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-16 22:52:41 +00:00
auria
a2e93a9b2c
Don't show music desc when music is off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-16 20:55:06 +00:00
auria
600ac7ebf5
Fixed backspace in new player dialog dismissing the dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-16 19:25:15 +00:00
rforder
47cfe64301
More cleanup. Replaced StateManager::addActivePlayer(PlayerProfile *) with StateManager::createActivePlayer(PlayerProfile *, InputDevice *) . This will ensure that in the future no active players will accidentally be added without an associated device and also removes some redundant code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-14 17:36:47 +00:00
rforder
7a84273ec5
Cleaning up kart selection. Assigns karts correctly in multiplayer. included some null pointer and bounds checks that were causing some
...
crashes, etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3856 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 22:53:24 +00:00
rforder
3119dec5c2
temporary work around for multiplayer kart selection
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 21:58:55 +00:00
rforder
808aa8bfea
More cleanup in the kart selection gui & input code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 18:39:18 +00:00
rforder
7db3295936
Moved various function calls involved in the initialization of the kart selection screen from different places in the code into the "init"
...
section of the kart selection call back. This will prevent some problems that were occuring when returning to the kart select screen
from the track select screen (and it just makes more sense to find them there). Renamed playerPressedRescue and firePressedOnNewDevice
to playerQuit and playerJoin respectively, to more accurately describe the behavior of the functions. Removed the now superfluous
setPlayer0Device function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3853 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 17:38:01 +00:00
hikerstk
2b5a273b95
Renamed RaceManager::getKartName to getKartIdent, since this is was the function actually does :)
...
(prevents us printing the id instead of the name somewhere).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3846 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 04:53:51 +00:00
rforder
3c7e489698
Still tweaking kart selection menu input & menu input in general.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 01:48:15 +00:00
rforder
f3cab7c2b3
Cleaning up multi-player handling in the kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 19:04:01 +00:00
auria
72c17d391b
Improvements to input actions handling in GUI, implemented selection of other game modes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3829 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-11 00:55:48 +00:00
rforder
aee48faca8
Updated input configuration GUI to work correctly with recent changes to the input system.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 18:12:35 +00:00
rforder
3ef3c67213
Fix problem with DeviceConfig::getBindingAsString(), input config gui works again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-09 17:05:41 +00:00
rforder
f12463b4c9
Fixed temporarily broken keyboard support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 20:13:22 +00:00
rforder
f3e3206b26
More cleanup for the input system. Removed a lot of functions from InputDevice that won't be used there anymore.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-06 19:05:26 +00:00
hikerstk
6bed41add5
Bugfix: removed debug/test code.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-05 12:58:08 +00:00
hikerstk
c64608eec7
Added fixes to STK to work with current irrlicht SVN. All changes
...
are in #ifdef IRR_SVN - and at this stage linking fails for atm unknown
reasons. No changes to irrlicht 1.5 compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-05 12:45:11 +00:00
auria
432b1598c3
Fixed AI kart count widgets to provide correct in game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3794 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 19:08:11 +00:00
auria
1653ae14d7
Fixed player identity not changeable by improving event handling in the GUI
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 18:53:50 +00:00
auria
70f74f7142
fixed crashes with command line arguments
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-02 17:56:59 +00:00
auria
4c3713789f
Can now choose which track to play into in the GUI + sow proper screenshots and track names
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-31 01:34:06 +00:00
hikerstk
a0102fcc0e
Fixed half-transparent icons in race gui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 10:20:11 +00:00
hikerstk
89b2eea124
Added first version of track mini map to race gui.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 02:40:30 +00:00
auria
519dc6426d
Made Tux appear first in the kart choice and be selected by defult to be consistent with shown model
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 01:55:58 +00:00
auria
e252619e6b
Misc small improvements to player management and kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-30 01:29:57 +00:00
hikerstk
368604f379
Added speedometer.
...
NOTE: to use the speedometer, a patched version of irrlicht is needed. The replacement
files are included here, we hope that the necessary functions will be included in the
next irrlicht release (STK will still compile without a patched irrlicht version,
but not display the speedometer).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-27 11:56:09 +00:00
auria
d1b5f001cb
Fixed back warnings (don't remove them this time hiker ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-21 01:35:18 +00:00
hikerstk
d8b212aa44
1) Fixed render-to-texture bug (which resulted in black background instead of
...
transparent one for the kart selection screen and mini map).
2) Added very first version of minimap (scale is wrong, no kart display yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-20 12:35:34 +00:00
auria
34abb79d40
Fixed wrong includes (why was I able to compile it and MiniBjorn too??? scary)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 19:50:20 +00:00
auria
b63935ee83
How many files can I forget in a commit?
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-19 00:51:14 +00:00
auria
9016d02b7e
More mammoth cleanup in GUI code. Modal dialogs are now each is a separate file, and are in the now STK-specific paackage, not in the generic engine
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 18:13:42 +00:00
auria
85266dfe10
Started mammoth cleanup of GUI code. Separated the generic GUI engine and the STK-specific bits (still work to do on this side)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3764 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-07-18 17:48:36 +00:00