aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2017-07-31 20:15:27 -0400
committerGitHub2017-07-31 20:15:27 -0400
commit993b013ad9a500cb150bb9aa5b03c2e1c309f5f9 (patch)
tree5e309378f5d4d461a163dc74ad568633901de6fe /engines
parentb5662866dcd8d73c20270269c83ae7db232c100e (diff)
parent0614174c5f079c422d42ac82b11ce59ec6105f9c (diff)
downloadscummvm-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.cpp9
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;
}