explicit calls to QuadGraph::create(...), and the get() function can
return NULL (in case of a race mode that does not use a quad graph).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9421 178a84e3-b1eb-0310-8ba1-8eac791a3b58
avoid memory debugging having inconsistent texture information
at startup and cleanup time.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@8507 178a84e3-b1eb-0310-8ba1-8eac791a3b58
against the dynamics world, it's now using a raycast against the triangle
mesh only (i.e. a single collision body instead of the whole world).
Besides being faster, this will allow raycasts with material detection
against the 'gfx' (surface) mesh.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7694 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(and below water meshes), so that water splashes can be displayed at
the proper position (not used atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7665 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This was only committed early to update the VC10 project file.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7656 178a84e3-b1eb-0310-8ba1-8eac791a3b58
karts and prints a warning if the rescue position would result in
an immediate rescue again (which usually indicates that the
driveline is too low, and the kart is rescued 'under' the track).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7029 178a84e3-b1eb-0310-8ba1-8eac791a3b58
and the scene.xml file can specify how many karts to set in one row, and the
distance between karts in X and Z direction.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6256 178a84e3-b1eb-0310-8ba1-8eac791a3b58
resulted in AIs driving badly (even when the variation was set to 0).
This patch will be re-considered later, after the alpha 3 release.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6129 178a84e3-b1eb-0310-8ba1-8eac791a3b58
steer to the same driveline point, but to points slightly to
the left and right. The maximum variation is defined in
stk_config.xml (and should be between 0 and 1).
ATM THIS IS DISABLED! Since in my tests it appears that
the AI is not driving as good as previously anymore, i.e.
it drives more S-lines on straights etc. To enable this change
steering_variation in stk_config.xml
2) AI now handles multi-items better by waiting a certain amount
of time before using the next item.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6123 178a84e3-b1eb-0310-8ba1-8eac791a3b58
two karts, it is now given for all karts starting withint a certain
amount of time. These times and boost value are specified in
stk-config.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5855 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(e.g. atm it's not possible to skip part of the result animations, so for now you have
to wait till the buttons appear before you can continue).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5770 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Replaced int* with std::vector<int> in raceResultOrder.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5682 178a84e3-b1eb-0310-8ba1-8eac791a3b58
karts to press 'accelerate' after 'go' will receive a boost.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5669 178a84e3-b1eb-0310-8ba1-8eac791a3b58
counting line is not centered around 0,0,0 or not parallel to the
X axis.
Note that this requires all lap counting line in the scene.xml files
to be 'oriented', i.e. the first point must be the left point, and
the second one the right point (r5488 updated this for all current
tracks, and r5487 updated the track exporter to do this automatically).
As a result of this the start positions might now be a bit too close
to the starting line (depending on where the chess-pattern is on the
track), and that might need some additional adjustments.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@5490 178a84e3-b1eb-0310-8ba1-8eac791a3b58