aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/game/bridge_view.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2017-08-19 22:15:30 -0400
committerPaul Gilbert2017-08-19 22:15:30 -0400
commit411abee2d07f5344f39b4033cf0b185b21aaf1b2 (patch)
tree3e6baffa26e0bbc7174eed1504fc882044626089 /engines/titanic/game/bridge_view.cpp
parenta62d1632b5de8f02e45b2c3a9f04eb87e7bfff50 (diff)
downloadscummvm-rg350-411abee2d07f5344f39b4033cf0b185b21aaf1b2.tar.gz
scummvm-rg350-411abee2d07f5344f39b4033cf0b185b21aaf1b2.tar.bz2
scummvm-rg350-411abee2d07f5344f39b4033cf0b185b21aaf1b2.zip
TITANIC: Hide cursor when bridge view is showing movement sequence
Diffstat (limited to 'engines/titanic/game/bridge_view.cpp')
-rw-r--r--engines/titanic/game/bridge_view.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/titanic/game/bridge_view.cpp b/engines/titanic/game/bridge_view.cpp
index e8d70c8c43..14361b4e8c 100644
--- a/engines/titanic/game/bridge_view.cpp
+++ b/engines/titanic/game/bridge_view.cpp
@@ -55,6 +55,7 @@ bool CBridgeView::ActMsg(CActMsg *msg) {
} else if (msg->_action == "Go") {
_action = BA_GO;
setVisible(true);
+ hideMouse();
volumeMsg._volume = 100;
volumeMsg.execute("EngineSounds");
onMsg.execute("EngineSounds");
@@ -67,10 +68,13 @@ bool CBridgeView::ActMsg(CActMsg *msg) {
if (msg->_action == "Cruise") {
_action = BA_CRUISE;
setVisible(true);
+ hideMouse();
playMovie(MOVIE_NOTIFY_OBJECT);
} else if (msg->_action == "GoEnd") {
_action = BA_ENDING1;
setVisible(true);
+ hideMouse();
+
CChangeMusicMsg musicMsg;
musicMsg._flags = 1;
musicMsg.execute("BridgeAutoMusicPlayer");
@@ -90,6 +94,7 @@ bool CBridgeView::MovieEndMsg(CMovieEndMsg *msg) {
case BA_GO:
case BA_CRUISE:
setVisible(false);
+ showMouse();
decTransitions();
break;