[Scummvm-git-logs] scummvm branch-2-2 -> faa0dc233268d2d5e57f9b4e5c0a1eaf06c5a945

dreammaster paulfgilbert at gmail.com
Fri Oct 9 04:12:10 UTC 2020


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:
faa0dc2332 XEEN: Don't show curosr during intro cutscenes


Commit: faa0dc233268d2d5e57f9b4e5c0a1eaf06c5a945
    https://github.com/scummvm/scummvm/commit/faa0dc233268d2d5e57f9b4e5c0a1eaf06c5a945
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-10-08T21:11:59-07:00

Commit Message:
XEEN: Don't show curosr during intro cutscenes

Changed paths:
    engines/xeen/worldofxeen/worldofxeen_menu.cpp


diff --git a/engines/xeen/worldofxeen/worldofxeen_menu.cpp b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
index 6d80e62806..7b4e540d10 100644
--- a/engines/xeen/worldofxeen/worldofxeen_menu.cpp
+++ b/engines/xeen/worldofxeen/worldofxeen_menu.cpp
@@ -597,14 +597,18 @@ bool OtherOptionsDialog::handleEvents() {
 	case Common::KEYCODE_d:
 		delete this;
 		sound.stopAllAudio();
+		WOX_VM._events->hideCursor();
 		WOX_VM.showDarkSideIntro(false);
+		WOX_VM._events->showCursor();
 		break;
 
 	case Common::KEYCODE_c:
 		if (g_vm->getGameID() == GType_WorldOfXeen) {
 			delete this;
 			sound.stopAllAudio();
+			WOX_VM._events->hideCursor();
 			WOX_VM.showCloudsIntro();
+			WOX_VM._events->showCursor();
 		}
 		break;
 
@@ -612,7 +616,9 @@ bool OtherOptionsDialog::handleEvents() {
 		if (g_vm->_gameWon[1]) {
 			delete this;
 			sound.stopAllAudio();
+			WOX_VM._events->hideCursor();
 			WOX_VM.showDarkSideEnding(g_vm->_finalScore);
+			WOX_VM._events->showCursor();
 		}
 		break;
 
@@ -620,7 +626,9 @@ bool OtherOptionsDialog::handleEvents() {
 		if (g_vm->_gameWon[0]) {
 			delete this;
 			sound.stopAllAudio();
+			WOX_VM._events->hideCursor();
 			WOX_VM.showCloudsEnding(g_vm->_finalScore);
+			WOX_VM._events->showCursor();
 		}
 		break;
 
@@ -628,7 +636,9 @@ bool OtherOptionsDialog::handleEvents() {
 		if (g_vm->_gameWon[2]) {
 			delete this;
 			sound.stopAllAudio();
+			WOX_VM._events->hideCursor();
 			WOX_VM.showWorldOfXeenEnding(NON_GOOBER, g_vm->_finalScore);
+			WOX_VM._events->showCursor();
 		}
 		break;
 




More information about the Scummvm-git-logs mailing list