diff options
author | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-10-16 15:41:50 +0400 |
---|---|---|
committer | Kester Maddock <Christopher.Maddock.1@uni.massey.ac.nz> | 2004-10-16 15:41:50 +0400 |
commit | 7b2567924b9b86961cd4c07b76653f49939cab1c (patch) | |
tree | adcf1091db6f3f78c05c6b02c567a9b77fc10092 /source/gameengine/GameLogic/SCA_IInputDevice.cpp | |
parent | 063982914038ecd578bab7849a1e94cccbb8d8b9 (diff) |
Switch fixed time system. Logic updates should now happen at 30Hz, physics at 60Hz. (By default, use Python to set.) Some actuators still run at framerate (IPO, Action) for nice smooth animation, and an excuse to buy high end hardware.
Keyboard sensors can now hook escape key. Ctrl-Break can be used from within blender if you've forgotten an end game actuator.
Fixed a stupid bug preventing some actuators working (like TrackTo).
Diffstat (limited to 'source/gameengine/GameLogic/SCA_IInputDevice.cpp')
-rw-r--r-- | source/gameengine/GameLogic/SCA_IInputDevice.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_IInputDevice.cpp b/source/gameengine/GameLogic/SCA_IInputDevice.cpp index d73549b8818..87d161ecabc 100644 --- a/source/gameengine/GameLogic/SCA_IInputDevice.cpp +++ b/source/gameengine/GameLogic/SCA_IInputDevice.cpp @@ -50,7 +50,10 @@ SCA_IInputDevice::~SCA_IInputDevice() { } - +void SCA_IInputDevice::HookEscape() +{ + assert(false && "This device does not support hooking escape."); +} void SCA_IInputDevice::ClearStatusTable(int tableid) { |