[Scummvm-git-logs] scummvm master -> d58cf612d7118d432007695f5dec43c8fbe50f50

dreammaster paulfgilbert at gmail.com
Sun Jul 5 05:21:26 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:
d58cf612d7 GLK: COMPREHEND: Implement CC endgame


Commit: d58cf612d7118d432007695f5dec43c8fbe50f50
    https://github.com/scummvm/scummvm/commit/d58cf612d7118d432007695f5dec43c8fbe50f50
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2020-07-04T22:21:11-07:00

Commit Message:
GLK: COMPREHEND: Implement CC endgame

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


diff --git a/engines/glk/comprehend/game_cc.cpp b/engines/glk/comprehend/game_cc.cpp
index 868b15e67e..be0ceb7949 100644
--- a/engines/glk/comprehend/game_cc.cpp
+++ b/engines/glk/comprehend/game_cc.cpp
@@ -109,9 +109,14 @@ void CrimsonCrownGame::handleSpecialOpcode(uint8 operand) {
 			console_println(_strings[407].c_str());
 
 		} else {
-			// Won the game.
-			// FIXME: The merchant ship should arrives, etc.
-			game_restart();
+			// Won the game
+			g_comprehend->drawLocationPicture(29, false);
+			g_comprehend->drawItemPicture(20);
+			console_println(stringLookup(0x21c).c_str());
+			console_println(stringLookup(0x21d).c_str());
+
+			g_comprehend->readChar();
+			g_comprehend->quitGame();
 		}
 		break;
 




More information about the Scummvm-git-logs mailing list