Commit Graph

1301 Commits

Author SHA1 Message Date
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