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
hikerstk
f80dc3a26b
Disabled debug spheres to be shown.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4225 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 22:57:57 +00:00
auria
bed690a4d1
Support for multiple keyboard players (but you can't add a 2nd keyboard through the GUI atm, it needs to be done in the config file)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4224 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-14 15:19:40 +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
f5129e7d04
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 22:11:15 +00:00
hikerstk
b6e2ca5be9
Added missing file from previous commit.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:22:29 +00:00
hikerstk
dd02e0726f
1) Added new AI, which is not yet too different from the current one.
...
2) AIs can now modify the kart name, which is used in printing profile results, to
include an AI identifiert.
3) NewAI and DefaultRobot are created un turns: first AI is DefaultRobot, then
NewAI, then Default...
4) Made specific mode in VS project file for irrlicht 1.6 (will be removed soon).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4213 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:19:33 +00:00
hikerstk
6d89dd7ae0
Use loadRobot instead of new DefaultRobot, so that the same function
...
is used to create all AI karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4212 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:15:12 +00:00
hikerstk
dfc170e448
Added (usually commented out) settings for a debug camera, which shows the track from
...
high above, which is useful for debugging AI behaviour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4211 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-08 12:13:50 +00:00
hikerstk
0bc8235c35
Bugfix: AI considered itself off track incorrectly.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4210 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-06 10:52:57 +00:00
hikerstk
f96fe73170
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4208 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-04 12:22:22 +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
6eb237325b
Fixed a crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 21:23:39 +00:00
auria
a5803e8c9d
dynamic cast strikes again
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 21:00:02 +00:00
auria
89b3c5162c
Improved kart rotation to target algorithm (fixing a FIXME)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4202 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 20:23:32 +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
ef77d9906b
Fixed a FIXME (memory leak) + removed a few annoying debug prints
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4200 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 19:45:44 +00:00
auria
f90833cb11
Removed useless line
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 19:12:27 +00:00
hikerstk
65168c9a8c
Fixed compilation problem.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-03 12:37:08 +00:00
auria
ccefaf28b0
Fixed in-game pause dialog + fixed a crash when using mouse when no keyboard/mouse player was set
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 02:05:04 +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
fa9a038f0a
Fixed dispatching of mouse clicks in kart selection screen
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4194 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-02 01:11:09 +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
32968a2454
Removed useless TODO
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-01 01:11:33 +00:00
auria
26d1917d31
Fixed that, when you brought up a dialog asking you to type text by pressing a button with the spacebar, a space was added into the text box
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-01 00:42:16 +00:00
auria
e4c8dede5c
Completely fixed list navigation (including problems that were there before focus code migration, yay\!)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4187 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-01 00:02:59 +00:00
auria
129c93f4bf
Fixed pressing space in text areas (/me should beware about static variables in header files...)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4186 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 23:35:54 +00:00
auria
c3419d8ddb
Improved 'space' interrupting type-a-name dialog when it's mapped to fire (in some cases it still doesn't work, didn't find why)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4185 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 23:14:52 +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
22a7479a59
Cleanup in input & GUI code
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 22:03:20 +00:00
auria
de492f69dc
Fixed list navigation and ribbon selection in input option screens
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4181 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 21:43:39 +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
4f7187467b
Corrected bug in multiplayer event dispatch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 17:05:58 +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
e169cdce88
Improved rotation animation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4175 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-31 00:43:05 +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
hikerstk
bd36bbff46
Removed compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-30 09:15:34 +00:00
auria
296d2b34db
Removed a few debug prints
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4172 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-30 00:53:03 +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
873fee4d1e
Fixed potential crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-30 00:09:32 +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
b2b5b095b2
Fixed unlit materials (i.e. nitro color no more depends on your orientation)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 21:00:11 +00:00
auria
9929dde3ac
Minor lighting code tweaks
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4166 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 20:46:16 +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
29355419e5
Fixed lighting issues (was caused by having two sets of ambient light : the scene one, and the sun one. Only one ambient light is needed.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 17:29:41 +00:00
auria
8e1ee567b5
Fixed ARGB/RGBA in xml loader
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4163 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 17:07:06 +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
b605c31345
Fixed flicker that sometimes occured when stopping model rotation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4159 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-29 00:16:37 +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
hikerstk
362fa27e58
Bugfix: Incorrectly used driveline width instead of half driveline width, which means
...
the AI did not consider itself off road when it actually was. This fixed at least
some of the AI problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4153 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-27 12:32:42 +00:00
auria
8ac714a8f6
Partial fix for lighting issues
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4152 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-26 00:03:23 +00:00
hikerstk
39cb1129d1
Bugfix: For the duration of one frame the position of the karts was incorrect
...
when a kart is about to cross the starting line.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-23 01:54:05 +00:00
hikerstk
31325de16c
Minor code cleanup.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4150 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-23 01:52:56 +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
mbjornstk
0d4e9f3655
Fix box sphere mapping in the cyan part and add water particle.
...
The water particle is not final, but at least this stops abusing other file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-21 00:24:49 +00:00
mbjornstk
31af4ba7c9
Add challenges.[ch]pp
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4144 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 21:25:55 +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
325b7aff3e
Updated camera start position for a nicer effect
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4137 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 14:06:41 +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
b21b0c230b
Increased the effect of changing the ambient light back to its original strength.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4135 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 12:33:47 +00:00
hikerstk
b5ac1c4028
1) Moved the sun position from the track file to the scene files.
...
2) Added support for setting the sun position and light and fog data
from the track exporter.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4134 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-20 05:15:55 +00:00
auria
f8fccf808f
Moved STK preferences on mac from old-fashioned unix style ~/.supertuxkart to the more correct ~/Library/Application Support. Should have been done long ago; Motivated by Joerg's modifications on Windows that reminded me of this, and also to have the ability to open 0.6 without screwing my 0.7 settings ;P
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4124 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-16 01:47:03 +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
hikerstk
645e79fe30
Made mipmaps the default for b3d files, independent of the mipmaps
...
flag setting in the file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-15 23:43:43 +00:00
auria
3b85e07f68
Fixed crash
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-15 22:11:02 +00:00
auria
512f97a63b
Fixed resolution switch
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 23:43:19 +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
20bd554894
Fixed another crash caused by lack or RTTI in irrLicht (What I wonder is just why on one else who had RTTI off saw this bug...)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4114 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 14:02:55 +00:00
hikerstk
c5c7f3d37c
Fixed 'invisible tree' bug (which was caused by the textures having u/v-wrap defined).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4113 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-13 12:11:32 +00:00
auria
3f1baf81b1
Removed another 'using namespace' from headers
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4112 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 23:46:24 +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
62f983c366
Removed another bogus include
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4110 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:54:09 +00:00
auria
ace9f372aa
Removed another bogus include
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4109 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:53:44 +00:00
auria
9b483d4370
Removed bogus include
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4108 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:53:18 +00:00
hikerstk
1eda85330a
Bugfix: race gui was not updated.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4107 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 22:17:36 +00:00
auria
5d4d66c90c
Removed 'MyGUIButton' nows that irrLicht added image scaling in their button
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4105 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 21:14:58 +00:00
auria
7e2461ab80
irrLicht 1.6 has RTTI off on Linux, causing crashes when using dynamic_cast. RTTI (with irrlicht classes) is now only used when explicitely requested (which the Xcode project does since RTTI is on on OS X)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4104 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 21:02:17 +00:00
hikerstk
c49d14a229
Textures can now be shared between tracks/karts directories and
...
the textures directory. Note that now data/textures takes
precedence over a kart directory, while previously textures from
tracks/karts were loaded first.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4103 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-12 11:06:01 +00:00
hikerstk
1b877c9a16
Removed usage of deprecated irrlicht IO interface, cleaned up usage
...
of different file archives (since irrlicht now supports removing paths
from a file archive).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4100 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-09 00:37:29 +00:00
hikerstk
a5b0b94cdc
STK should now compile without glut being installed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4097 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-07 05:20:05 +00:00
hikerstk
592b546211
Cosmetic change.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4096 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-07 05:01:57 +00:00
hikerstk
84df9cf1dc
More code cleanup for irr 1.6.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-07 04:58:22 +00:00
hikerstk
68981649b3
Ported to irrlicht 1.6: as default filesystems would ignore the path, resulting in incorrect
...
wheels being loaded for the karts (since atm all kart wheels have the same name).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4094 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-07 04:57:20 +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
auria
74c6dd557c
Added an implicit dependency that caused problems on some systems (fixed previous commit, it was plain wrong)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4091 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-06 17:03:08 +00:00
auria
b59b754ab3
Added an implicit dependency that caused problems on some systems
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-06 16:59:45 +00:00
mbjornstk
dd081a1b0b
Remove files that no longer exist.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 23:26:49 +00:00
auria
0688236e8d
Fixed crash when starting game
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 16:46:19 +00:00
auria
231807a410
Updated Xcode project for 1.6
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4086 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 16:43:40 +00:00
auria
6d6621f7a3
Fixed incorrect code (and warning)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 16:34:46 +00:00
hikerstk
4318c9a254
1) Added new files to project file.
...
2) Ported my_button to irr 1.6 (auria, please check ;) )
3) Defined IRR_SVN to the settings, so that on windows the default
is now compilation for irr 1.6 (which still has some minor
bugs at this stage).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4084 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 01:49:36 +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
f0c22d189e
Fixed typo.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 01:25:51 +00:00
hikerstk
0b07bb9906
Removed compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4081 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 01:23:45 +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
mbjornstk
efb9726d48
Add new files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4079 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-05 00:19:16 +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
mbjornstk
01c96a3165
Add new files (and move an old pair to keep alphabetic order).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4074 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-04 18:46:14 +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
5cd7fd2b45
Added support for quads that are incorrectly oriented (clockwise instead
...
of counterclockwise): quads are now turned, but a warning message is printed
(since the track exporter should not export this kind of quads).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4070 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-02 11:28:05 +00:00
hikerstk
35fb7ce90e
Added some support for clamping.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4059 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-28 12:25:21 +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
hikerstk
9ebdf59fcd
Bugfix: animated textures would cause an assert failure.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-27 23:17:13 +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
hikerstk
049ab14678
1) Fixed 'objects' import from blender script: objects are now
...
converted into the physics track model (previously they were
only shown, but karts could drive through them).
2) Cleaned start position code: arena and normal tracks now use
the same way and variables/functions to specify the start
positions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-24 14:26:03 +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
24af33b9b9
Fixed crash on exit + improved error handling so that this bug, if should it occur again, will at least trigger the debugger in an appropriate way and/or give an erorr message
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4043 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-23 00:48:23 +00:00
hikerstk
54cf897dc2
Fixed several inconsistencies between track exporter and STK; made
...
checkline properties a bit easier to set (added type="lap", instead
of the two properties type="check" lap="lap" previously).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-22 22:43:38 +00:00
auria
69c91b7f75
Added new icons by yeKcim (thanks\!) + updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4039 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-22 19:13:07 +00:00
hikerstk
31324e54e6
Added support for edge-line tag in graph files (which were already generated from the
...
track exporter, but not actually supported from STK).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-22 13:26:13 +00:00
hikerstk
66256f64cd
Bugfixes for debug track display.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-21 12:51:28 +00:00
hikerstk
2031e495b1
If a music file is not found, STK will not abort but continue.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 11:31:05 +00:00
hikerstk
7d4d50afe3
1) Made check structures activating more general (not only new-lap lines
...
can be activated now, and each check structure that changes the activation
state has one other check structure associated with it (instead of all
previously where all activtation state changing structures would activate
all (and only) new-lap structures.
2) Added support for activation toggle (instead of only switching on)
3) Renamed Checkline to CheckLine (and checline.?pp to check_line.?pp) to be
consistent with other names.
MAKE DISTCLEAN most likely necessary!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-17 02:54:48 +00:00
hikerstk
e53d080286
Added support for changing the ambient color in certain areas of a track.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4026 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-16 05:32:17 +00:00
auria
73ca693a15
Fixed leak in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4025 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-16 00:12:52 +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
0a84da2726
Applied Hendrik's patch:
...
Adding command line option --renderer.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4023 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 04:48:14 +00:00
hikerstk
6fd6063bcd
1) Bugfix: lap length was sometimes computed using the distance between consecutive
...
center-points of quads instead of the length of the current quad, resulting in
lap length being somewhat wrong.
2) Bugfix: the first quad would have a distance along track that's not 0.
3) New-lap lines can now be anywhere on the quad graph, as long as the line is
'on' a line dividing two consecutive quads.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-15 03:58:41 +00:00
hikerstk
d863d37c72
Bugfix: kart position were not computed correctly if crossing the start line for the
...
first time doesn't trigger a new lap (and therefore karts starting at lap -1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-10 03:25:42 +00:00
hikerstk
6aafb3e83c
Added support for different modes of a track (i.e. one track.xml file can have several
...
quads, graphs, and scene files). ATM there is no way of actually selecting a different more yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-09 13:32:08 +00:00
auria
2be54c50e4
Improved endianness detection to be fully done at runtime (eases cross-compilation to create fat binaries)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 17:26:16 +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
hikerstk
dc30a43f0b
Missing patch from previous commit: enable invisible drivelines
...
(i.e. not displayed in minimap).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 12:48:55 +00:00
hikerstk
b67695fbd0
Added support for invisible driveline-segments.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4011 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-08 03:57:19 +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
d891996797
Fixed crash in game dialogs + Fixed input sensing issue
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4008 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 17:27:14 +00:00
auria
27b4537cd2
Tweaks to event handling to fix keyboard navigation and dialogs (more work still needed)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4005 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 16:08:13 +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
748993e791
Change forgotten in previous commit
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:13:53 +00:00
auria
344194f20d
Improved dialog skin + skinability of some stuff
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4000 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 15:07:50 +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
4c2a826ab9
Fixed mouse focus issue in pause dialog
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3998 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-05 01:17:09 +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
hikerstk
02b7c4b155
Bugfix: a pointer to a temporary char array was used after the temporary char
...
was freed (const char* trans = irr::core::stringc(_(next->m_v.m_string)).c_str();
the stringc is deleted after the assignment, and trans then points to the freed
memory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 12:18:20 +00:00
hikerstk
9e2d3e6418
Bugfix: --screensize/-s option did not work anymore.
...
Thanks to Hendrik Dark for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:56:47 +00:00
hikerstk
227772aaff
Updated VS project file to include recently added files.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3992 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-04 03:45:09 +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
6356f9d8bd
Fixed absolute path in xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3989 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-03 15:09:41 +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
6c1dbb2999
Fixed events being blocked for in-game dialogs
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3983 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-02 00:25:17 +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
4200a2b054
Added missing include (broke compilation on some systems)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3978 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 21:05:29 +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
2d234f6fbb
Improved insert_values : 1) fixed bug 2) Allow for arbitrary number of parameters (well, as much as C++ allows without variadic templates)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3976 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:40:55 +00:00
auria
b615f71818
Improved error message so next time i get such error i'm not as clueless ;)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3975 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 20:38:54 +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
davemk
00fab4a1f6
revert to copying raycast info for wheel suspension.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3973 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-09-01 15:38:38 +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
d35635f1f6
Disabled clearing of the back buffer since it's unused and would only slow down rendering uselessly (this implies all tracks will need skydomes, but i think we agree we don't want the blue sky of death anyway)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 23:10:34 +00:00
mbjornstk
e8df3135c1
Change base colour of marks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 20:10:28 +00:00
auria
c3dfb2949f
Tweaked i18n code to at least handle latin-1 characters, potentially fixed compilation with gettext off
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3966 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:57:51 +00:00
auria
6dd131dd4e
Removed debug code (PS: the doubt I expressed in my previous commit are confirmed : the function I used to do the conversion only handles ASCII)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3965 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:19:25 +00:00
auria
458e1a19da
made text readable (i'm not really confident it works for everyone and all languages though)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 19:18:05 +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
hikerstk
06aea85a37
Updated files in VS project file.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3962 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 12:51:34 +00:00
auria
cb0679f93e
New GUI can now appear in other languages (unfortunately, non-ASCII characters don't show up. I need to find how to make gettext play fine with irrlicht strings...) Note that stuff in other files (namely track, GP names, challenges) are not convered by this commit, so after they're all converted to XML we need to implement this for them too.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 02:00:53 +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
9a6f3ef547
Improved extraction of strings from XML files (now with a python script that also supports comments to the translators; also, uses expat, which detected lots of errors through my XML files XD)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3959 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-30 01:28:46 +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
c42429b7d0
RTT can now handle rendering multiple sets of different objects at once (required for multiplayer kart selection)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3955 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 19:59:27 +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
1281cc5cfd
Reduced FOV in kart preview rendering so that they look more natural (less 'stretched')
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3949 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 17:23:00 +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
04f383386f
Inline documentation update
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3946 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-29 15:24:41 +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
f89cacbf5f
Improved vertical navigation in kart selection screen for players > 0
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3943 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 22:58:32 +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
b3f826cece
Fixed potential bug
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 19:00:17 +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
d3dddc901b
Temporarly show focus on spinners for players > 0
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3937 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 15:36:26 +00:00
auria
8b6bc9d9b5
Two players can now independently navigate the kart selection widget
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-28 15:16:57 +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
4c6bad1f84
Fixed a few skin glitches + fixed main focus with > 1 players on the same ribbon
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 19:00:10 +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
dde666bf9a
Added documentation & style cleanup & minor potential fixes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3931 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 16:14:24 +00:00
hikerstk
88abe09dd6
1) Added --kartdir directive, allowing loading of
...
additional karts from other directories.
2) Fixed potential bug (--track might have allowed you to
run a locked track)
3) --list-tracks and --list-karts can now keep on running
(before STK would be ended) - but they are slower now
4) Renamed all kartname.irrkart file to kart.xml. I realised too
late that those files had not been converted to xml yet.
It will be fixed later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3930 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 06:22:52 +00:00
hikerstk
af6e19e21d
Removed VS compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 03:52:31 +00:00
davemk
276f3575e4
use kart projection after rescue in 3-strikes-battle-mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:14:38 +00:00
davemk
454463a919
add hit to kart rescued in 3-strikes-battle mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:04:37 +00:00
davemk
9ab21ce5fe
speed up battle music when all opponents down to 1 life.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 02:00:59 +00:00
davemk
e06845c4af
remove bubble gum item from 3-strikes-battle mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 01:57:24 +00:00
davemk
39ec20c4b6
reintroduce separate start vector for 3-strikes-battle mode.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3924 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-27 01:53:51 +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
d6202cd493
Fixed weird sky in beach track
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 19:29:20 +00:00
auria
3dcf00c8d5
Somewhat fixed keyboard navigation with ribbons; kart selection still thinks that the player name is at the bottom though (because it's added latest)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 18:43:30 +00:00
auria
67b46fe67c
Fixed bug I introduced while fixing warnings
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 18:12:11 +00:00
auria
298ad53514
Fixed selection handling in combo ribbons. Unfotrunately I broke keyboard navigation to the ribbon in the process.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 17:58:05 +00:00
auria
4aaddbba4b
Improved grid/scrollable ribbons : arrows no more appear if there is room for everything to be shown, less [?] will be added if there is room for everything
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3918 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 16:59:11 +00:00
auria
edf6760b75
Cleanun in grid ribbons to allow for future visible improvements
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3917 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-26 16:06:38 +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
4ce732574a
1) Added support for new --trackdir command line parameter (which specifies a directory with more
...
tracks).
2) Challenges are now saved in its own file (not in user config file anymore).
3) The TRACKNAME.{irrtrack,scene,graph,quads} files are now called {track,scene,graph,quads}.xml
(so not containing the name of the track anymore). Beach and lighthouse tracks have been
updated.
4) Track exporter uses the new filenames above.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3915 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-25 11:58:25 +00:00
rforder
abbd8bd618
Improved documentation. Added code to stop() any currently playing character voice sample before playing a different sample for the same kart (prevents the kart from talking over itself, which sounds stupid).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3914 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 22:07:30 +00:00
davemk
fe6ed7b8f2
Fix 'auto-rescue' when not on rescue material
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3913 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-24 10:05:10 +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
cosmosninja
15902af969
Added XML support for the stk_config.data file and challenges; removed the LISP support.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3910 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 19:44:31 +00:00
hikerstk
c1d69986b0
1) Profile mode now works, and is now completely implemented
...
in ProfileWorld only (no more m_profile in UserConfig)
2) Added some more virtual functions to the modes to simply
code a bit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3909 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 15:42:58 +00:00
davemk
96e2c28799
Set contact point and max suspension when 1 wheel off ground
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3908 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-23 14:38:46 +00:00
rforder
0549c9c965
Added code for custom kart zipper sound
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 17:59:35 +00:00
rforder
e8dc5d4f4d
Improved location of custom SFX calls to avoid multiple calls being made simultaneously
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3906 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 16:45:24 +00:00
rforder
537c90dd41
Properly updates default horn position
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3905 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 02:29:27 +00:00
auria
bb0b353a0c
Updated Xcode project
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3903 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-22 00:13:24 +00:00
rforder
5f071a7759
Recorded some voice samples for Tux for testing, continuing to include sfx calls for special in game events.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3901 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-21 17:28:10 +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
rforder
bbfb30d4c5
Implemented voice event when attachment occurs.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3898 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 21:22:34 +00:00
rforder
1c6cb1115b
Writing in playCustomSFX calls where special kart sounds will be played (when shooting a weapon, when hitting another kart, etc.)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3897 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 20:21:21 +00:00
rforder
8da41850d3
Cleaning up new custom kart sfx code, better documentation, more readable.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 20:04:24 +00:00
rforder
97bbad19e7
Implementing easily extensible kart sfx system. See sfx_manager.hpp for sparse notes.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3895 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 18:29:59 +00:00
hikerstk
5aee938257
Bugfix: kart icons were not made permanent, resuling in the last kart
...
icon (wilber atm) to be deleted when a track was deleted, and in a 2nd
race the kart icon could not be displayed anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 12:30:34 +00:00
hikerstk
4c31a5548e
Fixed VS compiler warnings.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 04:29:50 +00:00
rforder
4f2f272d37
Implemented ability to add custom horn sounds to each kart in order to test code that will support character voices. Adding a horn-sound
...
tag to the .irrkart file that specifies the filename of the sound effect will ensure that sound effect will act as a horn for that kart
(see tux for an example). Added m_horn_sfx_file attribute to kart_properties class.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3892 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-20 03:44:32 +00:00
rforder
6c0f94190b
Created addSingleSfx() to the sfx_manager. Extends ability of sfx_manager to load custom sounds during run-time. Will be used for loading character voices. Replaced SFXType with int in several places and added bounds checking.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 18:34:49 +00:00
rforder
b5e25d1298
Fixes key-up propagation bug in menu system
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 17:48:02 +00:00
davemk
344f203d18
Add configurable parameter for zipper max speed
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 14:28:07 +00:00
davemk
779003befe
Make z-offset after rescue a configurable parameter (z-rescue-offset)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 14:07:15 +00:00
davemk
329124a3ba
oops. Include btkart.hpp to world.cpp so it compiles again.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 13:48:28 +00:00
davemk
7315b74865
initially project karts onto track from slightly higher
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 13:45:44 +00:00
davemk
361174536a
project karts with rest suspension in wheel direction
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 13:43:17 +00:00
hikerstk
63e16e3e8a
Removed scene.?pp (which didn't do much anyway except for
...
handling the cameras, which can as easily be handled by
player karts instead).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3883 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-19 04:03:25 +00:00
davemk
271a157c6c
use kart projection for rescue and initial simulation
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 11:05:40 +00:00
davemk
9b45fdc547
more cosmetic changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 10:59:21 +00:00
hikerstk
91e1f0d1ba
Added some AI debugging support: for AI hard the
...
point it is aiming at is displayed when compiled
with AI_DEBUG.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 10:37:05 +00:00
davemk
a5dc04c5e7
cosmetic changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3879 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-18 10:33:21 +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
davemk
d5b56f92ee
kart:reset zipper/look back key
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3877 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-17 13:39:38 +00:00
hikerstk
91613632ff
Removed VS compiler warning.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3876 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-17 09:58:39 +00:00
davemk
ae15f8a18e
make sure removeKart not called twice (eliminate+rescue)
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-17 07:50:21 +00:00
davemk
b35ec4b31f
separate zipper velocity change from suspension/turning impulses
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-17 07:19:14 +00:00
davemk
284599bb38
cosmetic changes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-17 06:55:44 +00:00
hikerstk
85324a7685
Fixed several memory leaks. Now the karts displayed in the kart
...
selection screen after a race was finished should be 'clean' (though
a 2nd race might still not work at this stage).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3872 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-17 00:24:47 +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
b7c8b77952
Improved input handling with modal dialogs & text boxes
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-16 19:36:52 +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
5b62ac9a59
Fixed ActivePlayer::getKart to actually return the correct kart.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-14 20:16:34 +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
8b3b8e3d28
Fix for no keyboard support when using --no-start-screen switch.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3859 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-14 17:05:52 +00:00
hikerstk
405ee12ca5
Fixed various memory leaks.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3857 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 23:26:38 +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
0fa6343023
Fixed VS compilation error and warnings (no hypotf).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 12:29:45 +00:00
davemk
ab5a57daff
remove excess side_impulse friction torque on karts
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 12:24:19 +00:00
davemk
c27a807e64
item intersection uses y_offset, hat initialised properly and some redundant code removed.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 12:12:22 +00:00
hikerstk
1033bfdf59
1) Only Track is now using the ItemManager.
...
2) Fixed several memory leaks in animation code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3849 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 11:12:26 +00:00
hikerstk
756335fc8b
Fixed incorrect scaling of mini map.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 10:58:42 +00:00
hikerstk
83e19ff817
Added a test version for slipsteam support. Note that besides
...
tweaking parameter (and potentially the implementation) there is
currently no graphical indication that you are slipstreaming,
or using a speed boost due to slipstreaming.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-13 04:58:37 +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
rforder
db1c53fa94
Moved the handling for the fire & rescue buttons in the kart selection menu out of the device manager & into the input manager (which makes more sense). No more setting the action to PA_FIRST to signify that it was handled internally (too hackish).
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 18:19:02 +00:00
hikerstk
209d679a56
'Prepared' bugfix (for once we have a in-race menu):
...
if a player presses esc. after finishing a race in a
GP, but before the race is finished, rerunRace() will
reset the scores and times to the previous values -
but in case of karts who haven't finished the race
that was undefined.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 02:55:53 +00:00
hikerstk
bd2c6c27b5
Bugfix for 2354315
: items explode over void.
...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-08-12 00:14:51 +00:00