speed-dreams-code/src/interfaces
mungewell a6234ae5a6 auto_reverse_during_spin
When auto-reverse is selected reverse can/will be selected if the car spins
this makes recovery difficult.

This patch fixes it so that the 2D speed is used to gate reverse, since the
sqrt(x^2+y^2) is used multiple times it also pre-computes this and stores as
an addition variable. This can/should be used by other functions.

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@3804 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: beb7b643361d78143e7d3f1b9891bc15dc4015a1
Former-commit-id: 0110389e97e4550dba6e509e26bd19263753f641
2011-08-11 01:31:56 +00:00
..
car.h auto_reverse_during_spin 2011-08-11 01:31:56 +00:00
CMakeLists.txt Fixes #160 : Mute sound during pause/stop race menu/pit + fixed LP filter simulation on engine sound with Open AL + formaly cleaned up / clarified sound engine code 2011-07-21 22:29:34 +00:00
graphic.h Fixed sometimes black SkyDome with dynamic time enabled + make dynamic time work correctly when accelerated simulation time 2011-06-12 18:30:22 +00:00
igraphicsengine.h Re #374 Code cleanup (after moving the ssggraph module to the new C++ module scheme) 2011-06-12 12:01:17 +00:00
iphysicsengine.h Re #374 Moved simu V2, v2.1 and V3 to the new C++ module system 2011-05-15 15:55:24 +00:00
iraceengine.h Re #377 Reworked the game event loop towards better separated race engine and user interface 2011-04-27 22:05:40 +00:00
isoundengine.h Fixes #160 : Mute sound during pause/stop race menu/pit + fixed LP filter simulation on engine sound with Open AL + formaly cleaned up / clarified sound engine code 2011-07-21 22:29:34 +00:00
itrackloader.h Re #374 Moved the track module to the new C++ dynamically loadable module scheme 2011-04-09 07:36:56 +00:00
iuserinterface.h Re #377 Made IUserInterface service names more generic about the kind of user interface (no more screen, menu ... words) + Enabled in-race time acceleration up to 16 (was 4) 2011-06-03 10:24:14 +00:00
playerpref.h 87_allow_NR_sequential 2011-07-20 03:55:48 +00:00
raceman.h Re #377 Made IUserInterface service names more generic about the kind of user interface (no more screen, menu ... words) + Enabled in-race time acceleration up to 16 (was 4) 2011-06-03 10:24:14 +00:00
replay.h Set svn:keywords property to Id for every source text file, in order to get svn substitution for $ in the file headers 2010-10-17 19:03:40 +00:00
robot.h Fixed #301 (wet track race/robot feature) 2010-12-23 13:48:53 +00:00
telemetry.h Set svn:keywords property to Id for every source text file, in order to get svn substitution for $ in the file headers 2010-10-17 19:03:40 +00:00
track.h Calculate track segment angles at load time. Re #372. 2011-07-29 22:24:35 +00:00