diff options
author | Paul Gilbert | 2017-08-19 22:15:30 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-19 22:15:30 -0400 |
commit | 411abee2d07f5344f39b4033cf0b185b21aaf1b2 (patch) | |
tree | 3e6baffa26e0bbc7174eed1504fc882044626089 | |
parent | a62d1632b5de8f02e45b2c3a9f04eb87e7bfff50 (diff) | |
download | scummvm-rg350-411abee2d07f5344f39b4033cf0b185b21aaf1b2.tar.gz scummvm-rg350-411abee2d07f5344f39b4033cf0b185b21aaf1b2.tar.bz2 scummvm-rg350-411abee2d07f5344f39b4033cf0b185b21aaf1b2.zip |
TITANIC: Hide cursor when bridge view is showing movement sequence
-rw-r--r-- | engines/titanic/game/bridge_view.cpp | 5 |
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; |