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
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
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
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
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
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
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
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
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
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
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
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
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
(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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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