1) called when any kart is not upside down and slowed down
2) called for AI when it's not making progress (the old
method of using m_collided did not work in at least one
case I have seen).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1395 178a84e3-b1eb-0310-8ba1-8eac791a3b58
can be pushed around by karts (currently only used in
tux tollway).
2) Removed support for magnet.
3) Some code cleanup for missiles etc.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1379 178a84e3-b1eb-0310-8ba1-8eac791a3b58
collisions happend in a short time).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1373 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Fixed bug in collision detection (a kart-kart crash could cause
a sigsegv).
3) Fixed bug in track loader, which caused somer track objects (e.g.
zipper in bsod castle) not to get the correct pitch/roll, causing
them to 'stick out')
4) Fixed wheelie handling for AI (though wheelies are still disabled
by default, change wheelie-max-speed-ratio to 0.5 to test).
5) Some cleanup of non-bullet code.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1370 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Cleanup of old unused, and non-bullet code
3) Fixed wheelies, though they are currently still
disabled in the stk_config.data file since the
AI crashes with the new wheelie implementation.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1365 178a84e3-b1eb-0310-8ba1-8eac791a3b58
heading after being rescued
2) Partly fixed 'automatic rescue' bug: karts get
rescued when touching a reset material (though it
currently can take a bit before it happens).
3) Restructured code: track loading and converting
is now done in the track object.
4) Fixed several warnings for windows.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1345 178a84e3-b1eb-0310-8ba1-8eac791a3b58
Parameters for rockets etc. can for now be
set in data/*.projectile
2) Fixed bugs causing rockets not to explode (and
potentialy start rotating)
3) Added (somewhat temporarily) some cheats to get
rockets, homing missiles and sparks as F1/2/3
4) Fixed several memory leaks.
5) Fixed (very rare) occurring crash when deleting
phsyics.
6) Started to remove non-bullet physics code
7) Bullet physics is now the default, and it
can not be disabled anymore!!
Important note:
From this revision on, non-bullet physics is NOT
supported anymore, and will (most likely) not
compile. For now a -DBULLET is still necessary (it
is added as default), but the code will be cleaned
up in the near future.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1325 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) Fixed bug 1827284 (sand track bridge could not be used with bullet) by not
converting triangles which have the 'ignore' property set.
3) Fixed bug 1826773 (jumping while in air was possible)
4) Started adding support for projectiles which stay close
to the ground (not finished yet).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1284 178a84e3-b1eb-0310-8ba1-8eac791a3b58
1) Added bullet collision handling, e.g. rocket hits are now
detected by bullet code, bombs will be passed on etc.
2) Rockets are now handled by bullet as well.
3) Moved expected location of bullet from STK/bullet to
STK/src/bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1280 178a84e3-b1eb-0310-8ba1-8eac791a3b58
1) some minor restructuring as preparation for
converting the missiles to bullet.
2) Added support for later bullet versions (using
btBroadphaseInterface instead of btOverlappingPairCache
in ctor of btDiscreteDynamicsWorld).
Default is still the old interface, use -DNEWBULLET for
physics.cpp if a newer bullet version is available
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1270 178a84e3-b1eb-0310-8ba1-8eac791a3b58
with about 10 karts in tuxtrack and islandtrack).
The number of karts is additionally now limited
to 10 (see stk_config.data), the only reason for this
is to avoid the same bug report when someone is using
more karts than the number of specified start locations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1261 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2) The 'unlimited rocket' cheat is now bound to F7
(before it was a clear key, which isn't available on
all keyboards - at least not on mine).
Bullet only:
3) Gear parameters are now configureable and can
be specified in stk_config.data and separately
for each kart.
4) An explosion will somewhat push other karts that
are close by away (some feedback on this feature
is welcome - the impulse can be set in the
stk_config file).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1214 178a84e3-b1eb-0310-8ba1-8eac791a3b58
including a defineable max-speed-reverse-ratio (bullet only).
Added a getsProjectile() when get hit by a homing missile (bullet only).
Modified forceCrash() for bullet.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1205 178a84e3-b1eb-0310-8ba1-8eac791a3b58
non-bullet parameters. Bullet now has separate parameters
for mass, steer angle, and enigne power.
2) bullet only: Added suspension rest parameter (which might fix
the problem of karts not working on tuxtrack and other tracks).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1201 178a84e3-b1eb-0310-8ba1-8eac791a3b58
in this case, accelerating should be braking (and
work with more force than just accelerating).
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1155 178a84e3-b1eb-0310-8ba1-8eac791a3b58