Commit Graph

1797 Commits

Author SHA1 Message Date
auria
acab33bc67 trying to make gamepad-GUI navigation work even when axes are pushed in the negative direction
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3354 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:36:57 +00:00
auria
b5f7ac87ce improved path flexibility in graphics files (can now access textures from data/textures too, will be useful in help to show weapons icons, etc.)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:33:37 +00:00
auria
b43fefd68c added missing include
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:21:35 +00:00
auria
89f5994028 attempt at fixing crash when navigating menus with gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:15:34 +00:00
auria
89675045f1 fixed compiler warning + removed unused variable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:12:38 +00:00
auria
ef9206b569 attempt at menu navigation from gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 23:06:12 +00:00
auria
59ba8f1e44 fixed bug in menus when hitting escape to go back to the previous menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3348 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 18:59:42 +00:00
auria
325fe78fae removed unused option
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 17:33:20 +00:00
hikerstk
4418ac0bf8 Added support for alpha blending.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-04 03:12:12 +00:00
auria
054b656701 the difficulty setting in the race setup menu is now taken into consideration
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-02 00:30:09 +00:00
auria
199baee176 yet more cleanup in menu callbacks (now the code should be much less messy)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-02 00:09:55 +00:00
auria
017e004985 more cleanup in menu callbacks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-02 00:03:15 +00:00
auria
bc6caced03 much clean-up in menu event callbacks
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 23:46:30 +00:00
auria
b2202d0a0f refined the option menu's skeleton
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 20:37:34 +00:00
auria
1bd89aa969 starting to introduce options menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 19:48:42 +00:00
mbjornstk
91c3b49eec Experiments in kart drifting and stopping, please test to decide.
Added penalization to drifting, so it reduces engine power and players
stop abusing it (AIs would need the same limit).
Added logic to engange full brakes so the kart can be stopped if there
is no power applied and the speed is low.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 18:02:07 +00:00
hikerstk
aca8bb39c7 Renaved MovingPhysics to PhysicalObject.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3338 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 01:30:10 +00:00
hikerstk
30de5e36f8 Removed callback manager, callbacks are not needed the way they were
with plib, and the track is now updating its animated textures and
physical objects.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3337 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 00:55:20 +00:00
hikerstk
0681523762 Fixed crash (assertion failure in btAcos).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3336 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-04-01 00:44:47 +00:00
hikerstk
4ccd7662ef 1) Added support for animated textures.
2) Removed static_ssg source files.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 23:45:20 +00:00
auria
6da2c08e99 removed a few debug prints now that it works
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 21:04:44 +00:00
auria
71f99430c1 more attempts at fixing gamepad buttons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 20:49:51 +00:00
auria
721348c2ce added debug check to help minibjorn find the cause of his issues with gamepad
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3332 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 20:42:32 +00:00
auria
43ed6ea083 fixed bug related to axes vs buttons
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3331 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 20:33:44 +00:00
mbjornstk
4eadddd8ab Small logic changes to the FPS reporting, only update if FPS>1. Still disabled,
but at least nobody would say there is a bug like min FPS being 999.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 18:04:04 +00:00
auria
d2ecdcafff updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 16:03:12 +00:00
auria
b08c2045d0 added default bindings for gamepad buttons + other minor fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 16:01:42 +00:00
auria
ac211ab6de made input config file valid XML by adding a global container tag
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 15:14:23 +00:00
hikerstk
4da63bbe90 Removed warnings about missing new lines at end of file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 03:15:41 +00:00
hikerstk
f860816241 1) Added support for nested tags to XMLNode.
2) Made all xml files well formed.
3) Minor code cleanups.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-31 02:52:01 +00:00
mbjornstk
3f4e171872 Hacky FPS reporting (look for lastFPS to see the code involved). It is off by
default, with #if 0, but this way anybody can enable it. When we get "on game"
text, speed, etc it must be moved to the right place (and better code, the
chain of "->" is pretty ugly).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 18:09:33 +00:00
auria
a32dd4c5aa only write config file when needed + other cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:42:12 +00:00
auria
ac8192e53f some cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:23:54 +00:00
auria
5b50990c3e removed debug checks that are no more needed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:22:53 +00:00
auria
5ca3f169ca more gamepad fixes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:21:43 +00:00
auria
9c727717aa improved somewhat joystick loading from config, and added debug logging to help find what's wrong with minibjorn's
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:15:52 +00:00
auria
7fe245040a added warning when config file is not read
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 01:02:54 +00:00
auria
15e2386398 attempt at saving and loading gamepad configs to/from config files. support for multiple gamepads is theorically possible though configs can only be changed by editing the config file. joystick users will need to test and report (and help me) since i can't go much farther than that
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 00:58:12 +00:00
auria
06cfbc2aeb keyboards will now read their config from file (only default keyboard, support for multiple configs to come later)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-30 00:19:24 +00:00
auria
51231429e1 started writing new XML config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 23:37:21 +00:00
auria
9f9f711070 trying to fix elusive build errors or Arthur's and Minibjorns' computers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 22:12:44 +00:00
auria
81d860a1ab improved joystick code again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 18:43:39 +00:00
auria
174a753997 restored more gamepad code (hopefully cleaner but not tested)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 16:15:17 +00:00
auria
34f8e281d7 bringing gamepad input a bit more in. help me with testing please - i can somewhat fake gamepad input with some utility but it's not too handy
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 15:51:55 +00:00
hikerstk
13e8e2faf9 1) Changed transparency mode to use ..._REF material, which avoids the necessity
of additional changes to avoid issues with Z buffer sorting (and it is faster, too)
2) Added support for sphere maps.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-29 13:24:54 +00:00
hikerstk
591d997670 Bugfix: beach track would crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-27 12:34:52 +00:00
hikerstk
247914b566 1) Support for transparency added (mainly lighthouse track).
2) More cleanup, tests, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-26 23:31:00 +00:00
hikerstk
f8e05cdbd2 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-24 00:18:12 +00:00
hikerstk
c14c06e830 1) First version of rubber band (to do: rubber bands are sometimes not visible)
2) Code cleanup.
3) Initial support for special water nodes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 23:50:50 +00:00
mbjornstk
c8e05cf0dd Updates so makefiles compile again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 20:35:53 +00:00
auria
bcd8287033 brought back static keypress detection (mostly F-keys)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 19:41:14 +00:00
auria
38ff0a3d46 bringing back some joystick code (can't test since i don't own one XD I will need help on this probably)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 19:09:16 +00:00
auria
10eadc6090 some cleanup over previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3295 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 18:46:35 +00:00
auria
098ce5b32e Introducing the new DeviceManager input API...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 18:38:06 +00:00
auria
b160406dd4 started reconstructing input...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 16:06:48 +00:00
auria
d0777369ea Tearing input apart : the current input module plain won't cut it for our needs. It works per-player, we now want it per-device. It also did messy stuff like like using a hardcoded variable for each player instead of passing playing ID as parameter, etc. So I'm tearing it apart. Consequence for now : only keyboard and mouse work, and it's not configurable, and it's not loaded from config files. More to come, obviously...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 16:00:47 +00:00
auria
e7905e0811 started input module by splitting sdldrv in more logical parts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-23 14:55:23 +00:00
auria
a357cea512 updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-21 17:39:43 +00:00
mbjornstk
65fae4e978 The toIrrVector in this code block converts coordinates systems, so Y
and Z axis must be swaped too. Currently and until further notice:
Bullet and Blender use Y forward, Z up.
         Irrlicht uses Y up,      Z forward.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 18:18:56 +00:00
auria
35a157fd74 fixed tabs introduced by Robert's patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 15:25:20 +00:00
auria
b02992455f commited Robert's menu stack patch
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 15:24:15 +00:00
auria
bd56ada2a4 removed debug code that should not have been commited (again)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 01:53:28 +00:00
auria
e9b4109c9b kart selection screen is now shown when you press new game, and a (black) model preview appears
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 01:52:35 +00:00
auria
a6f6c3d6ab replacement numerical constants with proper SDL key names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-19 01:18:33 +00:00
hikerstk
a8b1598683 Improved wheel steering rotation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-18 04:54:42 +00:00
mbjornstk
3f633972e2 Update file list so autoconf can create a working Makefile.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3276 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-18 02:40:11 +00:00
hikerstk
9bc24c6a4e 1) Added support for sky-domes (this needs to be nicer, this is
only a proof of concept (sky boxes are wip).
2) Started work on explosions using the particle engine.
3) Removed plunger when the rubber band snaps.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 02:52:58 +00:00
hikerstk
11b35c3fa9 Bugfix: detecing '.' as data root didn't work anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3273 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 02:19:11 +00:00
auria
a831204696 Escape can now be used in-game to abort the game. It however does not clean-up the irrLucht scene properly : hiker, this is for you ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 00:25:04 +00:00
auria
3eb1ed09b5 escape and quit now work again
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 00:19:52 +00:00
auria
59d55bc324 some cleanup - removed a few warnings, + started input refactor : input events really have no reason to go through a menu class when in-game. Starting to rework the code so they're disptached directly to the right location
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-17 00:01:56 +00:00
auria
a7295bde70 some cleanup - removed a few warnings, + started input refactor : input events really have no reason to go through a menu class when in-game. Starting to rework the code so they're disptached directly to the right location
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 23:52:34 +00:00
auria
73d8aa063e you can now start a game from within the GUI! No matter where you click, it will always start in beach with hard settings, Tux and 1 kart only though
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 18:02:45 +00:00
auria
87a726ff74 The GUI will now react to clicks, so you can navigate it somewhat. Note that the event callback function provided is mainly a test one; it should eventually be replaced with something better organized
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 17:27:05 +00:00
hikerstk
c3ad0b9bed Most attachments (except tinytux, and therefore rescue general) work now.
More code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 05:27:28 +00:00
hikerstk
f5d9330e77 Hide details about ambient light in irr_driver.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 01:45:49 +00:00
hikerstk
41020d56ac Fixed lighting issues by adding ambient lights, and cleaned up more code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-16 01:23:23 +00:00
auria
e3fdeaaa8c GUI will now react to user input (though menu navigation is not yet in so even though you can see it got the click nothing will happen)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 19:26:12 +00:00
hikerstk
e158423562 Updated VS project file, and fixed several compilation problems.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 13:22:28 +00:00
auria
f5ced788ac Game menu now shows up :) Input is not yet handled, so not yet usable. Some dummy placeholder datafiles included for the sake of having something testable
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-15 01:34:21 +00:00
auria
c3f168bd3d fixed input, which wwas broken when introducing GUI
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3260 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 22:35:00 +00:00
auria
61a26d9d44 removed debug code that should not have gone in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3259 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 00:27:21 +00:00
auria
031b4b4a81 removed debug code that should not have gone in
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3258 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 00:26:18 +00:00
auria
f69086893e i think i broke game input in my previous commit. i'm trying to limit the damage here... don't think i got it right yet
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3257 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-14 00:21:40 +00:00
auria
4acc6fc7c8 first introduction of new GUI code. It does *not* work, consider this a backup (and the removal of the old UI)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 13:50:24 +00:00
hikerstk
4a85118dbd Removed many warnings, mostly caused by texture that were not found.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3255 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 08:32:19 +00:00
hikerstk
ac00d6e1ea Avoid crash if model is missing.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3251 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-13 01:26:13 +00:00
hikerstk
921d9a34d5 Added more textures (by putting them for now in the same directory as the
model), fixed detection of terrain (e.g. triggering rescue when trying to
drive on water).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3245 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 23:35:15 +00:00
auria
ef3f73ad0b updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3244 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 15:59:29 +00:00
hikerstk
282c849af2 Made the time being displayed in white.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3243 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 05:24:11 +00:00
hikerstk
d2b45f0761 Converted DomesticManners to an irrlicht font, more cleanup.
Time is now displayed using the new font.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3242 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 05:21:13 +00:00
hikerstk
8a60edf241 Moved file manager to io subdir, made irrlicht compilation default,
started removing #ifdefs HAVE_IRRLICHT.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3239 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 03:49:31 +00:00
hikerstk
01a9f73b54 Started adding powerup functionality to irrlicht port.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3223 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-12 00:57:00 +00:00
hikerstk
511be41e70 Start adding support for physical objects (e.g. road cone).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3221 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-11 05:10:56 +00:00
hikerstk
2a242973b1 Configuration and highscore files on windows are now stored in
$APPDATA/supertuxkart (instead of .). This avoids problems with
losing configuration and highscores when uninstalling the game
(e.g. while installing a newer version).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3220 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-11 02:08:35 +00:00
auria
0c725aa9fe updated STK build system to work with irrlicht on mac. nothing should be broken on other systems hopefully
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3215 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-05 21:05:26 +00:00
hikerstk
ebb7c0b4e8 Updated makefile to support irrlicht (should have been part of commit
r3210).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-05 04:32:45 +00:00
mbjornstk
210fe11806 More EOL prop setting and fixing of files with mixed EOLs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3206 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-03-01 00:46:47 +00:00
mbjornstk
fc46307f54 Fixing all remaining "executable" flags.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 02:54:25 +00:00
hikerstk
7dfda9e304 Minor bugfixes for linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3204 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 01:32:09 +00:00
hikerstk
62bc9990ca Irrlicht only: Added preliminary support for reading materials.xml files
(though the information is not used atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3203 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-27 00:15:09 +00:00
hikerstk
253f495021 Irrlicht only: added support for height computation for items
(and other models loaded for a track), items now do rotate
and can be collected (though no icons are displayed yet,
nor do attachments work).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3196 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-25 13:14:27 +00:00
auria
a9b0a695d4 updated Xcode project for irrLicht + fixed compilation warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3195 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-24 00:03:38 +00:00
hikerstk
b674f3dbc2 Applied MiniBjorn 'more random explosion' patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3192 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-22 23:39:59 +00:00
hikerstk
d55167930e Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-20 01:48:48 +00:00
hikerstk
1cbed5cfe2 Irrlicht only: improved XML handling, support xml files
for .track and .loc files, started working on items.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3179 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-20 01:42:34 +00:00
hikerstk
5083dc7eae Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3177 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-19 02:18:10 +00:00
hikerstk
ec69ff9f3f Applied Frederik Himpe's patch to support -Werror=format-security.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3173 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-18 22:56:48 +00:00
hikerstk
f4829edc94 Bugfix: in battle mode no groups were shown.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-18 22:09:24 +00:00
auria
af1f9b02a7 disabled traffic and empty_robot with #if 0s - this allows creating IDE projects by just dragging the source directory onto the source tree, without having to manually select out some files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3168 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-18 19:44:46 +00:00
hikerstk
4901a029e9 Fixed typo in Makefile.am, added missing newline at end of files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3165 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-17 03:24:43 +00:00
hikerstk
0267f7630c Irrlicht only:
1) Added better support for reading XML files.
2) Fixed keyboard handling (for some keys only
   key releases were recognised).
3) #ifdef-ed out more plib parts that would cause a 
   crash with irrlicht.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3164 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-17 02:57:28 +00:00
hikerstk
7c6e502a4f Fixed typo.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3151 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-16 01:26:28 +00:00
hikerstk
4fb76041ca Only save the last track if it's not a battle mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3145 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-15 23:01:42 +00:00
hikerstk
99ed2caf66 Bugfix: textures from the data/textures directory were preferred over track- and
kart-specific textures (unless they were listed in a materials.dat file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3119 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-11 05:15:54 +00:00
hikerstk
1620ad012e Fixed incorrect paths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3117 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 11:23:17 +00:00
hikerstk
be6b0f8085 Fixed compilation problem on non-irrlicht compilation (missing files,
missing ifdef - sorry for that).
In irrlicht karts have now (non-rotating) wheels, and the camera
points correctly at the kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3116 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 11:11:39 +00:00
hikerstk
3b7bfd5367 Update to irrlicht only, non-irrlicht part should be unchanged.
- Tracks and kart models are now loaded and converted into
  bullet physics. 
- A simple camera is implemented, so a loaded track can be
  displayed (note: the current SVN version does not contain
  a track converted for irrlicht yet)
- Otherwise the irrlicht version is not working, i.e. no
  menus atm, ...


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3115 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-10 05:30:59 +00:00
hikerstk
bce44c8956 Fixed typo in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3102 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-04 00:41:39 +00:00
hikerstk
4d2ace56b3 First irrlicht code added.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3101 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-04 00:31:40 +00:00
hikerstk
00b98173ca Fixed crashes caused by having an old user config file (which can contain
invalid kart or track groups, or an invalid kart id).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3099 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-03 01:01:23 +00:00
hikerstk
f48f8e8dd2 When driving backwards karrs will now slowdown depending on terrain
(fixes bug 2554280).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3095 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-02 14:14:27 +00:00
hikerstk
8edc3fa23a Don't save the default number of karts when battle mode is played.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3090 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-01 23:15:58 +00:00
hikerstk
d49f009213 Removed the camera jump which happens on some tracks (e.g. snow
mountain) at the start of a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3088 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-01 22:54:00 +00:00
auria
0c5aae7b1b fixed warning
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3087 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-02-01 02:17:39 +00:00
hikerstk
4b907c643a Fixed bug 2547586 (keys lock after pause): keys pressed when the
in-game menu is called would still considered to be pressed
when the game is continued.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3085 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-31 04:51:50 +00:00
hikerstk
2dd1752281 Bugfix: when switching from full screen back to window mode, in windows
an empty display would be shown.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3082 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-30 04:28:44 +00:00
hikerstk
7e03777aa1 Fixed compilation problem on some platforms.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3080 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-30 01:12:10 +00:00
hikerstk
d3960d810c Removed debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3078 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 11:15:10 +00:00
hikerstk
113747ab07 Fixed incorrect display when only two tracks are displayed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3077 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 11:00:11 +00:00
hikerstk
f90042e2ff Removed debug statement.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3076 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 10:58:06 +00:00
hikerstk
a918d00198 Emptry track groups are not displayed anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3072 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 02:40:40 +00:00
auria
96ed4c4c24 fixed plunger staying upon restarting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3066 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-29 01:34:16 +00:00
hikerstk
43e7b4bd45 Removed all snprintf statements and constants for maximum
message sizes.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3065 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 21:49:28 +00:00
auria
6ac57f3c1f updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3064 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 14:55:07 +00:00
auria
7956b07d52 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3061 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 14:34:48 +00:00
hikerstk
012f503d60 Added more flexible functions to simulate s(n)printf,
removed more snprintf.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3058 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 04:43:18 +00:00
hikerstk
61ad7ca615 Bugfix: ostringstream wasn't cleared between calls.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3057 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 04:12:16 +00:00
hikerstk
bf01026f43 Bugfix for linux compilations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3056 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 00:58:41 +00:00
hikerstk
067d3daf79 1) Renamed scene to stk_scene (since scene is a namespace in irrlicht).
Note that with irrlicht the scene objects is most likely going to
   be replaced anyway.
2) Removed more snprintf.
3) Removed unused modes from VS project file, added new mode for irrlicht.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3055 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-28 00:38:28 +00:00
hikerstk
1eb42a9ff6 Code cleanup (replaced unnecessary inlines, added missing inlines,
replaced Vec3 parameters with const &).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3052 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-27 02:36:37 +00:00
hikerstk
cdba286d28 Added README to indicate that those files are not used atm.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3051 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-27 02:27:26 +00:00
auria
ed5a0aab70 some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3050 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:53:41 +00:00
auria
8ef09afb6c some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3049 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:47:44 +00:00
auria
1534881cdf some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3048 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:16:15 +00:00
auria
210764c66e some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3047 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:14:24 +00:00
auria
d390c73466 some debug code to try to fix an elusive bug on IRC
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-26 22:02:46 +00:00
auria
09e275b3a0 fixed compilation under GCC 4.4
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3037 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-25 19:57:13 +00:00
hikerstk
80e412f6a0 Fixd linux compilation after previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3035 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 05:33:21 +00:00
hikerstk
6f34674b4c 1) Moved more files around.
2) Replaced many (though not all yet) snprintf with ostringstream
   (getting rid of the maximum length of messages).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 05:23:22 +00:00
auria
1f6782b14a updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3033 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 02:48:52 +00:00
hikerstk
b4fc761ee5 Bugfix for linux for previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-23 00:07:51 +00:00
hikerstk
6ce3803165 Moved more files into subdirs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 22:27:13 +00:00
hikerstk
bd383f0240 Fixed typos in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 12:16:52 +00:00
hikerstk
340fc18548 1) Applied Jonan's patch to fix the layout for many files.
2) Moved STK specific extensions to bullet out of
   bullet src tree.
3) Started to move more files into separate subdirs.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-22 12:02:40 +00:00
hikerstk
7f84a7f0a9 Removed rotating kart when a group is selected (r3016).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3017 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-21 01:40:29 +00:00
hikerstk
e6ff1e8e52 Added a challenge for the Gnu kart, put it in a new
group ('special'). Additionally, groups are now only
shown if there is at least one (unlocked) kart in it,
so it becomes only visible after unlocking the Gnu
kart. Putting it in its own group means the AI will
not use this kart (see r3014 on 0.6 branch).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3015 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-21 01:13:15 +00:00
hikerstk
219c28dba6 Updated comment and made maths slightly more efficient.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3013 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-21 00:45:08 +00:00
hikerstk
3db2b9cab0 Cosmetic change only (so that the file is consistent with 0.6 branch, see
r3002, which was already included here in r3001).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3003 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 13:59:36 +00:00
hikerstk
7e02093329 Added new 'has-skidmarks' property which defaults to true.
If it is set to false, the kart will have neither skid marks
nor skiddinf sfx. Currently used for the gnu kart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@3001 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 13:51:08 +00:00
hikerstk
e84d24b02d Enabled <esc> key in race result gui (to return to the
main menu).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2997 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 13:24:46 +00:00
hikerstk
a24273abfc Fixed some minor memory leaks, added 'FIXME LEAK' comments
in many places which are either more complicated to fix for now,
or will be redesigned with irrlicht (and should therefore go
away anyway).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2996 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 04:26:24 +00:00
hikerstk
389454181c Changed the default settings for player 1 to be easier accessible,
and disabled the defaults for player 3 and 4 (to avoid issues
with not saving the settings correctly if the same key is used
more than once).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-20 02:46:37 +00:00
hikerstk
c7da51ec46 Made faster music optional (default is not to use faster music at all).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2969 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-19 03:48:01 +00:00
hikerstk
c0f4e4555a Improved splitscreen camera settings (thanks to Minibjorn).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-19 02:40:50 +00:00
hikerstk
ef49250a11 Bugfix: the target energy indicator in challenges in which nitro must
be collected didn't work.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-18 23:45:32 +00:00
hikerstk
d68ac2b8ac Fixed memory leak, adjusted camera angle for split screen (which
showed the kart in the middle of the screen, not in the lower).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-18 23:38:24 +00:00
hikerstk
8fa70e44c7 Fixed Lap display for split screen (it was too big, the letters and numbers
would run into each other and into the time display of the characters).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2957 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-18 03:27:44 +00:00
hikerstk
9b32ce8d99 Added version numbers to tracks and karts (which helps
not to load older tracks and kart, e.g. if STK is
installed on top of an existing older STK installation).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2944 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 11:13:55 +00:00
hikerstk
8ab51b0c72 Removed shadow when kart is rescued, too.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2942 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 01:01:27 +00:00
hikerstk
a370685685 Added files missing from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2941 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:41:42 +00:00
auria
aa76b77583 enabled GLUT in Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2940 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:37:45 +00:00
hikerstk
165c196ef2 Removed shadows when the kart is not on the ground (work around
for the problem that shadows are glued under the kart, even if
the kart is in the air).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2939 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:37:31 +00:00
hikerstk
d2e45864b0 1) If the bowling ball is too slow (i.e. stuck somewhere), make it explode.
2) If a ball has exactly speed zero, correctly set dummy speed vector. 


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2936 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-16 00:12:46 +00:00
hikerstk
c0ed7a5737 Fixed balls starting to vibrate on the spot.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2935 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 23:53:47 +00:00
hikerstk
2287757c6e Made STK more robust in case that the name of a track requested on the
command line does not exist. It now aborts with a useful error message
in this case.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2934 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 23:05:50 +00:00
hikerstk
b0dcfcb0a6 Avoid crash if the music file does not exist.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2933 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 23:02:23 +00:00
hikerstk
d0f713e03d Added code to simplify finding good final positions for the camera
(though it involves setting a breakpoint etc, so it's only for
developers).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 22:36:42 +00:00
hikerstk
f861652587 Bugfix: a crash could occur if the owner of a plunger is rescued while the
plunger is still flying.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2929 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 12:54:00 +00:00
hikerstk
31da6b69e0 Some minor improvements to the position of the rotation kart.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2928 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 12:39:08 +00:00
hikerstk
1832402961 Updates to make glut optional in VS (though it is defined in the
project files and needs to be removed manually to disable glut).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 04:30:34 +00:00
hikerstk
0b5bee042e Made glut optional (if it's installed it is used and optional
bullet debug via the --bullet-debug command line option can be used, 
otherwise this command line option is not available).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 04:08:41 +00:00
hikerstk
d9db33a3a0 Don't use 'final camera' in FTL mode (since karts will usually
not be near the finish line when the race is over)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2925 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-15 00:50:39 +00:00
hikerstk
b41bd96125 1) Fixed 'wild rotation' on sand (which was only a graphical effect, it
didn't really happen in reality)
2) Applied Minibjorn's patch to allow more violent explosions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2922 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 23:36:30 +00:00
auria
e31386966a play anvil/parachute sound effects on human players (so you can hear the sound when throwing one)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2920 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 23:20:48 +00:00
auria
419dcd0774 reduced plunger-in-face time after feedback + add svn-ignore property to Xcode-generated files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2919 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 22:15:57 +00:00
auria
6b8aa4ab7b removed unused sound (which BTW had obscure license), and tweaked some volumes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 21:37:47 +00:00
hikerstk
e9ceca6ec0 Made the time for the camera to move to the final
position configurable in stk_config and increased this
value from 1.0 sec to 1.5 sec.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2907 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 11:44:33 +00:00
hikerstk
4d81e7ba00 Bugfix: uninitialised variable (thanks to valgrind).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2899 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-14 00:27:46 +00:00
hikerstk
fbae0505ff AI is now trying actively to pass on a bomb to a kart
ahead of it.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2896 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 13:32:44 +00:00
hikerstk
b21d98e5ea Bugfix: a crash would happen if a kart that is eliminated
had a plunger flying around.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2894 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 03:25:19 +00:00
hikerstk
6773718dbd Going from one driveline sector to the next is now never
considered to be a shortcut (in case that some new track
has a secgtor length of more than 90).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2893 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 03:00:15 +00:00
hikerstk
514619fd69 Removed some compiler warning - thanks to Jonan for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2891 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 01:07:12 +00:00
hikerstk
2c0a135d94 Improved shortcut handling:
1) on road/off road is now detected with a certain tolerance
   to the drivelines (currently 15%), i.e. the drivelines are
   made 15% wider.
2) Skipped segments distance was shortened to 50m (since it
   should be used less with the above higher tolerance, and
   it caused problems with shortcut not being detected.
3) The new drivelines with tolerance can be seen with --track-debug=4
   (--track-debug=2 shows the original drivelines)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2890 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-13 00:16:09 +00:00
hikerstk
bddf82e272 Bugfix: moving physical objects (i.e. road cone) could be in
a deactivated state when restarting (which means they could be
hovering in mid-air).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2889 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 12:32:14 +00:00
hikerstk
d1eea398a1 Added support (incl. gui) to change the menu background
pictures.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2888 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 12:29:31 +00:00
hikerstk
cc79071ae0 Removed rectangle from (non-selectable) challenge
description field.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2887 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 12:17:43 +00:00
hikerstk
7787fc21b1 Remember the last selected difficulty, #laps and #karts.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2886 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 09:05:03 +00:00
hikerstk
0a74a453bc 1) Bugfix: if a zipper was used at very low speed, the karts
would jump or move into an unexpected direction.
2) AI karts now uses some random-ness when to use the
   zipper at the start of a race. This make it look
   less 'in synch'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2885 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 01:28:55 +00:00
auria
e44ac903d3 added support for by-menu bg pictures
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2882 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-12 00:49:25 +00:00
auria
c119c8ba75 made nitro particles bigger for a nicer effect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2875 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 20:42:49 +00:00
auria
0ba91a7392 new nitro particles by MiniBjorn + fixed bugs that made particles look weird
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2874 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 20:40:07 +00:00
auria
5d474582f1 new title screen by tobsi
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2873 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 20:32:54 +00:00
hikerstk
626878ce9b 1) AI can now shoot balls and plungers backwards.
2) Save nitro when speed is already high.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2872 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 12:01:36 +00:00
hikerstk
54cafb7f25 Added look_back as a kart control, which means that the AI
karts can (though atm don't yet) fire backwards.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2871 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-09 04:58:24 +00:00
hikerstk
152fb363dd 1) AI will now use items a bit more aggressively (i.e. before
they would only use an item after a collision, now they
   will fire when the kart ahead is close enough.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2869 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 23:29:31 +00:00
hikerstk
634b6044ae Enabled anvil for FTL races again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2868 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 23:25:19 +00:00
hikerstk
eae3653470 The first kart to use in profiling can now be set on the command line.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2867 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 23:19:50 +00:00
auria
d974cf80f7 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2866 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 21:22:31 +00:00
auria
c30665dc61 fixed crash when finishing FTL GP
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2865 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 21:22:05 +00:00
hikerstk
fa4bdf8850 Bugfix: some karts would on some tracks not skid - caused by
rounding problems (evil tux on the old race track for example).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2862 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 13:24:32 +00:00
hikerstk
3ca8f80253 Bugfix: used wrong constant for attached parachute.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2861 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 04:03:12 +00:00
hikerstk
050785e37e Bugfix: Parachutes attached as a result of usage of the parachute item
by another kart could not be detached by slowing down.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2860 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 02:01:57 +00:00
hikerstk
d68203c6cd Bugfix: sometimes a raycast to determine the material a kart is on
would actually hit a kart (which could then cause the camera to
jump since it gets an incorrect normal).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 00:12:41 +00:00
hikerstk
eb57425538 Made the AI use zipper instead of nitro (if available).
Some code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2854 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-08 00:04:20 +00:00
hikerstk
de10712c19 Minor code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2852 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-07 01:32:49 +00:00
hikerstk
b643cfd599 Bugfix: incorrect track name or GP in a challenge will not cause a crash
when trying to use to do the challenge, instead STK will abort with an
error message indicating the problem at startup (see bug 2316973).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2851 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-07 00:54:20 +00:00
auria
4c3834e4e2 improved patch by MiniBjorn to remove skidding when it doesn't make sense
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2850 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 21:16:27 +00:00
hikerstk
6db1a0c9ce Adjusted the driver icon size and position in game so that they
don't overlap with the mini map anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2848 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 13:29:48 +00:00
hikerstk
7490d1878f Made icons a bit more square.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2847 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 13:12:32 +00:00
hikerstk
3b3416a1af Disable skid marks when a kart is not steering.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2845 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 12:48:44 +00:00
hikerstk
28effae153 Bugfix: releasing skidding was frame rate dependent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2844 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 12:45:51 +00:00
hikerstk
cf264418c7 Applied Minibjorn patch to prevent skidding when going straight and
charging of skids.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2843 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 03:44:03 +00:00
hikerstk
ac3d18c004 Some tuning to slow down.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2842 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 02:39:30 +00:00
hikerstk
77dedf6cbf Bugfix: missing initialisation of variables.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2841 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 00:36:56 +00:00
hikerstk
0d593da26e 1) Skid marks fade out (fade out time set in stk_config: skid-fadeout-time,
currently one minute.
2) Skid marks now support proper culling, which should help with slowdown
   some people have seen.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2840 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-06 00:20:23 +00:00
hikerstk
1419948f02 Removed debug setting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2839 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 23:17:00 +00:00
hikerstk
3b7f2a878d Initial support for terrain dependent slow downs (at the moment
only set for grass, sand, sandgrass textures).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2838 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 22:55:25 +00:00
hikerstk
2d48b0e1c2 Cleaned up some unnecessary includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2837 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 22:51:02 +00:00
hikerstk
f602999114 Fixed some compiler warning, simplified code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2836 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 04:56:54 +00:00
hikerstk
e7bba5bdd2 Bugfix: the command for steering left on a gamepad could not
be changed anymore.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2835 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 01:12:59 +00:00
hikerstk
161605ceb0 Bugfix: in OMC when driving backwards at start, and then drive towards the
small gap between the book and the wall (to the right), an invalid
driveline index would be accessed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2834 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 00:36:40 +00:00
auria
1f38f1afb2 removed debug command that hsouldn't have been committed (yes, agin...)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2833 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 00:19:01 +00:00
auria
566260b3c0 attempt at fixing bug of breaking not removing parachute (unlikely to be this though)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2832 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-05 00:04:03 +00:00
auria
d1dd588c79 fixed compilation problem with gcc
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2831 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-04 23:38:21 +00:00
hikerstk
0556858147 User configuration now stores the last used input configuration for each
device (i.e. for gamepad one mapping of gamepad axis/buttons to kart
controls). When changing the player conntrol option for 'left', the
last corresponding input configuration is loaded. This allows for example
to switch from keyboard to gamepad and back with one keystroke (in each
case).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2830 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-04 23:03:37 +00:00
auria
bccfdf4eec patch by MiniBjorn to rotate wheels like they're skidding when kart is skidding
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2828 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-04 01:14:59 +00:00
auria
7eed13d7cd updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-03 00:24:05 +00:00
hikerstk
373e3244f5 1) If a gamepad is configured and the axis is selected for the first time,
the corresponding steering direction is set automatically
   (e.g.: you have keyboard configured, then select axis 0 - for left,
   the gui will then automatically select axis 0 + for right).
2) Made user_config more const correct (and used more references instead
   of objects)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2826 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-02 22:26:01 +00:00
hikerstk
ed768932fa Update for latest build environment.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2825 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-02 22:20:42 +00:00
hikerstk
a0b3e358ed Applied SciYann's build system improvement.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2824 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2009-01-02 19:34:38 +00:00
auria
9973d00ece fixed white skidmarks bug (by MiniBjorn)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2823 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:53:45 +00:00
auria
74a67206cb fixed white skidmarks bug (by MiniBjorn)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2822 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:47:25 +00:00
hikerstk
d7e541a1a0 Fixed minor compilation warnings on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2821 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:36:23 +00:00
hikerstk
8eaeebd1e3 1) When selecting player input options, the axis that is
furthest moved is now chosen (and not a random one
   depending on sdl). 
2) For steering, axis controls are now 'preferred', while
   for all other controls buttons are preferred. This is
   important for certain gamepads that have 'analogue
   buttons' (e.g. buttons that can be partly pressed) and
   that deliver two events (one analogue and one digital)
   when pressed. See thread 'Not sure if this is a bug exactly.'
   in the forum for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2820 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-31 00:06:55 +00:00
hikerstk
092aa75686 Removed VS compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2819 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 23:35:28 +00:00
hikerstk
43042a63a9 Bugfix: my previous commit to sdldrv made it impossible to
select a joystick axis in the option menu. Instead applied
patch by samjam (forum) which fixes the original issue.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2817 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 10:22:34 +00:00
auria
e39dd53795 fixed sound when hitting a puddle of bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 01:07:22 +00:00
auria
737738c855 restored braking sound. as a result, skid sound will play even if you go straight (les simportant than braking sound IMO)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2815 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 01:01:56 +00:00
auria
a8132ae245 added FIXMEs in cake (reasons why it sometimes doesn't aim well)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2814 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-30 00:36:38 +00:00
auria
0e8b10a2d7 cleaned up code documentation to be clearer
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2812 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 21:20:05 +00:00
auria
2c2f8d0ebc removed FIXME that wasn't relevant anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2811 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:59:19 +00:00
auria
56ea83e9ee documented previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2808 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:46:51 +00:00
auria
6d2292f3c7 possibly fixed aiming issues when throwing plunger backwards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2807 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 20:44:36 +00:00
hikerstk
488e5a4aab Added some documentation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2806 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 08:16:38 +00:00
hikerstk
6e69ed3390 Bugfix: under certain conditions a gamepad could appear to
be locked, i.e. it would steer to the left or right while
the joystick is in 'neutral' position.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2805 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-29 08:12:24 +00:00
auria
586a4a3a84 code cleanup in new suspension damping
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2804 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 20:17:34 +00:00
hikerstk
b1698e2cc5 The keyboard sequence: press accel, press brake, release
brake now results in the kart still accelerating (and 
similar sequences work as expected, too).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2803 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 19:53:27 +00:00
hikerstk
0749b37e80 Bugfix: the control sequence: press accel, press brake,
release brake (while the speed is still >0) would result
in the kart accelerating with reduced power since the bullet
brakes were stills set.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2802 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-28 19:29:08 +00:00
auria
c32741b11a attempt at making suspension look better - made the view quadratic instead of linear (shows small moves more, big ones less), reduced amplitude to look less weird. (sorry hiker, my implementation may need to be reviewed :) The effect varies much from kart to kart, for instance on karts like hexley the effect is much more visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2799 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-27 01:01:28 +00:00
auria
94c99349ea in battle mode, disable pull-back and akways use block-view, since opullign back does'nt make sense in a battle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2796 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:57:48 +00:00
auria
4ff60bff67 attempt at changing AI behaviour when has a plunger in the face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2795 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:48:56 +00:00
auria
dad1ce5592 attempt at changing AI behaviour when has a plunger in the face
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2793 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:32:00 +00:00
auria
6bc1fd5311 moved harcoded constant to config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2792 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:26:15 +00:00
auria
c008108f68 moved harcoded constant to config file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2791 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:23:27 +00:00
auria
943fa76519 added backwards aiming for plunger
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2790 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 21:11:08 +00:00
auria
fe49e9f8cf 1) remove plunger model when it hits a kart (backwards) 2) tweaked duration of plunger blocking view to be less of a punition
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2789 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:54:23 +00:00
auria
c403bc0037 reverted debug code that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2788 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:49:21 +00:00
auria
4a032ca32e plunger now blocks view as planned when thrown backwards; no aiming yet though
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2787 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:45:56 +00:00
auria
eb85dd1c8b reverted debug code that shouldn't have been committed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2786 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:14:26 +00:00
auria
16beb446c3 made it possible to add a big plunger blocking a player's view (does not yet work with plunger, to be completed)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2785 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:12:57 +00:00
hikerstk
77914fcf05 Made the skidding frame rate independent.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2784 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 20:05:41 +00:00
auria
a74923349a rubber band detaching committed previously should only happen when attached to track, not karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2783 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:48:12 +00:00
auria
78bff749b9 detach rubber band if kart gets very close to hit point
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2782 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:43:54 +00:00
hikerstk
64921ddb90 Fixed typo in previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2781 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:33:24 +00:00
auria
aaf3b8bfd8 improved plunger : 1) gave it actual aiming 2) made it move up/down a bit to follow ground
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2780 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:32:52 +00:00
hikerstk
b3590f40b8 Fixed compiler warnings (VS).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2779 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 19:32:08 +00:00
auria
928f59d596 tweaked cakes to hit better with new physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2778 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-26 16:44:41 +00:00
auria
2cc926b381 last lap-coutning-with-rescue bug should be fixed now...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2774 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 19:07:56 +00:00
auria
f489ae57cd fixed rescuing bugs with lap count (free laps or missing laps) hopefully for good this time. Instead of the previous weak implementation, which substracted laps, this time I just keep a variable of the lap number when the kart was last on a valid sector. Then on rescue I just set back this number of laps - I can't think of any way to trick this system.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2773 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:49:34 +00:00
auria
25fc6e5f07 made skidmarks conditions even stricter for Ai karts, so they create a bit less of them (mixed success; they seem to reach maximal steering very fast)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:39:46 +00:00
auria
3edb628251 only show skidmarks if the player is turning (i.e. don't show skidmarks when player is going straight) caveat: if you press the skid button, turn sharp, then go straight while still holding the button, skid marks will still appear.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2771 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:27:36 +00:00
auria
18262806d5 made end-of-screen results GUI human-readable in Grands Prix (before it was just a bunch of numbers, some of which didn't make sense to show) first part of this comnmit accidentally committed in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 18:16:49 +00:00
auria
a2fe608ef7 slightly refactored GP ending, so the final rank is only calculated once.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2769 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 17:59:41 +00:00
auria
6f358f52d6 fixed Gp challenges only checking last race results (hackish)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2768 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-25 03:33:57 +00:00
auria
727079c330 fixed inner-name used instead of player-name when GP challenge is unlocked
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2767 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-24 16:40:09 +00:00
auria
3fb5ac5a98 tweaked text shadow to enhance readabilty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2766 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-23 18:24:34 +00:00
auria
dfc2545b4c fixed warning message with new menu layout
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2765 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-23 18:23:17 +00:00
hikerstk
7b449f9188 Fixed typo in gamepad debug output (see r2758 on 0.6rc1 branch).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2759 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 13:01:18 +00:00
hikerstk
b6e05d7067 Minor bugfix: enet release version would not compile (see r2756 on 0.6rc1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2757 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 13:00:17 +00:00
hikerstk
165a8e0081 Fixed several typos in Makefile.am (which prevented make dist-bzip2 from working).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2750 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 05:30:04 +00:00
hikerstk
95054dbd52 Added command line option to activate some gamepad debug output.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2743 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 01:49:05 +00:00
hikerstk
b9571a41f0 Bugfix: it was possible to take a shortcut and in the process of being
rescued get a lap counted incorrectly, see bug 2453274 for details.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2739 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 00:33:25 +00:00
hikerstk
2e0c4f7738 Fixed 'wrong way' message (which wasn't working at all
anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2738 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-22 00:21:43 +00:00
hikerstk
1c81e0f664 1) Removed references to wheelie and jump kart control structure.
2) Config files will now use nitro/drift instead of wheelie/jump.
   Old config files will automatically be updated (and a message
   be printed).
3) Renamed all members of the kart control structure to start
   with m_ .


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2737 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 21:40:00 +00:00
hikerstk
039eb6733d Minor refactoring.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2734 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 07:43:41 +00:00
auria
2332f1fcc4 camera tweaks by MiniBjorn
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2733 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-21 01:18:35 +00:00
auria
7ab8087a5d fixed bug with modulo not working on negative numbers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2729 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 20:38:15 +00:00
auria
3f3c0a8c5f forgot file in last commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2726 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:56:47 +00:00
hikerstk
9db135e9a5 Simplified computations of kart id.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2724 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:37:45 +00:00
hikerstk
c72b0194df Bugfix: karts still in a FTL race at the end (i.e. the last player is eliminated)
had their score added twice.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2723 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:25:35 +00:00
hikerstk
26c5f8540b Bugfix: a kart that is rescued and eliminated when doing a reset was
added twice to the physics world (resulting in bullet assertion
errors).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2722 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-20 00:21:15 +00:00
auria
5e597253e7 made bowling balls yet less 'jumpy'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-19 16:35:28 +00:00
hikerstk
c9458b12fd Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2719 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-19 01:09:22 +00:00
auria
9f9c8d3495 fixed compiler warning by making a function void and not bool (anhyway it didn't return anything, and nothing checked for a return value when calling it)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2710 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-17 20:23:17 +00:00
stevo14
f2f5a20b43 Added support for master music volume.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2709 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-17 15:51:35 +00:00
auria
9de5258867 fixed potential crash in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2702 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 21:31:02 +00:00
auria
f235baafed let karts fall a bit before rescuing when falling into void
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2701 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 21:28:33 +00:00
auria
dda853bd93 tweaked backwards and re-acceleration speeds, so you can get back in race quicker after hitting an obstacle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2700 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 21:00:56 +00:00
hikerstk
3b0e6723ae Bugfix: eliminated karts called race finish twice (getting points twice).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2698 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 13:21:55 +00:00
hikerstk
ede429b79c Bugfix: if a kart ahead of the leader is eliminated,
it would have an invalid position (#1), and this would
result in duplicated positions later.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2697 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 13:18:46 +00:00
hikerstk
a6a4d2b7a8 Bugfix: eliminated karts would get their position updated (which would result
in all eliminated karts having the same position). Code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2696 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 09:02:14 +00:00
hikerstk
ca2070af01 Replaced 'coin' with 'nitro'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2695 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:57:06 +00:00
hikerstk
2d66e103a8 Made new nitro the default model.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:51:34 +00:00
hikerstk
9d7a256458 Used 'UnNamed' suggested colours for skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2693 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:37:02 +00:00
hikerstk
548b904394 Disabled highscores for FTL mode.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2692 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 04:33:12 +00:00
hikerstk
27646ae0b1 Prevented mis-use of rescuing (drive off road close to another potentially
unreachable part of the track, press rescue, and (if you were closer to
that other part of the track), rescue would drop you off there).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2688 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 01:42:22 +00:00
hikerstk
e63962ba7c Improved end of lap detection by using the actual length of the track.
Otherwise (when testing for distance along tracks >300) it could
happen (e.g. shifting sand, drive left after the lap was counted before
the pillar till you do a shortcut) that laps were 'discounted' twice.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2686 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-16 00:57:23 +00:00
hikerstk
23c3e56c0c Fixed incorrect position of karts bugs (tracker: 2341498 and
2341488), fixed some incorrect lap counting.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2684 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:37:25 +00:00
hikerstk
dd28f4d437 Made a pointer const.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2683 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:35:15 +00:00
hikerstk
fd0146df99 Bugfix: findOutOfRoadSector would not test the last driveline
point (to the first), resulting in sometimes laps not being
counted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:20:22 +00:00
hikerstk
cdadccdedd Removed debug code (allowing number of laps be set to 0).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2681 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 23:18:56 +00:00
donconso
c45c2dccd3 fixed joypad-configuration (hiker)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2680 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 22:20:06 +00:00
donconso
5dc8b1b3e2 fixed joypad-configuration (hiker)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2679 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 22:12:57 +00:00
hikerstk
6dda930e03 Bugfix to previous commit: doLapCounting was called at the wrong
location (when m_last_track_coords = m_curr_track_coords), so no 
laps were ever counted.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2678 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 08:15:06 +00:00
hikerstk
c240c657cf Bugfix: the new lap end condition did not work if a kart would
skip the last (or first) driveline when driving over the starting
line. This resulted in incorrect (duplicated/missing) positions.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2677 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 06:35:17 +00:00
hikerstk
28d119a9b0 Made the skidding parameters configurable in stk_config.data
(and on a per kart basis as well, so each kart can skid differently).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2676 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 03:56:54 +00:00
hikerstk
5f0dd7ba4c Removed VS compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2675 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-15 03:32:54 +00:00
auria
4b580237d2 debug output strikes again... :(
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 21:21:51 +00:00
auria
6cd5a152b9 fixed karts beginning in front of start line by calculating offset from drivelines instead of using arbitrary values
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2668 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 21:20:21 +00:00
auria
14aa246337 parachutes and anvils were given without asking the World object if they made sense in this game.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2666 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 16:37:27 +00:00
auria
3c3282a3a8 updated race result screen so widgets don't overlap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2664 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 15:51:51 +00:00
hikerstk
f7fef13442 1) Added support for limiting the amount of steering per
frame for the AI (to reduce shaking, but for now this
   is not used, since the steering parameters are not fixed)
2) Bugfix in AI: in some cases out-of-road was detected incorrectly
   (caused by using kart width instead of length)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2660 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 14:00:18 +00:00
hikerstk
22d027ed5f Bugfix: removed incorrect !.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2659 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 13:00:06 +00:00
auria
b5035cc813 updated xcode project to support i18n
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2649 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 02:21:08 +00:00
auria
dcd4d4cfbb i18n updates
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2647 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 02:11:10 +00:00
auria
2aff1d1edd mention 3-strikes in the help page
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2645 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-13 01:58:43 +00:00
stevo14
d588703cf2 Added "gain" option to the .music files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2644 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 22:16:11 +00:00
auria
b30fa50775 improved credits menu
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2643 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 19:45:58 +00:00
auria
df8354a9b5 make main menu look nice when challenges is there too
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2642 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 19:39:44 +00:00
auria
6306bb08fe fixed help screen 1, which was broken when i added sharp turns
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2641 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 19:01:42 +00:00
auria
e542055746 tweaked another menu to look nicer on background
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2640 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 18:59:59 +00:00
auria
de8edc05bb updated main menu to look nicer with background image
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2639 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 18:54:34 +00:00
stevo14
7def11135d Fixed title music memory leak.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2638 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 16:47:07 +00:00
hikerstk
b017c0aefd Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2637 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 08:08:55 +00:00
hikerstk
3102289ae0 Removed runtime warning (sfx not found in list).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2636 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 07:50:53 +00:00
hikerstk
b27e113048 Bugfix: removed ghost characters that appeared when using challenges.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2635 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 03:55:27 +00:00
hikerstk
ffdfc83dcd Bugfix: changing the resolution would cause a crash.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2634 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 02:56:07 +00:00
auria
17a2074f1a mentionned sharp key in help screens, improved look of lock icon in docs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2633 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 01:59:34 +00:00
hikerstk
dd4c85d9c3 Made random number generators random again.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2632 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 01:15:51 +00:00
auria
02f5ae09ef tweaked bowling ball speed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2631 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-12 00:37:29 +00:00
auria
0f00fd3978 added goo sound for bubblegum
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 23:52:59 +00:00
hikerstk
37d4df82de Bugfix: avoid 'machine gun' effect that happens when a kart
frequently crashed (e.g. into the track).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2628 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 23:45:13 +00:00
hikerstk
2b6ccde33f Fixed problem of karts getting stuck to wall (caused by disabling the
engine for 0.5 seconds to allow some bounce back).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2627 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 22:57:40 +00:00
auria
83194bb95b updated track selection screen so it looks nicer and offers more space for track names 9fixing german i18n issues)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2626 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 20:10:16 +00:00
auria
c060d36b4b fixed fast music kicking in too soon
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2625 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 19:43:25 +00:00
auria
95f2cb8b72 removed debug output
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 18:54:41 +00:00
auria
ace9e8ff8f fixed bug with number of zippers in TT mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2621 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 18:53:31 +00:00
hikerstk
9c8290423d Removed 'missing EOL' warning with linux compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 10:55:46 +00:00
hikerstk
7274283311 1) The three difficult levels have now different speeds (and
medium AI is enabled again).
2) The AI handles nitro differently depending on difficulty.
3) Removed wheelie code from kart object, kart properties etc.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2616 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 10:47:16 +00:00
auria
665a307675 made bowling ball speed proportional to own speed so you can't catch up with a ball you've thrown yourself
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2609 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 02:23:34 +00:00
auria
eaa9ceee1d disable network by default
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2608 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 01:41:22 +00:00
auria
78f50b0245 fixed shortcut detection bugs
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2603 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-11 00:45:54 +00:00
hikerstk
4c3ff0c87d Improved AI to remove most of the 'shaking'.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2600 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 04:40:51 +00:00
hikerstk
65f7a8db93 Bugfix for bugfix: when the enter key was used to select a widget,
the widget the mouse cursor was on was selected, not the currently
highlighted widget (i.e. you couldn't select with arrow up/down
anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 03:32:54 +00:00
auria
9838b490f3 fix cakes speed to fit new physics
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2597 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 01:47:59 +00:00
auria
40edb7c69b fixed some title widgets which had a button look + fixed mouse bug in menus
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2596 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 01:34:39 +00:00
auria
f7c96dd648 fixed some title widgets which had a button look
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2593 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-10 00:52:27 +00:00
hikerstk
36b42693e7 Removed warnings when compiling on linux.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2592 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 22:30:30 +00:00
hikerstk
64a609d45f Cleaned up some unnecesary includes in .h files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2591 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 22:21:01 +00:00
hikerstk
fd31b5332d Added additional safety-guard against incorrect auto-rescues.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2589 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 21:23:18 +00:00
hikerstk
2aa37e242f Bugfix: avoid tunneling (i.e. kart chassis ends up partly in track before
being pushed out by bullet again. In this case a rescue might be triggered
since there is no terrain under the kart for a frame).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2588 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 10:58:01 +00:00
hikerstk
9b622e59c7 Fixed --profile behaviour.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2587 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-09 05:05:48 +00:00
hikerstk
7318f85f90 Removed debug code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2583 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 23:27:28 +00:00
hikerstk
d6ccd9cd1f AI improvements: better (level dependent) skidding, and using nitro.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2582 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 23:23:33 +00:00
hikerstk
582bd86cdd Bugfix: restarting a race could cause a crash in the skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2581 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 08:32:12 +00:00
auria
49e7399322 updated xcode proj
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2579 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:40:56 +00:00
auria
d1d8a71e30 only show battle mode in multiplayer mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2578 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:31:46 +00:00
hikerstk
66859e11e9 1) Very first version of improved AI: it does use skidding,
and braking behaviour is improved.
2) The track angle was switched from degrees to rad.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2577 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:29:02 +00:00
hikerstk
e76c1dc87c 1) The number of drivelines per kart is now limited (stk_config.data setting)
2) Reduced smoke effect somewhat (and made it dependent on actually turning
   the wheel)
3) Removed skid marks when restarting a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2576 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-08 01:07:16 +00:00
hikerstk
e1aba93a50 1) First working version of plunger with rubber bands.
2) Some projectile functions have been renamed (explode
   to hit etc), since not all projectiles might explode.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2574 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 05:09:51 +00:00
hikerstk
1dc083872e More nitro graphics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2573 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 05:07:20 +00:00
auria
a97879e279 removed debug code that should not have been comitted
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2571 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-04 00:08:40 +00:00
auria
ff70a14f6f further improved help menu layout, improved some descriptions
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2570 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 17:06:39 +00:00
auria
eb069bb99c updated controls names (removed wheelie and jump, added skid and nitro)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2569 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 17:00:09 +00:00
auria
55cd4611f4 updated help pages : added nitro, removed wheelies, added plunger, improved general layout
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2568 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:56:48 +00:00
auria
792b246c0c made bowling ball less jumpy by putting more gravity on it
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2567 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:38:09 +00:00
auria
db6df068dd added strike sound when a bowling ball hits a kart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2565 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:28:32 +00:00
auria
ea07179d46 added new bowling ball sounds, and cleaned up powrup sounds to make it easier to use different sounds for different weapons while instanciating less objects
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2564 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 16:03:32 +00:00
hikerstk
45e00400a3 Minor improvements to nitro graphics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2563 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 06:13:02 +00:00
hikerstk
f9fc764893 1) Fixed the incorrect early explosion of the plunger.
2) Fixed the fact that a plunger would not explode 'normally'
   when hitting the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2562 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 05:49:16 +00:00
hikerstk
0723e095fd Made the skidding smoke appear from both wheels.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2561 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-03 05:46:40 +00:00
auria
49b6691474 improved fire particles
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2557 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 23:55:48 +00:00
hikerstk
2c06a2ecc0 Removed unused variables.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2555 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 23:49:25 +00:00
auria
b297ed4334 updated xcode project file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2551 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 23:36:24 +00:00
hikerstk
20ea1dc0ee Removed steering wheel and display of position in the lower right corner.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 21:11:50 +00:00
hikerstk
325a9dce30 First version of new skidmark implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 13:01:39 +00:00
auria
96c05baf2b updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2543 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-02 00:09:23 +00:00
hikerstk
32e32358a0 Fixed typo in Makefile.am.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2541 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 23:22:07 +00:00
hikerstk
c20d6008d3 Moved Particle- and Smoke system into graphics subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:56:57 +00:00
hikerstk
cce4da5a62 Moved Vec3 and Coord into utils subdir.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:43:50 +00:00
hikerstk
5b33cdc3c0 Added skid marks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 22:05:25 +00:00
auria
f43c8c397c updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2537 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 16:05:51 +00:00
hikerstk
746c6a4781 Bugfix: removed duplicated files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 11:29:03 +00:00
hikerstk
1c0c2d0ffe 1) Added graphical effect when 'nitro' is active
(texture and graphics still needs to be improved!)
2) Added new user_config setting for graphical effects.
3) Started to move graphics related file into separate
   subdirectory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2535 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 09:26:25 +00:00
hikerstk
d2866bb42e Improved optimsiation for particle systems to allow
better culling.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 04:50:52 +00:00
hikerstk
fbdde1aa76 Added some smoke when skidding is used.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 04:17:17 +00:00
hikerstk
6e72015c53 Minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2532 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 03:58:58 +00:00
hikerstk
9e4d29177e Added const.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2531 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-12-01 03:45:35 +00:00
stevo14
82cf380294 Removed neutral gear braking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2530 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-30 16:42:56 +00:00
auria
7c98bda1a7 updated xcode project file
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2524 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-29 00:36:06 +00:00
hikerstk
2c0aaaaf21 Applied Yann's patch to fix bug 2287611 (if a new attachment is
attached while an anvil or so is active, the additional weight
of the anvil will never go away).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2523 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-28 03:44:41 +00:00
hikerstk
c1fab8dc83 1) Added very first version of plunger with rubber band attached.
The rubber band doesn't do anything atm.
2) Bugfix: plungers could fly through the ground.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2522 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-28 03:32:47 +00:00
hikerstk
5a9e06359d Bugfix: newly created objects would return uninitialised XYZ and HPR values (when
called before the first update).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2521 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-28 02:42:16 +00:00
auria
53ccf88532 fixed restarting FTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2517 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:36:11 +00:00
auria
ea05fbe375 fixed single-player refusing to come back to 1 kart after playing a multiplayer game
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2516 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:30:15 +00:00
auria
f877e02358 fixed crash when displaying FTL results
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2515 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-27 21:20:52 +00:00
auria
b1a4eeb190 added time management to flyables. this means : 1) bowling balls now have a time limit, after a while they self-destruct 2) you can't be hit by your own flyable while throwing it, thus throwables don't need to be placed so far in front of karts
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-26 02:05:20 +00:00
auria
31ca2332bf updated xcode project file to play nicer with xcode 3
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-26 01:20:17 +00:00
auria
2803c01eb9 fixed follow the leader, which was broken by an eaRLIER COMMIT
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-25 23:38:07 +00:00
stevo14
b54d6a7ef2 SFX bugfixes: Fixed sound burst when returning from in-race menu. Fixed skiding sound to match new physics.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2505 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-25 21:05:35 +00:00
hikerstk
2893292816 1) Increased top speed and effect of wheelies.
2) Added support for 'nitro' mode: no wheelies, instead
   collected energy can be used for a speed boost.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2499 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 23:19:47 +00:00
hikerstk
9f11f50f4f Bugfixes for previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 08:22:34 +00:00
hikerstk
dab73791c3 1) Removed 'skidding preview'.
2) log output (stderr or terminal) is not saved in user config anymore
   (avoiding the problem of not seeing error messages because they
   are redirected to a log file)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2496 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 08:14:40 +00:00
hikerstk
7b8e34226f Added support for maximum/minimum suspension to be used
then displaying the wheels (though no data for this is
added to the .kart files atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2495 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 08:05:21 +00:00
hikerstk
ca8cb8eae1 Improved graphics for turning/drifting.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2492 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 01:26:46 +00:00
hikerstk
78c77dc1e6 Added experimental skidding (by using the jump button for now,
jumping is disabled atm).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2491 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-24 00:47:55 +00:00
hikerstk
432b479433 Lower the chassis in relation to the wheels somewhat, making it
less likely for a kart to topple over.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2490 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-21 05:00:49 +00:00
hikerstk
f3eb9b168e Removed unused variable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2489 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-21 02:58:54 +00:00
hikerstk
38d568dedd Bugfix: history file replaying could cause a crash since the
karts were setup twice.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2486 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 22:06:14 +00:00
stevo14
4975c09c1f Added support for kart-specific engine sounds. Updated kart files accordingly.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2485 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 09:11:27 +00:00
hikerstk
49d9aeb365 The turn angles at a certain (minimum and maximum) speeds
have been replaced with the radius of the turn (since the
turn angle depends on the wheelbase of the kart). This way
the turning behaviour can be defined independent of the
kart physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2484 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 04:54:31 +00:00
hikerstk
b4e87f549f Some updates to doxyfile (mostly to support subdirs).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2483 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 02:12:47 +00:00
hikerstk
00618aebfb Applied Yann's patch to allow to build STK in different build
directories.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2482 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 01:35:07 +00:00
hikerstk
faa255a0b4 Removed writing information twice into user config file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2481 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-20 00:48:24 +00:00
hikerstk
c4e4a94211 Bugfix: the previously selected character wasn't selected by default anymore.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2480 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 23:56:33 +00:00
hikerstk
aa27ba317d Changed the default for the physics wheels to be just at
the corners of the chassis (and not where the graphical
wheels are). Improved physics settings for hexley.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2479 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 22:43:21 +00:00
hikerstk
b4f16ef5cf Changed default track to jungle (since the race track is not
part of the STK core distribution anymore).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2478 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 22:30:51 +00:00
hikerstk
b7eed2c9c5 The track select gui now selects by default the last played track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2477 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 22:29:53 +00:00
hikerstk
05ca336742 Bugfix for replaying history files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2476 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 11:18:22 +00:00
hikerstk
74885f9fd5 Removed warning which was printed when reading stk_config.data.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2475 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 04:09:45 +00:00
hikerstk
847612a561 Bugfix: icons for powerups were not permanent (unless they are listed in
materials.dat), which cause them to be deleted after one race, causing
the powerup_manager to have invalid pointers.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2474 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-19 02:08:00 +00:00
auria
16dc56721f fixed cake (broken by last commit)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2472 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-18 01:33:10 +00:00
auria
94cfd1bab8 improved plunger to point in right direction and allow shooting backwards
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2471 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-18 01:29:22 +00:00
hikerstk
e74fffd6cc Update VS project files for new plunger.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2470 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-17 04:03:50 +00:00
stevo14
f886dc3686 Volume parameters in sfx.config are now correctly honored. Minor cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2468 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-16 20:35:30 +00:00
auria
33a9864679 initial work towards plunger (still very incomplete, mostly added related files)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2459 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-15 02:59:54 +00:00
auria
fa2345375a renamed missile.projectile to bubblegum.projectile
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2458 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-15 02:12:28 +00:00
hikerstk
e87201b98a Renamed default kart name from tuxkart to tux (necessary
after renaming the models).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2457 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-13 22:46:38 +00:00
hikerstk
c14ca10f81 1) Bubble gums do not disappear when hit, instead they are disabled
for 0.5 seconds (enough time for the kart that hit it to drive
   away). This also fixes the bug that re-appearing bubble gums
   were not properly pitch/roll aligned anymore.
2) Bugfix: If a bubble gum was used in a race, a crash happened
   when exiting STK (during cleanup).
3) Bugfix: When restarting a race, bubble gums from the old race
   are now removed.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2446 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-11 22:21:25 +00:00
hikerstk
495fa1b258 Code cleanup.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2444 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-11 11:28:22 +00:00
hikerstk
f915db5b78 1) Bubble gums now take roll and pitch from the terrain they are at
(i.e. they will always lie flat on the terrain).
2) Cleaned up some code, added doxygen comments.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2443 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-11 08:33:06 +00:00
hikerstk
0fae019d40 Removed unused function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2442 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-11 03:52:38 +00:00
donconso
8fd76f5152 fixed additional : in network-gui and updated german translation as well as supertuxkart.pot
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2440 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-11 01:56:02 +00:00
hikerstk
0c1280ad39 1) Improved positioning of karts.
2) Added new wheels to dinokart.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-10 04:34:22 +00:00
auria
1edc7ff4b6 fixed crash at end of GPs. fix may not work if we start adding many types of GPs for different modes...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2438 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-10 01:57:46 +00:00
stevo14
e13a3a1da3 Fixed bug related to neutral gear braking.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2437 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-09 22:02:34 +00:00
stevo14
1000467407 Implemented "neutral gear braking" as per the todo list.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2431 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 23:20:23 +00:00
auria
eb9a871800 added braking sound
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2430 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 20:35:45 +00:00
auria
eacfa131f8 removed some debug output
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2428 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 20:02:42 +00:00
auria
97be3a18a8 minor updates toxcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2427 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 16:29:19 +00:00
stevo14
44f0bc4009 Moved skid sound from player_kart to kart. Fixed lingering explosion bug. Increased music buffer size to 1 full second of audio.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2426 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 11:30:50 +00:00
hikerstk
544424ee93 Fixed more bugs related to destroying the objects.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 04:14:42 +00:00
auria
c9569c8738 [minor] added/clarified some documents to better document the code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2424 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 03:04:03 +00:00
auria
bb56beb7f9 allow modes to disallow some types of powerups, for instance no anvil should be collected in battle mode...
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2423 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 02:52:29 +00:00
auria
576d1c3265 fixed bonus boxes appearing in time trial mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 02:07:54 +00:00
hikerstk
f7d0e38a87 Fixed segfault when deleting callback manager.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 00:56:19 +00:00
hikerstk
4bcdd1c1d7 Bugfix: invalid memory references when cleaning up.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2420 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-08 00:50:40 +00:00
auria
0579052bc0 updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2419 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 21:43:07 +00:00
stevo14
67569c71bc Every object created in InitTuxKart() is now deleted in CleanTuxKart(). This allows (among other things) the sound managers to properly clean up OpenAL (so STK plays nice with other OpenAL apps and doesn't leak memory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2418 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 20:42:24 +00:00
hikerstk
1651b8bba0 Applied Auria's improved bubble gum patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 04:54:38 +00:00
hikerstk
ab506f462a Moved kart-related files into separate subdirectory.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 04:34:01 +00:00
auria
a1c5472413 added missing bubblegum model
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2415 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 01:26:24 +00:00
auria
7c1d3560bf first introduction of bubble gum, many improvements still necessary before it is complete
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2414 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 01:18:04 +00:00
hikerstk
c553ec77ee 1) Separated the wheel from the kart models. This is necessary
for irrlicht, simplifies the handling of the karts.
2) Current suspension is now used to display the wheels of karts.
   This currently only works for tuxkart, all other models still 
   need to be modified (and these models will not display any
   steering atm).
3) Refactored kart model handling: all plib specific kart model
   handling is now encapsulated in karts/kart_model.?pp
4) Moved some files into new subdirs.



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2413 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 01:05:52 +00:00
hikerstk
5ef8a26157 Fixed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2412 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-07 00:48:01 +00:00
stevo14
1b5fc11393 Added more configuration options for SFX. Potentially fixed looping music glitch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-11-06 07:17:11 +00:00
auria
e9dfed326c items are not 'eaten'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2405 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-31 20:48:19 +00:00
auria
8cf03a0703 cleanup in cakes to remove some missile leftovers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2403 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 18:40:41 +00:00
hikerstk
c4e27f1a7a Bugfix: dimension of kart were computed incorrectly, resulting in
the physics model having a wrong size.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2402 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 04:12:38 +00:00
hikerstk
179f7331fe Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2401 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 02:30:39 +00:00
auria
c595c74f7a renamed 'collectible' to 'powerup'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2400 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 02:02:56 +00:00
hikerstk
3f26a6f782 Renamed multiplayer to splitscreen.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2399 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 01:53:41 +00:00
hikerstk
1a6d2a3f6b Removed unnecessary #includes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2398 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 01:53:02 +00:00
auria
14bd536556 removed 'herring' from .loc files (and thus blender editing)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2397 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 01:32:04 +00:00
auria
7fd5b0fb61 removed a few more herrings from network code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2396 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-30 00:56:45 +00:00
auria
55082d46de fixed mistake in previous commit about herrings. deals with shadows, though does not seem to have any visual effect
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2393 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 16:10:34 +00:00
auria
c834005143 removed most 'herring' names
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2392 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 15:55:54 +00:00
hikerstk
67091ed534 Updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2391 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 03:59:21 +00:00
hikerstk
cc4f0526c9 Minor include cleanups.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2390 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 03:41:01 +00:00
auria
42e0af65b7 started renaming herring to item
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2389 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 01:45:29 +00:00
auria
9fca81a80e renamed 'homing' to 'cake'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2388 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-29 00:42:09 +00:00
hikerstk
19ce375f7a Updated VS project files.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2387 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-28 23:44:26 +00:00
auria
54cb05027c updated xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2386 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-28 20:14:38 +00:00
auria
39bdf4f0b0 moved all item-related files into a new /items repository
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2385 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-28 01:46:35 +00:00
hikerstk
ba7adb18d7 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2384 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-27 02:47:49 +00:00
auria
cf897e5d56 improved kart engine sound
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2383 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-27 01:38:10 +00:00
auria
7e14052be1 minor tweaks to bowling ball + fixed typo in comment
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2382 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-27 00:40:54 +00:00
auria
87346a0240 improved cake aiming bycheating with physics (may need more fine-tuning)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2381 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-25 20:59:05 +00:00
auria
66e12f795a improved aiming of cakes by using the heading vector instead of the velocity vector
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2380 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-25 19:41:45 +00:00
auria
7b5aeaaac2 fixed floating bowling ball issues by making it heavier
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-25 18:46:48 +00:00
auria
91ada8f8e6 properly order karts at the end of a battle
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2378 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-25 01:47:21 +00:00
hikerstk
8f350c1ca1 Minor bugfix in case of non existing highscores, removed warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2377 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 13:49:56 +00:00
hikerstk
4e46240f1c Bugfix: enable battle mode always in network games.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2376 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 13:48:58 +00:00
hikerstk
ef66104671 Bugfix: LAN mode didn't work anymore:
minor race mode can not be send as char anymore, it has to be int.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2375 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 13:44:09 +00:00
hikerstk
68278f6847 Applied Paul's network menu patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2374 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 12:12:42 +00:00
hikerstk
f0ff625227 1) Applied Peter's patch to support 16 bit windows (and remove the "ssgInit called
without a valid OpenGL context" error, instead a better error message is printed.
2) Changed sdldrv to follow our layout, added some documentation, fixed a few 
   warnings.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 05:03:12 +00:00
hikerstk
f2f09deff8 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2372 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 04:39:52 +00:00
hikerstk
03bc64d2e9 Bugfix for non-macs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2371 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 04:39:27 +00:00
auria
5e757da9d5 fixed possible issue with kart sorting in battle mode + some minor typo fixes and documentation improvements
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 01:45:28 +00:00
auria
92e4ee5afb better time handling in battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2369 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 01:34:20 +00:00
auria
469518f04b initial support for proper kart rank/ordering in battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2367 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-24 00:42:31 +00:00
auria
0bab5f5772 remove debug stuff accidentally commited
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-22 23:30:44 +00:00
auria
6ac6eb9623 fixed bugs with battle mode
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2363 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-22 16:05:08 +00:00
scifly
ec272cf9ec Bugfix: Players can no longer set highscores of 0.00 if they do not
finish a race.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-21 16:04:54 +00:00
auria
bc842b38ab don't allow choosing battle mode in single-player mode (it looks a bit weird, disabled buttons are not displayed any different from enabled buttons??)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2360 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-21 00:29:29 +00:00
auria
fc5bce275a updated menus for battle mode. 1) don't add AI karts 2) don't show useless screens like kart amount or AI difficulty
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2357 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-20 15:53:47 +00:00
auria
6105d98c1a removed documentation that doesn't apply anymore
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2353 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-20 01:06:28 +00:00
auria
2ab2e98fae new implementation for cakes that doesn't rely on drivelines
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2352 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-20 01:06:01 +00:00
auria
2948a48f44 changed cake description string to be fully visible
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2351 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-19 01:26:55 +00:00
auria
800d94898a better description for FTL, thanks to UnNamed
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2350 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-19 01:24:51 +00:00
auria
f076540f68 fixed what happens at the end of a race, fixed problems with faster music set twice
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2349 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-17 01:41:41 +00:00
hikerstk
14d6130bf3 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2347 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-17 00:10:54 +00:00
hikerstk
1d259bad84 Fixed broken compilation on linux and macs.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2346 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-17 00:05:59 +00:00
hikerstk
b1de626e3e 1) Refactored KartProperties and STKConfig, so that kart defaults
and checks if all values are actually defined are done in one
   file now (and not in two different classes as before). Added
   doxygen comments as well.
2) More physics improvements.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 23:49:27 +00:00
auria
35c1c3eb32 work towards encapsulation of race results display
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2344 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 19:53:37 +00:00
auria
e92747fe56 updated Xcode project to latest changes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2343 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 01:32:13 +00:00
hikerstk
b1cb705777 Improved physics: karts are now less likely to lose contact
with the ground (and as a result start rotating on the spot).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2342 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 00:20:49 +00:00
hikerstk
41ca66fc34 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2341 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-16 00:12:15 +00:00
auria
88fcbc0c95 improvements to battle mode. 1. drop karts at an acceptable angle on rescue 2. hits make karts lose lives 3. improved resetting, ending and restarting 4. added fast music support 5. fixed memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2340 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-15 19:00:50 +00:00
auria
ed2f52bee6 First iteration of battle mode! It's playable, and the rack selection works. Warning, if you select AI players it won't work. Lives are shown but don't decrease with hits yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2339 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-14 20:20:54 +00:00
auria
cff932964c minor changes to prepare for more modes to come
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2335 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-11 00:57:31 +00:00
auria
e6a257a7e2 better encapsulation of race modes. not the most elegant solution possible, but it was quick and easy, and will be easy to extend
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2334 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-11 00:32:44 +00:00
hikerstk
e93129a520 Added first version of doxyfile (and ignore html directory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2333 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-10 03:56:52 +00:00
hikerstk
bb84db0664 Removed minor compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2330 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-09 23:33:14 +00:00
hikerstk
0ae024508a Applied Stephen's 3d sound patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2329 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-09 22:24:19 +00:00
hikerstk
167107fcbc 1) Cleaned up implementation of history function.
2) Improved history file format to collect control information (like 
   steering etc) to allow replaying based on the physics (and not only
   replaying recorded kart positions).
3) Added some constants (time till finish, time for music credits) to
   the stk_config.dat file.
4) Made name of the menu background picture configureable in 
   stk_config.dat file.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2328 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-06 13:40:11 +00:00
auria
6a9a943292 better error checking when initing the SDL video driver
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2327 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-06 00:39:10 +00:00
auria
43d092c26c better encapsulation of on-screen messages so they are independant of what mode is in use, and are also independant of the type of clock used (for instance there's a few ones that in FTL counted backwards). switched to alternate timers independant of the game mode's timer + more cleanup on previous commit (clock merge)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2326 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 18:50:45 +00:00
auria
940f1a4702 correctly encapsulated fast music handling for FTL
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 18:02:49 +00:00
auria
4a1662f0cb improved FTL code
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2324 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 17:47:29 +00:00
auria
0c945d61d3 Made World derive from 'Clock' (now 'TimedRace') simplifying a lot of things, especially the race end process
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2323 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 17:32:40 +00:00
auria
695255d9b6 somehwat nicer shortcut detection based on distance rather than sectors. can still be wrongly triggered if you drive just next to the road for a while (but that can probably wait for checkpoints)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2322 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-04 01:44:08 +00:00
auria
739436fff9 fixed search-and-replace introduced problem
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2321 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-02 01:11:00 +00:00
hikerstk
f055a2c6bd 1) LAN mode now supports GP and restarting/setting up
new game etc.
2) Fixed non network end-of-game handling.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2320 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-02 00:27:39 +00:00
hikerstk
fb2900f05b Bugfix: GP information wasn't properly sent from server to client.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2319 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 12:37:20 +00:00
auria
f38e47954c full encapsulation of 'raceHasLaps'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2318 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 01:53:35 +00:00
auria
60b3f0ea6e removed one more explicit reference to a game mode, using a more dynamic/extendable call instead
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2317 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 01:37:43 +00:00
auria
dd5069d112 fixed times comparison at the end of a lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2316 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 01:15:34 +00:00
auria
1c7c08315a started fixing time comparison at the end of a lap
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2315 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-10-01 00:46:00 +00:00
auria
11bec6a781 fixed memory leak
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2314 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-30 20:38:11 +00:00
hikerstk
5f7cba7975 Fixed quickstart (-N command line option).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2313 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-30 11:02:04 +00:00
auria
0765e643cf fixed shortcut detection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2312 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-30 01:54:09 +00:00
auria
04c106843a better fix for karts-position wrong when restarting a race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2311 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:43:58 +00:00
auria
88d5b15747 fixed mistake in previous commit
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2310 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:27:09 +00:00
auria
3728343cfa workaround attempt for crash seen only by conso, but that i can't reproduce, so he can test
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2309 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:23:54 +00:00
auria
6371efb4c1 fixed lap counting and invalid shortcut detection false positives when resetting race
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2308 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 15:14:14 +00:00
hikerstk
1809dd1da1 Synchronised race results menu, single races in LAN
mode can now be restarted (GP and FTL modes are still 
to be done).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2307 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-29 02:29:33 +00:00
hikerstk
44e9335baa Updates and minor bugfix for VS compilation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2306 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-28 10:39:52 +00:00
auria
faa1ba9161 minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2305 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-27 20:49:11 +00:00
auria
8d48875044 fixed rescuing
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2304 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-27 20:32:07 +00:00
auria
019eaca2cf Mammoth patch to try and encapsulate sector and lap code better in modes. Still work in progress so expect suboptimal implementations and breakage. Known to be broken at this stage : opponents' times at the end of a lap, rescue button and rescuing in general, shortcut detection
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2303 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-27 19:43:57 +00:00
auria
3477a7f7e2 made section handling and lap counting a little more modular (nothing definitive, just an incremental step)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2302 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-25 00:31:21 +00:00
auria
e48907a1cf removed wrong alut dep from xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2301 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 23:44:04 +00:00
auria
e9439f0cd7 removed wrong sdl_image dep from xcode project, minor cleanup
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2300 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 23:08:12 +00:00
auria
e1df51b631 made faster music a choice of the base class. various 'for' loop optimisations. replaced incorrect 'int' with 'bool'
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2299 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 00:43:45 +00:00
auria
03ae2ce6d4 made use of highscores optional (for instance battle mode may not ahve high scores so we need a way to turn them off)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2298 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-24 00:13:31 +00:00
auria
b1ffefe0a4 switched to a simpler collision-detection algorithm to detect mouse clicks on GUI items
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2297 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-23 01:47:04 +00:00
auria
0e5106bfb9 started highscores refactor, also fixing them (they had been broken during the world refactor)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2296 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-23 01:16:50 +00:00
hikerstk
cfb755ac9e Re-solved several VS/linux compilation errors, and updated VS project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2294 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-22 12:14:55 +00:00
auria
199681c1d2 added missing clock.*pp files
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2293 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-22 01:52:28 +00:00
auria
0ece64bc05 split major and minor modes, started some more encapsulationa round that
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2292 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-22 00:55:27 +00:00
auria
cc61f53ff8 more cleanup, replaced World global variable with singleton-like implementation, removed lots of includes to world.hpp
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2291 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 16:07:56 +00:00
hikerstk
4f4d328bde 1) Fixed compilation problems with VS ('or' instead of || etc)
2) Added new files to VS project.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2290 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 15:33:12 +00:00
hikerstk
5e07085fd1 Removed FIXME (with the current SFX manager sounds are not loaded every
time a SFX object is created. They are preloaded once, and then shared
and reused)


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2289 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 06:39:18 +00:00
hikerstk
1738961f68 1) Bugfix: World::Karts was protected (causing a compilation error on
linux)
2) Removed several warning (e.g. no newline at end of file).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2288 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-21 06:04:38 +00:00
auria
67c514f1ed first iteration of new game mode code. most things seem okay, maybe high scores/rankings should be double-checked, also the end-of-race screen seems a bit messed up
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2287 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-20 23:45:22 +00:00
auria
164a7b87cf updated help page for cakes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2286 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-20 19:07:10 +00:00
hikerstk
548c35f7e1 1) Bugfix: sfx could not be disabled
2) Bugfix: certain sfx (esp. engine sound) would not get started
   correctly when changing sfx settings during a race.
3) Bugfix: Engine sound would be played if the in-race-menu was shown.
3) Allocating and deallocating SFX objects is now completely done
   in SXFManager (and not allocated in SFXmanager, but deallocated
   via a normal delete call).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2285 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-20 14:23:20 +00:00
hikerstk
f8646b5ed6 Adjustment of pitch change (due to the different wheel radius).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 15:04:58 +00:00
hikerstk
686540bf29 Removed various g++ compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2283 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 14:43:25 +00:00
hikerstk
66b3f127f6 Set wheel radius from kart properties, removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 14:41:23 +00:00
hikerstk
8931601f53 Bugfix: Novice-AI would crash in network mode since world->getPlayerKart was
not always defined (and additionally the client would do the full AI code, too,
which leads to crashes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2281 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 14:14:14 +00:00
hikerstk
21fbb9f21e Made z-velocity adjustment for flyables optional. Disabling this
fixed the gravity handling for the bowling ball.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 06:50:55 +00:00
hikerstk
32df4eb50b 1) The physics are now using the actual dimension of the track when
creating the world (which might give a performance boost).
2) Moved ssg_help into utils directory, added a namespace,
   and changed parameters to use Vec3 (instead of 3 floats).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2279 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 06:07:29 +00:00
hikerstk
c0226902a7 Bugfix: debug code was still left in (which removed the first kart).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2278 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-19 02:28:27 +00:00
hikerstk
5cd578d9bd Bugfixes from previous commit.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2277 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 12:02:03 +00:00
hikerstk
c0eae662f2 1) Applied Stehen's patch to give each kart separate sound effects objects,
and add engine sounds.
2) Added sfx manager so that the buffers for the sfx are shared between
   all sfx objects.
3) Moved all audio related files into audio subdirectory.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2275 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 03:24:19 +00:00
auria
5343635562 updated Xcode project
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2274 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-18 01:24:10 +00:00
hikerstk
6b92674f99 Added doxygen description about the classes (though not all functions
are documented yet).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2272 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-16 23:46:29 +00:00
hikerstk
803f188895 1) Renamed game_manager to main_loop.
2) Cleaned up some include files.
3) Fixed compilation of optimised version on VS.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 04:34:46 +00:00
hikerstk
f941785f35 Makefile.in should never have been committed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2269 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 03:48:07 +00:00
hikerstk
ca43ad6e21 Bugfix: if the currently selected character is selected elsewhere,
the selected character was removed from the list, but the model
didn't change - it was still rotating the now unavailable character.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2268 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 03:38:26 +00:00
hikerstk
d8ba0271c0 Bugfix: the AI on the clients would try to trigger a rescue (which would
only show the butterfly at the karts, but not actually do a rescue).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2267 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-15 02:19:23 +00:00
hikerstk
1ee4c7976a Bugfix: Compiler optimisations on certain compilers could cause the
networked version to fail (indication: warning message "warning:
dereferencing type-punned pointer will break strict-aliasing rules").


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2266 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-14 15:01:14 +00:00
hikerstk
5f6b27bb80 Removed compiler warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2265 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-14 14:53:04 +00:00
hikerstk
8a4a939980 1) Character selection is now synchronsied between all clients and server (i.e.
a character can only be selected once, and is then not available for other
   players anymore).
2) Fixed restart race (which would finish the race after about 11 seconds)
3) Moved widget related classes into gui dir.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2264 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-13 07:09:36 +00:00
hikerstk
7203ad76c9 Removed compiler warnings.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2263 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-10 04:36:00 +00:00
auria
927f30f86e added cakes
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2262 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-10 00:49:31 +00:00
hikerstk
5912969e9e Bugfix: missing closing comment made this file un-compilable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-09-10 00:31:41 +00:00