diff options
author | Adrian Astley | 2014-12-19 11:14:10 -0600 |
---|---|---|
committer | Adrian Astley | 2014-12-19 11:14:10 -0600 |
commit | acb172251aa7401f43308ebcac9f30bef3aa40f5 (patch) | |
tree | 8ecbd0c38f0e8ea8294473e03069a9d40fa7b4c8 /engines/zvision/core/events.cpp | |
parent | 3c2ac653b2ee2c7f2efd2684516a13eb47cbf102 (diff) | |
download | scummvm-rg350-acb172251aa7401f43308ebcac9f30bef3aa40f5.tar.gz scummvm-rg350-acb172251aa7401f43308ebcac9f30bef3aa40f5.tar.bz2 scummvm-rg350-acb172251aa7401f43308ebcac9f30bef3aa40f5.zip |
ZVISION: Large scale variable, function, and class renaming to improve code clarity
Diffstat (limited to 'engines/zvision/core/events.cpp')
-rw-r--r-- | engines/zvision/core/events.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/zvision/core/events.cpp b/engines/zvision/core/events.cpp index c66e61a61a..fe357c263b 100644 --- a/engines/zvision/core/events.cpp +++ b/engines/zvision/core/events.cpp @@ -194,7 +194,7 @@ void ZVision::processEvents() { case Common::KEYCODE_LEFT: case Common::KEYCODE_RIGHT: if (_renderManager->getRenderTable()->getRenderState() == RenderTable::PANORAMA) - _kbdVelocity = (_event.kbd.keycode == Common::KEYCODE_LEFT ? + _keyboardVelocity = (_event.kbd.keycode == Common::KEYCODE_LEFT ? -_scriptManager->getStateValue(StateKey_KbdRotateSpeed) : _scriptManager->getStateValue(StateKey_KbdRotateSpeed)) * 2; break; @@ -202,7 +202,7 @@ void ZVision::processEvents() { case Common::KEYCODE_UP: case Common::KEYCODE_DOWN: if (_renderManager->getRenderTable()->getRenderState() == RenderTable::TILT) - _kbdVelocity = (_event.kbd.keycode == Common::KEYCODE_UP ? + _keyboardVelocity = (_event.kbd.keycode == Common::KEYCODE_UP ? -_scriptManager->getStateValue(StateKey_KbdRotateSpeed) : _scriptManager->getStateValue(StateKey_KbdRotateSpeed)) * 2; break; @@ -226,12 +226,12 @@ void ZVision::processEvents() { case Common::KEYCODE_LEFT: case Common::KEYCODE_RIGHT: if (_renderManager->getRenderTable()->getRenderState() == RenderTable::PANORAMA) - _kbdVelocity = 0; + _keyboardVelocity = 0; break; case Common::KEYCODE_UP: case Common::KEYCODE_DOWN: if (_renderManager->getRenderTable()->getRenderState() == RenderTable::TILT) - _kbdVelocity = 0; + _keyboardVelocity = 0; break; default: break; |