be done from the hit function of the objects that need an explosion.
This makes flyable and the behaviour of flyables easier to understand
when reading the code, getting rid of the needsExplosion function.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9623 178a84e3-b1eb-0310-8ba1-8eac791a3b58
flyable object has to have a 'getHitString' function (instead
of the hard coded global functions like getBowlingString etc).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9622 178a84e3-b1eb-0310-8ba1-8eac791a3b58
updateAndDelete instead of update. The return
value indicates if the flyable/hit effect needs
to be deleted. That removes callbacks to the
projectile manager to indicate that something
needs to be deleted.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9619 178a84e3-b1eb-0310-8ba1-8eac791a3b58
projectile manager of special effects somewhat (now
no more calls from a hit effect to the projectile
manager are necessary).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9617 178a84e3-b1eb-0310-8ba1-8eac791a3b58
explosion. This will allow to easily add different effects
later.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9607 178a84e3-b1eb-0310-8ba1-8eac791a3b58
is just reusing the race-start 'ping', so this needs to be
replaced with a better sfx!!
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9598 178a84e3-b1eb-0310-8ba1-8eac791a3b58
points and the distance to target at which the rubber
ball starts aiming directly at the target configurable.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9550 178a84e3-b1eb-0310-8ba1-8eac791a3b58
that keys that were pressed when the menu was popping up are
still considered to be pressed (#359).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9549 178a84e3-b1eb-0310-8ba1-8eac791a3b58
of the situation that the target kart is lost (e.g. it might have finished
the race), so that the ball smoothly aims at the new target now.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9547 178a84e3-b1eb-0310-8ba1-8eac791a3b58
with graphics, since this can now be done using the --ai=... flag.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9540 178a84e3-b1eb-0310-8ba1-8eac791a3b58
properly in the calling functions, and it causes a crash
(in debug compilation) if a key is pressed during a profile run.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9539 178a84e3-b1eb-0310-8ba1-8eac791a3b58
to all kind of crashes later on). Thanks to KroArtem for reporting this.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9538 178a84e3-b1eb-0310-8ba1-8eac791a3b58
than 24 hours (to help in case that a zip file is needed to
debug). Also some minor cosmetic changes.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9536 178a84e3-b1eb-0310-8ba1-8eac791a3b58
defined. coug36: I think your r9532 broke something, there is
possible a better way of fixing this.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9534 178a84e3-b1eb-0310-8ba1-8eac791a3b58
the server anymore (i.e. not in the addons.xml file) will
now be removed, including a cached icon.
This fixes#378 (and will allow us later to easily remove
addons).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@9533 178a84e3-b1eb-0310-8ba1-8eac791a3b58
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