Commit Graph

2675 Commits

Author SHA1 Message Date
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
12ec1f52df Got the props right this time, I hope
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4191 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-01 01:23:26 +00:00
auria
62f5bdc0f8 Added ignore property so that the temporary header used for strings doesn't annoy us
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4190 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-01 01:16:11 +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
1c198f22ad Added latest version of Xapantu's kart exporter, which adds support for
sounds.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4154 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-10-28 01:04:31 +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