aboutsummaryrefslogtreecommitdiff
path: root/src/physics.c
AgeCommit message (Collapse)Author
2008-08-07Take seconds into account in physics timingtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@235 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-08-07Measure and subtract physics time from the waittaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@233 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-30Only check for collisions in adjacent rooms when lander is close to edgestaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@197 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-30Use simplified geometry for collision detectiontaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@196 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-28Tidying up physics.ctaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@191 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Lower 'clang' volume depending on speed of collisionweiss
Clang when hitting the floor as well git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@150 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Explode hookweiss
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@149 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Lose fuel when collidingweiss
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@148 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Radiation stuffweiss
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@147 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Calculate collision with objects outside the current roomweiss
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@146 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Actually recharge when landed on a platformweiss
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@145 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Make the recharge ripple fade nicelyweiss
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@144 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-19Put the 'recharge ripple' in the right placeweiss
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@143 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-18Tidy uptaw27
Only 'recharge' when landed on a platform git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@141 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-17Take yaw into account to calculate proper starting coords for collision ↵taw27
detection Set yawspeed to zero on landing git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@140 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-17Restore collision detection, apparently fixing the 'drop through floors' problemtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@138 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-17Make yaw movements a bit less sluggishtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@137 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-07-08Restructuring of collision detectiontaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@134 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-30Decode and convert Vorbis files in a separate threadtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@122 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-29Prefix debug messagestaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@118 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-29Change to 44.1 kHz audio samplingtaw27
Add 'clang' sound effect (needs work!), use for collision noise git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@113 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-29Audio stuff (broken)taw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@110 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-24Stop horizontal motion when landedtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@109 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-21Stufftaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@97 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-18Stufftaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@96 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-11Break (while actually fixing) collision detection...taw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@90 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-11Ignore moving from the back to the front of a quadtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@89 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-10Do collision detection maths with double-precision mathstaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@88 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-08Fussinesstaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@87 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-08Fix collision detection 'sticking'taw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@86 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-08Move to the collision position before stoppingtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@85 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-06-01Multiple portability fixestaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@57 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-28Collision response - make it possible to landtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@52 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-28Basic collision responsetaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@47 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-27Mostly fix collision detection (collision response now needs work...)taw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@46 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-26Physics worktaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@45 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-22Subdivision fixestaw27
First part of collision detection (needs work, commented out) Wireframe mode ('w' to enter, 'e' to exit) Spotlighting git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@35 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-19Do less physicstaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@29 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-17Fuel and radiation meter functionalitytaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@26 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-16Reshuffle lots of thingstaw27
Basic environment mapping stuff Remove OBJ file stuff git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@19 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-16Tweak physical parameterstaw27
Remove old code git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@18 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-05-14Hold FPS at around 100taw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@10 84d2e878-0bd5-11dd-ad15-13eda11d74c5
2008-04-16Initial importtaw27
git-svn-id: svn://cook.msm.cam.ac.uk:745/thrust3d/thrust3d@1 84d2e878-0bd5-11dd-ad15-13eda11d74c5