converted into the physics track model (previously they were
only shown, but karts could drive through them).
2) Cleaned start position code: arena and normal tracks now use
the same way and variables/functions to specify the start
positions.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4046 178a84e3-b1eb-0310-8ba1-8eac791a3b58
checkline properties a bit easier to set (added type="lap", instead
of the two properties type="check" lap="lap" previously).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4042 178a84e3-b1eb-0310-8ba1-8eac791a3b58
track exporter, but not actually supported from STK).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4038 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This allows the usage of certain objects only in some of the scenes for a track (e.g. to block
a alternative way in one scene, but allow it in another), or perhaps to save memory by
loading one object and placing it several times in the track (though that means that more
scene nodes will be created).
2) Missing id properties are now defined with their default value, making it easier to fill
out the necessary properties.
3) Minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4034 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Bugfix: Activate and toggle could not find the checks they were supposed
to trigger due to upper()
3) Ambient spheres now write the color, fixed radius (missing sqrt()).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4032 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Added some support for disabling driveline sections.
3) Improved check structure support (activating check structures
have now one other check structure associated with them, instead
of activating all new lap structures). Started support for
changing ambient light. Most of this is work-in-progress,
committed early to allow testing of the script.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4030 178a84e3-b1eb-0310-8ba1-8eac791a3b58
can be activated now, and each check structure that changes the activation
state has one other check structure associated with it (instead of all
previously where all activtation state changing structures would activate
all (and only) new-lap structures.
2) Added support for activation toggle (instead of only switching on)
3) Renamed Checkline to CheckLine (and checline.?pp to check_line.?pp) to be
consistent with other names.
MAKE DISTCLEAN most likely necessary!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4028 178a84e3-b1eb-0310-8ba1-8eac791a3b58
ambient light to red (just drive straight ahead for about 3 units or so).
Useless, only to show the effect till we have a real example in a track.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4027 178a84e3-b1eb-0310-8ba1-8eac791a3b58
center-points of quads instead of the length of the current quad, resulting in
lap length being somewhat wrong.
2) Bugfix: the first quad would have a distance along track that's not 0.
3) New-lap lines can now be anywhere on the quad graph, as long as the line is
'on' a line dividing two consecutive quads.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4022 178a84e3-b1eb-0310-8ba1-8eac791a3b58
first time doesn't trigger a new lap (and therefore karts starting at lap -1).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4021 178a84e3-b1eb-0310-8ba1-8eac791a3b58
quads, graphs, and scene files). ATM there is no way of actually selecting a different more yet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4019 178a84e3-b1eb-0310-8ba1-8eac791a3b58
To auria: something's weired with the rtt - you are calling setRenderTarget
twice - but it looks like it's not working for the kart screen otherwise.
I've worked around so that at least the 2d rendering works as expected (with
a single call).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4014 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(i.e. not displayed in minimap).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@4013 178a84e3-b1eb-0310-8ba1-8eac791a3b58