example to lighthouse track. Note atm both needs to be set: smooth-normals
in the track.xml file and in stk_config.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11217 178a84e3-b1eb-0310-8ba1-8eac791a3b58
to cyclic (instead of constant). This also fixes the zipper which used
old style attribute names in materials.xml (fade_out_time instead of
fade-out-time etc).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11199 178a84e3-b1eb-0310-8ba1-8eac791a3b58
reported p to 4 times by bullet), a crash would be caused when the rigid body is
removed (meaning that all further collisions with this body are invalid/removed,
while the loop in physics still tries to access them).
This patches removes bodies only when it is safe to do so, i.e. after the collision
loop. Removals done in the loop will be stored and executed later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11198 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This has been the reason for the IRRLICHT_WITH_XF86VM and
IRRLICHT_WITHOUT_XF86VM failures on some Linux machines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11197 178a84e3-b1eb-0310-8ba1-8eac791a3b58
a demo after T seconds of idle time, --demo-tracks a,b,c
to specify a list of tracks to use for demo mode, --demo-karts
to specify the number of karts.
This is WIP, esp. it crashes if ESC is pressed during a race
(other keys will successfully return to main menu).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11189 178a84e3-b1eb-0310-8ba1-8eac791a3b58
problems (I can't figure out what this line is supposed to do ... as far as I
could see it appears not to be used at all, and m_phase never reaches FINISH_PHASE).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11188 178a84e3-b1eb-0310-8ba1-8eac791a3b58
affected again (resulting in an assertion crash).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11182 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Ending before the GO gave you a time of 0:00:00.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11181 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Also remove some commented out code from ages ago, as well as some random
spaces only lines.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11180 178a84e3-b1eb-0310-8ba1-8eac791a3b58
use of those functions from btQuadWord (which also test the W
component, which is for our case wrong).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11176 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Since the variable m_from_overworld wasn't being initialized, its value could randomly be true.
It was also not being set when clicking multiplayer in main menu.
Making it initialize to false as well as setting it when clicking multiplayer to be on the safe side.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11170 178a84e3-b1eb-0310-8ba1-8eac791a3b58
NOT allow you to finish the track properly, nor is it very smooth.
To try, rename this file to scene.xml.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11169 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Entered names are trimmed before checking for duplicates and the trimmed
version is the one that gets saved.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11167 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(i.e. no update), which avoids having to pass dummy parameter
when only XYZ is needed.
2) Added proper support for extend: 'cyclic' and 'const' now both
can be set (other types are not supported atm).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11166 178a84e3-b1eb-0310-8ba1-8eac791a3b58