Commit Graph

2138 Commits

Author SHA1 Message Date
auria
2dd0a904b6 Improved buttons to have their size depend on text contents; made the 'enter' key trigger a PA_FIRE action
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 20:55:19 +00:00
auria
5c432893f3 Gracefully exit when closing window
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 16:28:55 +00:00
auria
c0322cac00 Added more documentation to the input screen, answering a few of our recurrent FAQs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 02:08:25 +00:00
auria
4768654113 Fixed subtle input issue (problem assigning mouse to the right player when keyboard config used is not the first)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 01:55:20 +00:00
auria
7b8fc1e592 Fixed compilation warnings, + warn if many keys are assigned to the same action in input settings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-02 01:46:29 +00:00
auria
9aba0daeb3 Config dir cleanup by Graham Harrias (thanks\!)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-01 17:01:32 +00:00
auria
f58bc8708b Fixed resolution change messing up kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 21:28:59 +00:00
auria
27decfcd2a Fixed hiding cursor (responsible was copy and paste)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 21:07:38 +00:00
auria
47db6ffa41 Fixed crash on reschange caused by very subtle pointer management issue; added various debug checks to make sure this doesn't happen again -.- those debug checks should have unnoticeable performance effect on a release build
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 20:59:56 +00:00
auria
75149a100c Karts in kkart selection screens are now animation aware and will display the center frame (though elephant still seems slightly off-center, not sure why)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:41:59 +00:00
auria
9859e0c4ad Fixed Hikerian mistake
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:40:59 +00:00
auria
955eab93d2 Fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:24:21 +00:00
auria
a6efeb5faa Improved capabilities of icon widget, and use that for track screenshot instead of locally duplicated code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 19:09:10 +00:00
auria
ebe6dc5521 Make track screenshot keep right aspect ratio, and clarify a bit existing aspect capbilities in icon widget
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:43:28 +00:00
auria
f5cec6b741 Fixed resolution switch related crashes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:30:13 +00:00
auria
60854b0d10 Fixed bug of game modes that don't reset properly
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:17:16 +00:00
auria
16c60413d5 Cleanup in ribbon code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4368 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:14:05 +00:00
auria
9faed0a64b Added support for multi-line ribbon labels (it doesn't look sexy atm, but fixes unreadable text issues)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:08:23 +00:00
auria
62ee51e383 Cleanup up a few font-related harcoded constants or duplicated code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4366 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 18:00:23 +00:00
auria
2b152135da Fixed rare focus issue in modal dialogs, and generally improved code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 17:43:06 +00:00
auria
8f2fc46211 Updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4364 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 17:09:58 +00:00
hikerstk
637aab7cf7 First version of improved track object support - not fully functional yet, but
should allow for movable and static track objects. Also fixes problems with
incorrect radius for spheres.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4362 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-12-30 00:08:20 +00:00
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