ref counting to file system object in file manager (not strictly necessary,
but cleaner).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9968 178a84e3-b1eb-0310-8ba1-8eac791a3b58
one was created just to get the list of modes, before the actual device
is then created). This fixes a minor memory leak (the 2nd NULL device was not
freed), encapsulates all device creation into irr_driver (and not in
file_manager).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9967 178a84e3-b1eb-0310-8ba1-8eac791a3b58
correctly, resulting in wheel textures to be freed even though the
textures were still used (in the master kart models).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9964 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(press keys '1' to '9' to move the camera to kart 0 - 8).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9963 178a84e3-b1eb-0310-8ba1-8eac791a3b58
from the physical body, so changes to the position were not
picked up as expected).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9961 178a84e3-b1eb-0310-8ba1-8eac791a3b58
people to give the AI certain items (it also avoids a
crash if one of the F? keys is pressed in profile mode).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9954 178a84e3-b1eb-0310-8ba1-8eac791a3b58
kart was first (among the still driving karts).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9953 178a84e3-b1eb-0310-8ba1-8eac791a3b58
player currently at front) it will disappear after a given
time (atm 5 seconds).
2) If the ball overtakes the target it will now be deleted.
3) Fixed ball sometimes turning in the wrong direcftion when
trying to hit a kart.
4) Some refactoring to make functions smaller.
5) Removed left-over debug code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9945 178a84e3-b1eb-0310-8ba1-8eac791a3b58
you didn't commit this, and I had it basically ready to go,
I just fixed this ;) ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9932 178a84e3-b1eb-0310-8ba1-8eac791a3b58
mode, which makes this better suited to find memory leaks.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9927 178a84e3-b1eb-0310-8ba1-8eac791a3b58
removed when it is fired, which is unsatisfactory. I leave
#446 open to find a better solution.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9926 178a84e3-b1eb-0310-8ba1-8eac791a3b58
not used anymore) - i.e. support for zipper attributes
(zipper are now a separate node). Cosmetic changes to
fix line lengths.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9923 178a84e3-b1eb-0310-8ba1-8eac791a3b58
it is close to its target. This gives karts a chance
to escape a rubber ball by driving irretically.
Also added some debug output to indicate when the
ball lost sight of its target (i.e. the ball was
going directly to a target, but then the target
was suddenly too far away), so perhaps the ball
should be removed then?
ATM the ball will continue, trying again to hit
the leader in the next round.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9921 178a84e3-b1eb-0310-8ba1-8eac791a3b58
all STK source files have less than 170 characters
per line ;) ).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9912 178a84e3-b1eb-0310-8ba1-8eac791a3b58
(#163). Objects must be declared with 'reset="Y"' in order
to trigger rescue.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9910 178a84e3-b1eb-0310-8ba1-8eac791a3b58