diff options
author | Paul Gilbert | 2017-07-31 20:15:27 -0400 |
---|---|---|
committer | GitHub | 2017-07-31 20:15:27 -0400 |
commit | 993b013ad9a500cb150bb9aa5b03c2e1c309f5f9 (patch) | |
tree | 5e309378f5d4d461a163dc74ad568633901de6fe /engines | |
parent | b5662866dcd8d73c20270269c83ae7db232c100e (diff) | |
parent | 0614174c5f079c422d42ac82b11ce59ec6105f9c (diff) | |
download | scummvm-rg350-993b013ad9a500cb150bb9aa5b03c2e1c309f5f9.tar.gz scummvm-rg350-993b013ad9a500cb150bb9aa5b03c2e1c309f5f9.tar.bz2 scummvm-rg350-993b013ad9a500cb150bb9aa5b03c2e1c309f5f9.zip |
Merge pull request #978 from dafioram/Titanic-star-keybrdlookup
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; } |