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
was freed (const char* trans = irr::core::stringc(_(next->m_v.m_string)).c_str();
the stringc is deleted after the assignment, and trans then points to the freed
memory).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3995 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Thanks to Hendrik Dark for the patch.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3994 178a84e3-b1eb-0310-8ba1-8eac791a3b58
can be split into several driveline sections. Connections between
main and non-main drivelines are computed depending on distance,
and driveline sections can have individual attributes (atm: invisible
- which will not show those drivelines in the minimap in the future).
2) Support for old-style drivelines was removed.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/branches/irrlicht@3993 178a84e3-b1eb-0310-8ba1-8eac791a3b58