[Scummvm-git-logs] scummvm master -> 411abee2d07f5344f39b4033cf0b185b21aaf1b2
dreammaster
dreammaster at scummvm.org
Sun Aug 20 04:15:39 CEST 2017
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
411abee2d0 TITANIC: Hide cursor when bridge view is showing movement sequence
Commit: 411abee2d07f5344f39b4033cf0b185b21aaf1b2
https://github.com/scummvm/scummvm/commit/411abee2d07f5344f39b4033cf0b185b21aaf1b2
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-08-19T22:15:30-04:00
Commit Message:
TITANIC: Hide cursor when bridge view is showing movement sequence
Changed paths:
engines/titanic/game/bridge_view.cpp
diff --git a/engines/titanic/game/bridge_view.cpp b/engines/titanic/game/bridge_view.cpp
index e8d70c8..14361b4 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;
More information about the Scummvm-git-logs
mailing list