Commit Graph

2424 Commits

Author SHA1 Message Date
hikerstk
211c6cdb4e Fixed translations on windows (esp. when non-translated strings are used).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 21:50:30 +00:00
hikerstk
9f1d5893d4 Added missing include for linux, fixed order of #includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4429 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:34:36 +00:00
auria
4a63edfd5e Fixed STUPID mistake in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:14:47 +00:00
auria
081b0a295d i18n improvements (no more need for iconv)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 03:12:35 +00:00
auria
a77d77f26a Translate strings in paused dialog
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-11 00:09:04 +00:00
hikerstk
cf0e69b48f Removed #include of kart and player_kart from world.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 23:12:29 +00:00
hikerstk
9eb8995399 Fixed compilation problem (no idea why it ever compiled on VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 22:50:13 +00:00
hikerstk
2f268dce77 Added some code to add a 'push to the side' when crashing into a kart.
This code is for now disabled in the stk_config.xml file, since it needs
changes to the physics to be better playable.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:16:32 +00:00
hikerstk
2c60045223 Disabled new AI so that we know at least to which AI bug reports apply to.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:12:07 +00:00
hikerstk
5967f75b20 Bugfix for animations with physics represenation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 12:10:39 +00:00
hikerstk
0c8465a913 Added iconv to library list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-10 11:57:11 +00:00
hikerstk
afeb1c95aa Bugfix: GP names were converted twice: once from the lisp reader, then again here.
Translating the name twice can result in a crash, since the gettext expects utf-8 (or
latin?) as input, but gets utf-16 in wchar, which later results in iconv not being able
to convert the utf-16 (which is supposed to be utf-8 which gettext returns if it can
translate things).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-09 14:13:53 +00:00
mbjornstk
0b09240e5e Make rands in direct hits use floats correctly (they were ints at the wrong
time, so results were 0.0f always) and limit minimal distance in non direct
hits (maybe should use other value, just a matter of testing).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 02:35:01 +00:00
auria
0f964187fe Deal with iconv prototype changing with versions (hopefully right this time)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:36:15 +00:00
auria
bba70f8c5a Deal with iconv prototype changing with versions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:30:43 +00:00
mbjornstk
9739d1e1b3 Make marks fade to transparent (not 100% sure), instead of white ghost.
Pretty much an exercise in guessing if things are premul or not, and what has
to be pure black or can be a more real dark grey. Maybe needs more changes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 01:09:14 +00:00
hikerstk
da2ef9b203 Fixed compilation under linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 00:57:21 +00:00
auria
11d864ae7c Attempt at using iconv. Fails miserably for me atm because gettext will only return latin-1 and not UTF-8 like I ask it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-08 00:23:31 +00:00
auria
f54b6c96a7 Fixed compilation under irrlicht 1.6
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4410 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:23:00 +00:00
auria
a91591b7c4 Fixed compile warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4408 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:05:43 +00:00
auria
dd9fedd810 Use texture clamping to enhance GUI look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4407 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 23:04:59 +00:00
auria
72c8240bfc Use the irrlicht 1.7 feature that enables smooth scaling in the GUI (ahhhh, my eyes =). A few known issues have been introduced, they will hopefully be fixed soonish.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4406 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 22:55:38 +00:00
hikerstk
81bb0ac8dc Fixed memory leaks due to missing destructor.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-07 01:14:46 +00:00
auria
b5ec0d717d Fixed a couple annoying bullet warnings
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-06 16:47:30 +00:00
hikerstk
e6296c1987 Fixed speedometer display for irrlicht 1.7 (no change for irr 1.6).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 11:31:10 +00:00
hikerstk
dcec9bafcf Added support for irrlicht 1.7.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 03:38:35 +00:00
hikerstk
d39b76f433 Applied Graham's 'reverse camera' patch, which changes to reverse camera when driving
backwards faster than a certain speed (defined in user config).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-05 01:13:53 +00:00
auria
f463c00dc7 Removed fixed TODO, updated comments
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:33:51 +00:00
auria
1a84cc65c7 Made the 'random' kart item not select an already taken kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:32:36 +00:00
auria
8fbb10598f Hardcoded constants cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:16:29 +00:00
auria
491bc9d1e9 The code that prevents 2 players from selecting the same kart should not prevent them from both selecting 'random'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 19:15:22 +00:00
auria
eacc02bcd8 Prevent 2 players from selecting the same kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4394 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:59:07 +00:00
auria
364dfcea2e Improved multi-focus look in kart selection screen
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:41:04 +00:00
auria
33e95fca6a Fixed reported bug with musical note placement in in-game music credits
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 18:05:56 +00:00
hikerstk
deff7613e1 Removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-04 02:53:37 +00:00
hikerstk
20ac0d3230 Removed VS compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@4390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2010-01-03 03:38:49 +00:00
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
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
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