From 0614174c5f079c422d42ac82b11ce59ec6105f9c Mon Sep 17 00:00:00 2001 From: David Fioramonti Date: Sun, 30 Jul 2017 09:23:41 -0700 Subject: TITANIC: Star View: Added keyboard key to look up --- engines/titanic/star_control/star_view.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'engines') 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; } -- cgit v1.2.3