diff options
author | David Fioramonti | 2017-07-30 09:23:41 -0700 |
---|---|---|
committer | David Fioramonti | 2017-07-30 09:23:41 -0700 |
commit | 0614174c5f079c422d42ac82b11ce59ec6105f9c (patch) | |
tree | 0f1ebaf34e0b1a9469871e5ee2fcdbe200cf498b /engines | |
parent | 2c6b2532dd19d0ff268dc1c099f4bf18e86a42da (diff) | |
download | scummvm-rg350-0614174c5f079c422d42ac82b11ce59ec6105f9c.tar.gz scummvm-rg350-0614174c5f079c422d42ac82b11ce59ec6105f9c.tar.bz2 scummvm-rg350-0614174c5f079c422d42ac82b11ce59ec6105f9c.zip |
TITANIC: Star View: Added keyboard key to look up
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/star_control/star_view.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/titanic/star_control/star_view.cpp b/engines/titanic/star_control/star_view.cpp index e02152de6b..97752c2f95 100644 --- a/engines/titanic/star_control/star_view.cpp +++ b/engines/titanic/star_control/star_view.cpp @@ -227,6 +227,15 @@ bool CStarView::KeyCharMsg(int key, CErrorCode *errorCode) { } break; + case Common::KEYCODE_SLASH: + if (matchedIndex == -1) { + pose.setRotationMatrix(X_AXIS, 1.0); + _camera.proc22(pose); + _camera.updatePosition(errorCode); + return true; + } + break; + default: break; } |