[Scummvm-git-logs] scummvm master -> 05579a40ffae264e78ca1e5ee6c10a27d2476a9a

dreammaster paulfgilbert at gmail.com
Tue Dec 15 05:31:04 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:
05579a40ff GLK: COMPREHEND: Special opcode for switching to graphics mode


Commit: 05579a40ffae264e78ca1e5ee6c10a27d2476a9a
    https://github.com/scummvm/scummvm/commit/05579a40ffae264e78ca1e5ee6c10a27d2476a9a
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-12-14T20:58:33-08:00

Commit Message:
GLK: COMPREHEND: Special opcode for switching to graphics mode

Changed paths:
    engines/glk/comprehend/game_tm.cpp


diff --git a/engines/glk/comprehend/game_tm.cpp b/engines/glk/comprehend/game_tm.cpp
index e8f10c1942..85fe7ee169 100644
--- a/engines/glk/comprehend/game_tm.cpp
+++ b/engines/glk/comprehend/game_tm.cpp
@@ -164,6 +164,15 @@ void TalismanGame::handleSpecialOpcode() {
 		handleAction(nullptr);
 		break;
 
+	case 17:
+		// Switch to graphics mode
+		if (!g_comprehend->isGraphicsEnabled())
+			g_comprehend->toggleGraphics();
+
+		_updateFlags |= UPDATE_ALL;
+		update();
+		break;
+
 	default:
 		break;
 	}




More information about the Scummvm-git-logs mailing list