casting; added function to convert time to a readable
string to the namespace; and cleaned up code in addon.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9528 178a84e3-b1eb-0310-8ba1-8eac791a3b58
'Berny & STKRudy85' (we only support &#...; type HTML entities)"; #364.
The reason for this warning message is that irrXML already decodes "&"
(in attribute values) - so even though the '&' is encoded correctly in
the xml as '&', STK only receives a '&' from irrlicht, which then triggers the
warning message. On the other hand, irrXML does not decode &#...; hex
values.
So short of changing our encoding of "&" I don't see another choice
except just removing this warning.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
addons file (and therefore saves the information about cached
icons and prevents them from being re-downloaded next time
STK is started). Fixed#382.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9509 178a84e3-b1eb-0310-8ba1-8eac791a3b58
the lowercase name if no id is specified.
This might potentially break existing addons - though atm I don't think we
have any addons that have an id different from the lowercase name.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
changing directions too quickly.
This still needs more tuning. Known bugs:
1) at the beginning the ball changes directions too quick
(if the kart is not close to the center of the driveline)
2) going towards the target kart (when the ball is close
enough) has not been ported yet, so balls will more
often miss their targets.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9502 178a84e3-b1eb-0310-8ba1-8eac791a3b58
distance along track is now moved into a separate class TrackSector
and used in linear_world and rubber ball.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9422 178a84e3-b1eb-0310-8ba1-8eac791a3b58
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
to determine which path to use (so that a target that is on a shortcut
can also be hit) - though this function atm only handles karts on the
main driveline.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9417 178a84e3-b1eb-0310-8ba1-8eac791a3b58
quad graph: now the distance of the node is the maximum
of all paths leading to it, which should solve the
problems with the cube (#354).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9416 178a84e3-b1eb-0310-8ba1-8eac791a3b58
is selected (this gives a HUGE speedup for non-graphics
run).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9411 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Irrlicht is autodetected if it is installed in /usr or /usr/local on linux
font_tool work (well, it does not work because there are some compilation error due to system specific libs I think, but I have it working if I change some code in src/font_tool/main.cpp, but I don't want to commit my modifications since I am not sure what this tool should do).
Detect when a library is not present and put an error when it is the cases.
Some paths change to have it working on out of source builds too.
Remove the DEBUG option, since cmake has already one to do that, -DCMAKE_BUILD_TYPE=Debug
Let me know if there are any problem/regressions with it, or just revert ;)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9405 178a84e3-b1eb-0310-8ba1-8eac791a3b58