[Scummvm-git-logs] scummvm master -> 2611b7e6b8fc2772dc7c936dbc3a02739b31062e

dreammaster noreply at scummvm.org
Fri Jul 1 02:14:25 UTC 2022


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1eef928f0b CHEWY: Add some quit checks to room 3
2611b7e6b8 CHEWY: Quit game after endgame credits


Commit: 1eef928f0b77c031591ba2ffada3a3a785be2971
    https://github.com/scummvm/scummvm/commit/1eef928f0b77c031591ba2ffada3a3a785be2971
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-06-30T19:04:32-07:00

Commit Message:
CHEWY: Add some quit checks to room 3

Changed paths:
    engines/chewy/rooms/room03.cpp


diff --git a/engines/chewy/rooms/room03.cpp b/engines/chewy/rooms/room03.cpp
index d35667d1fec..b3bfe4e9107 100644
--- a/engines/chewy/rooms/room03.cpp
+++ b/engines/chewy/rooms/room03.cpp
@@ -196,8 +196,10 @@ void Room3::probeCreak() {
 	_G(auto_mov_obj)[SONDE_OBJ].Mode = true;
 	init_auto_obj(SONDE_OBJ, &SONDE_PHASEN[0][0], 3, (MovLine*)sonde_mpkt1);
 	_G(flags).AniUserAction = false;
-	while (_G(mov_phasen)[SONDE_OBJ].Repeat != -1)
+	while (_G(mov_phasen)[SONDE_OBJ].Repeat != -1) {
 		set_ani_screen();
+		SHOULD_QUIT_RETURN;
+	}
 
 	_G(det)->startDetail(SONDE_SHOOT, 1, ANI_FRONT);
 	int16 ende = 0;
@@ -249,7 +251,7 @@ void Room3::probeCreak() {
 	clear_prog_ani();
 	_G(det)->startDetail(SONDE_CLEAR, 1, ANI_BACK);
 	while (_G(det)->get_ani_status(SONDE_CLEAR)) {
-
+		SHOULD_QUIT_RETURN;
 		_G(spr_info)[0] = _G(det)->plot_detail_sprite(0, 0, SONDE_ANI, SONDE_SPR_R, ANI_HIDE);
 		_G(spr_info)[0]._zLevel = 0;
 		set_ani_screen();


Commit: 2611b7e6b8fc2772dc7c936dbc3a02739b31062e
    https://github.com/scummvm/scummvm/commit/2611b7e6b8fc2772dc7c936dbc3a02739b31062e
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2022-06-30T19:14:02-07:00

Commit Message:
CHEWY: Quit game after endgame credits

Changed paths:
    engines/chewy/rooms/room89.cpp


diff --git a/engines/chewy/rooms/room89.cpp b/engines/chewy/rooms/room89.cpp
index 3a2a81a4203..c56460da2cb 100644
--- a/engines/chewy/rooms/room89.cpp
+++ b/engines/chewy/rooms/room89.cpp
@@ -143,6 +143,9 @@ void Room89::entry() {
 		_G(out)->fadeOut();
 		_G(out)->setPointer(nullptr);
 		_G(out)->cls();
+
+		// Quit the game
+		g_engine->quitGame();
 	}
 
 	_G(gameState).SVal2 = 0;




More information about the Scummvm-git-logs mailing list