Commit Graph

25 Commits

Author SHA1 Message Date
hikerstk
370fa80994 1) Made some attributes private.
2) Fixed the AI calling rescue when crashing repeatedly (which hasn't
  d been working since bullet physics was used).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2138 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-24 06:29:35 +00:00
cosmosninja
eb482c7d4b Updated the GPL version to GPLv3.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@2128 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-06-13 00:53:52 +00:00
auria
8909c02cda better handling of very slow computers
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1827 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-08 01:48:51 +00:00
hikerstk
a41ce77029 Increased the number of substeps to give better kart acceleration (though
slower reaction) on slower machines.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1816 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-05-05 08:01:41 +00:00
hikerstk
e993add76d 1) Made some of the upright constraint parameter configureable.
2) Made some camera parameters configureable.
3) Some code cleanup for karts.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1772 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-29 03:29:28 +00:00
hikerstk
b6541195c2 Added an 'upright constraint' which prevents the karts from toppling
over after a jump (e.g. ramp, or paper plane).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1721 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-22 14:20:52 +00:00
hikerstk
dd253390fb Bugfix: direct hits of karts by projectiles were not recognised due to
using an incorrect pointer. This could lead to karts being pushed through
the track.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1705 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-04-20 23:37:20 +00:00
hikerstk
bea8439052 Enabled up to three internal substeps for the physics, which means
that we could work with framerates as low as 20 FPS without
getting noticeable changes in the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1510 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-18 02:03:06 +00:00
hikerstk
7b51fc9d6e Removed warning for g++ compilations.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1506 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-17 12:47:26 +00:00
hikerstk
35514f15f8 Update to bullet 2.67 beta1 (which fixed the problem of karts falling through the
track with optimised triangle meshes).


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1497 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-15 03:53:41 +00:00
hikerstk
34580af755 Avoid the 'machine gun like' sound effect caused by
repeatedly playing the crash sound - which is caused by
1) collisions reported more than once (since it takes
   a few frames till a collision is resolved)
2) collision between karts and tracks when accelerating,
   which is most likely caused by the chassis hitting
   the ground (that might be fixed by better physics
   parameters).



git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1447 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-07 10:10:27 +00:00
hikerstk
a3094590d6 1) Improved handling of 'moving' or 'physical' objects (e.g. road cone).
You can now shoot them, and they will be pushed aside by a close-by
   explosions.
2) Bugfix: Physical objects are now reset to the correct starting location.
3) Physical objects have now angular friction defined, preventing them from
   rotating endlessly.
4) Karts have now some 'restitution', which adds a bit of bouncing to collisions.




git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1445 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-05 11:56:21 +00:00
hikerstk
56db981ece Fixed crash when using 'moving_physics' object.
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1439 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-02-03 12:21:20 +00:00
hikerstk
c3d3f3ab19 Improved handling of bullet user pointers, which should fix the problem
of rockets not exploding when hitting the track anymore. But there is
still a bug with homing missiles, which still don't explode :(


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1425 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2008-01-30 05:30:10 +00:00
hikerstk
a5e2ef24d5 1) Fixed zipper (settings for further tuning in stk_config.data).
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
2008-01-01 14:30:39 +00:00
hikerstk
6daa2ef2d0 1) Removed more windows warnings.
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
2007-12-20 04:37:35 +00:00
hikerstk
0f0ae96039 1) Fixed automatic rescue mode when kart is on reset terrain.
2) More non-bullet code cleanup.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1361 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-12-17 13:16:09 +00:00
hikerstk
d0c1aa9e8c 1) Fixed 'rescue bug', i.e. karts have now a proper
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
2007-12-12 14:07:26 +00:00
hikerstk
7ed846ca3e 1) Improved rockets and sparks for bullet physics
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
2007-12-08 13:04:56 +00:00
hikerstk
c21c9b5573 1) Removed some memory leaks in physics.
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
2007-11-08 12:31:54 +00:00
hikerstk
81b078d16f Bullet only: included bullet 2.64 in the STK sources
and build environment. Default is still to build the non-bullet
version, to get bullet, configure with '--enable-bullet'.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1282 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-11-05 13:38:57 +00:00
hikerstk
b5c7b8233b Bullet only:
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
2007-11-03 13:13:26 +00:00
hikerstk
9ea37bf14f Bullet only: update to work with SVN revision 813 of bullet. For now
you have to define NEWBULLET when compiling the physics.


git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1271 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-10-01 02:21:42 +00:00
hikerstk
638970bd46 Bullet only:
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
2007-09-30 14:17:28 +00:00
grumbel
7a6d165641 - moved trunk/ to trunk/supertuxkart
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/trunk/supertuxkart@1118 178a84e3-b1eb-0310-8ba1-8eac791a3b58
2007-05-27 16:01:53 +00:00