Commit Graph

2216 Commits

Author SHA1 Message Date
hikerstk
e47cc19b85 Fixed VS compiler problems and warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-29 23:59:51 +00:00
mbjornstk
de968f2df2 Change from 8 to 7 stars (no symmetry) and make them dance up and down (tilt
that changes with time, like edge of coin that is stopping after falling).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-29 00:31:33 +00:00
auria
7bc47f2ffd Improved stars effect with fade in and fade out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4359 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-28 20:06:41 +00:00
auria
5e5f91247b Added 'starts rotating around head' effect for hit karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4358 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-28 19:37:59 +00:00
auria
2fb710f30b Implemented adding keyboard configs through the GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-28 18:13:24 +00:00
auria
df422703ac Much cleanup and documentation in input code, which was done on the way of fixing a bug that dealt with multiple and/or custom keyboard configs and menu navigation
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4355 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 19:12:44 +00:00
auria
2caccb8c6e Fixed input bug that occurred when going back in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 18:41:19 +00:00
auria
75d7e0afd1 Use orange font in pause dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 17:02:15 +00:00
auria
4ab27d4b00 Fixed a few text clipping issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 16:52:56 +00:00
auria
be081d92ce Improved dialog zoom-in effect with spinners
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 16:23:38 +00:00
auria
6c4bce0acf Fixed FIXME (and thus handle better scalable font in ribbons)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-27 16:15:08 +00:00
auria
71f9a6d44f Fixed explosion fade-out
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-24 02:58:50 +00:00
mbjornstk
2f3523cd52 Improve explosions. Fading still not working but needed.
Once fading works, maybe increase quantity for thicker start.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-24 01:00:47 +00:00
mbjornstk
5da301b8e1 Show final lap message, original patch by Stephan Hillebrand.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-23 16:58:10 +00:00
hikerstk
849659a29c Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-23 05:20:50 +00:00
auria
6c2f86e9b8 Fixed appending issue
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 22:05:24 +00:00
auria
7d1c82d73c Fixed a lot of translation crap related to XML, hacky challenge files, no GUI, etc...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 21:57:15 +00:00
auria
93e569c3a2 Fixed keyboard navigation bug when a dialog was shown
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:54:43 +00:00
auria
6127b2b4b3 Better documented previosu changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:25:08 +00:00
auria
b979bf556b Worked on a few input issues
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:18:22 +00:00
auria
72c2b7a021 Made explosions better-looking. Fade-out affector still seems buggy; at one point it worked, now no more
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 20:03:12 +00:00
auria
5434a1a376 Handle locked tracks gracefully
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:16:26 +00:00
auria
1571ae669e Fixed an (harmless) error message that was printed on the console
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:08:06 +00:00
auria
63db1de1d4 Debugged challenges : several challenge files were incorrect XML
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:03:26 +00:00
auria
d087c66647 Don't silently dismiss challenge errors, even though we expect many of them it's useful to see some of them
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:02:32 +00:00
auria
2d061606de Use clearer name for erroneous ribbon items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:01:33 +00:00
auria
d77ed9fdea Removed no more useful debug print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:01:03 +00:00
auria
d31e96f03c Removed annoying and useless print
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 19:00:26 +00:00
auria
290e4777f1 Minor identation fix
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 18:59:57 +00:00
auria
509ab5934f Started dealing with [?] squares in ribbons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-22 18:39:55 +00:00
auria
631ac7de5d Moving towards adding support for multiple keyboard configs through the GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:48:41 +00:00
auria
7703fa76ae Started adding back support for 3 strikes mode (which doesn't work since no arena was converted yet)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:25:12 +00:00
auria
a950d93332 Dialog cleanup; made end of track dialog usable without mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 19:09:07 +00:00
auria
542320a2e6 Fixed glitch with "selection bubble"
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-19 18:49:06 +00:00
mbjornstk
5fe41e5625 Run expand -t4 to convert tabs to spaces. No other whitespace fixes, but
there are still trailing spaces and lines with 5 spaces as indent (fix them
as the files are changed for other reasons). src/guiengine/CGUIFont.* and
src/bullet/ not processed to allow cleaner updates from upstream.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-18 00:36:35 +00:00
hikerstk
5a938b4bf9 Removed more tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:45:42 +00:00
hikerstk
3a81b033cd Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:42:50 +00:00
hikerstk
f8920355fe Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 23:38:47 +00:00
auria
5eac1154c2 When pressing escape to leave track info dialog, focus is now properly restored on previously selected track
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 22:18:14 +00:00
auria
e77fc3cb0c Fixed one aspect ratio problem (when using child_width/height properties and DynamicRibbon)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 22:06:23 +00:00
auria
a5278e6257 Use new badging facility to show the green check on selected karts, simplifying code and fixing bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 21:36:45 +00:00
hikerstk
9aba7a2b1e Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 02:44:09 +00:00
hikerstk
0ddcb9dc2c File missing in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 00:24:38 +00:00
hikerstk
d4c537c7e8 1) Added support for ignoring materials
2) Replaced tabs with spaces.
3) Removed unnecessary function parameter for loadTrackInfo.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-17 00:22:29 +00:00
hikerstk
de0e948c9a Simplified camera code somewhat, added support for final-camera, and made reverse
faster.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 21:37:33 +00:00
hikerstk
9b29581c4e Fixed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 01:44:16 +00:00
hikerstk
b65fbd8a23 Removed tabs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-16 01:00:15 +00:00
auria
5dfc5e0b02 Fixed feature unlocked screen leaving a light in the scene tree
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 03:06:49 +00:00
auria
8a2e507d93 Fixed glitches during zoom-in effect, caused by unsigned arithmetic
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 03:04:09 +00:00
auria
1690b0fedf Fixed other glitch (track dialog)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 02:48:59 +00:00
auria
8eacc7d8c7 Fixed one glitch (keyboard navigation), created another (track screenshot gone) =)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 02:34:27 +00:00
mbjornstk
a9bdacbe80 Try to enable fading (but seems to do nothing visible).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-15 01:29:38 +00:00
auria
ffc5d397e8 Fixed one of the glitches introduced in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 20:43:49 +00:00
auria
68ba369ff4 Lots of small fixes and cleanup; major change : totally bypass irrLicht's icon rendering in the GUI, which is insufficient for our needs. Use a new system that's much more flexible. Improved locking icon on the way. A few minor glitches introduced, to be fixed soon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 20:15:09 +00:00
hikerstk
29c1623f29 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 04:34:00 +00:00
hikerstk
907616f927 Fixed several typos/bugs in filenames.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 02:08:25 +00:00
hikerstk
77a5659dc0 Added new template, which is necessary for some compilers (e.g.
SunStudio).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 01:41:50 +00:00
hikerstk
1a13a5ccc8 Added <locale.h> include, which is necessary for certain compilers (e.g. SunStudio).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-14 01:40:54 +00:00
hikerstk
68ceea8619 Fixed time-trial mode - no more boxes will be added to the track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-10 02:10:19 +00:00
hikerstk
81eeb36edb Added a minimum speed karts need in order to use slipstreaming. Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-09 03:50:44 +00:00
hikerstk
f78baf0c82 Fixed memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-09 03:48:27 +00:00
hikerstk
9e133ac141 Bugfix: distance-from-start calculations could become inconsistent at places where two drivelines
merge together, resulting in kart-order changing more or less randomly.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-08 12:13:30 +00:00
hikerstk
e75cfe25ba Hopefully fixes crash happening when restarting races.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-08 00:52:53 +00:00
hikerstk
bf5f9bb050 1) Updated project file for latest changes.
2) Removed compiler warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-07 00:45:49 +00:00
mbjornstk
22d233b46c Wrap some lines with {} so g++ 4.3 does not abort.
For reference, and in case there is a better fix, the error reported was:
graphics/camera.cpp:124: error: jump to case label
graphics/camera.cpp:117: error:   crosses initialization of "const int y2"
graphics/camera.cpp:116: error:   crosses initialization of "const int x2"
graphics/camera.cpp:115: error:   crosses initialization of "const int y1"
graphics/camera.cpp:114: error:   crosses initialization of "const int x1"


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 21:03:59 +00:00
auria
363849fd24 When a player leaves, check if we're ready to start
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:42:50 +00:00
auria
11694b93a9 Prevent players that have confirmed a kart selection from leaving game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:36:15 +00:00
auria
958c107969 non-game-master players are now also prevented from altering race setup screens using mouse
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:29:35 +00:00
auria
e20f805e61 In multiplayer mode, players other than the game master should not be able to select stuff in race setup menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 19:22:57 +00:00
auria
51d6af8853 Minor naming cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:58:33 +00:00
auria
b83131fea2 Fixed glitch when selecting kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:47:56 +00:00
auria
edf2a43676 As suggested on the mailing list : 3-player-plit-screen should divide in 4 and use the 4th window to put stuff like minimap and players
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:35:58 +00:00
auria
ce83dccecf Fixed 4-player split-screen (Seems like Hiker loves ternary operators; but they made it totally unobvious that screen width was used to compute viewport y ;) )
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 18:17:10 +00:00
auria
3c67c88720 Decreased FOV in multiplayer mode, will look much less weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 17:56:41 +00:00
auria
306fd93338 Added sligh zoom-in effect for dialogs (effect is not perfect but better than nothing IMO)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 17:08:25 +00:00
auria
157d316fa5 Removed annoying prints
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 16:33:05 +00:00
auria
d58d42b27d Fixed input device association bug when starting game clicking and a gamepad is plugged
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4254 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 16:23:17 +00:00
auria
a5edabee75 Fixed input mode not properly reset when exiting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4253 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 16:06:39 +00:00
auria
1e4ede71ff Fixed focus orb problem when master player uses gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4252 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 15:48:04 +00:00
auria
957fc9281b A menu that uses animations can now choose not to throttle FPS to 35. This means credits and feature unlocked are now smoother
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 02:19:37 +00:00
auria
62f3ea1411 Now more different stuff comes out of the chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4250 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 02:05:45 +00:00
auria
8256e46ed3 Cleanup in the new code (remove model when we're done)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4249 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 01:41:02 +00:00
auria
a2357958f9 Now something comes out of the feature unlocked chest
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4248 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 01:30:39 +00:00
auria
1c623ec7b3 Updated 'feature unlocked' screen to use the new title font
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4247 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 00:10:44 +00:00
auria
c1f2f85cc0 Improved help menu for better readability
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4246 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-06 00:06:40 +00:00
auria
f3f9829336 Played with a shadow feature to the fonts; not used now, but leaving the code in just in case we ever want that (and it's sorta likely to happen); the code also doesn't hurt to stay there if unused
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:47:33 +00:00
auria
c1a20f86f3 Font size now depends on resolution (looks ugly for now because we still can't use smooth interpolation when scaling)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:34:22 +00:00
mbjornstk
6e8bf08830 Add references to CGUIFont.[ch]pp.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4241 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:28:54 +00:00
auria
d9f6abd511 Major and great font update : added support for scalable fonts (better not wait for them to implement it), and added a second more colourful font for titles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 23:15:15 +00:00
auria
3a8473e8c6 Added animated Wilber by Rudy & Xapantu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4237 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-05 15:17:32 +00:00
hikerstk
5b58714fff Revmoed support for irrlicht 1.5 (which doesn't have all functions we need anyway).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4236 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-04 01:09:40 +00:00
hikerstk
9f17650552 Bugfix: check_structures were reset before karts, which means that in the very first frame of a
restarted race incorrect checks would be triggered (e.g. causing a new lap to be counted).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4235 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-04 00:49:38 +00:00
hikerstk
29ddca4044 Bugfix: the circles representing kart in the minimap had an incorrect colour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4234 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-03 09:10:57 +00:00
auria
554cad19cb Fixed focus-related crashes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-01 20:12:13 +00:00
auria
584417910d Cleanup, mostly in race ending
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4232 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-01 19:49:11 +00:00
auria
8fe5779087 Fixed minor warning; fixed Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4231 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-30 13:32:33 +00:00
hikerstk
5773e5ccf9 Added missing initialisation of ambient light, which should fix dark tracks on
non-windows system (untested yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4230 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-30 13:30:32 +00:00
hikerstk
ed9bd38402 Some redesign of split screen to enable proper handling of
ambient light changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4229 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-29 13:04:57 +00:00
hikerstk
a7e32c44d0 Bugfix: using nitro while the speed is negative could cause a crash, since
the negative speed caused a huge number of prticles to be created (negative
signed int --> unsigned int).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4228 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-29 11:53:03 +00:00
hikerstk
ef53866460 Bugfix: debug code wasn't #ifdef'ed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4227 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-24 12:29:54 +00:00
hikerstk
a5a90be806 1) Started to add split screen (though not all parts of the race gui are displayed correctly yet).
2) The name of an AI kart will now only get the AI name added if it's profile mode (to prevent
   the name with AI name to be displayed in game)
3) Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4226 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-11-23 05:20:05 +00:00
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