Commit Graph

1155 Commits

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