[Scummvm-git-logs] scummvm master -> 3f9bac6bd8d3b7e66ca484a69f3d4df5c424c723
bluegr
noreply at scummvm.org
Thu Mar 26 05:33:07 UTC 2026
This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
0fcbe83b45 AGOS: Further fixes for PN 'wait' command
3f9bac6bd8 AGOS: Comments to clarify fixes for PN 'wait' command
Commit: 0fcbe83b45126d8f0cb5153d9a9c418861a02892
https://github.com/scummvm/scummvm/commit/0fcbe83b45126d8f0cb5153d9a9c418861a02892
Author: Robert Megone (robert.megone at gmail.com)
Date: 2026-03-26T07:33:02+02:00
Commit Message:
AGOS: Further fixes for PN 'wait' command
Changed paths:
engines/agos/script_pn.cpp
diff --git a/engines/agos/script_pn.cpp b/engines/agos/script_pn.cpp
index 3cb698b8330..e9b063981ef 100644
--- a/engines/agos/script_pn.cpp
+++ b/engines/agos/script_pn.cpp
@@ -625,7 +625,20 @@ void AGOSEngine_PN::opn_opcode52() {
if (mode == 1) {
setWindowImage(mode, varval(), true);
} else {
- setWindowImageEx(mode, varval());
+ int32 image = varval();
+ setWindowImageEx(mode, image);
+
+ if (mode == 0 && image == 48 && _procnum == 192) {
+ if (_paletteFlag == 2) {
+ _paletteFlag = 1;
+ }
+
+ displayScreen();
+ _displayFlag = 0;
+ _system->updateScreen();
+ _pendingWaitCommandDelay = false;
+ _system->delayMillis(2000);
+ }
}
setScriptReturn(true);
Commit: 3f9bac6bd8d3b7e66ca484a69f3d4df5c424c723
https://github.com/scummvm/scummvm/commit/3f9bac6bd8d3b7e66ca484a69f3d4df5c424c723
Author: Robert Megone (robert.megone at gmail.com)
Date: 2026-03-26T07:33:02+02:00
Commit Message:
AGOS: Comments to clarify fixes for PN 'wait' command
Changed paths:
engines/agos/script_pn.cpp
diff --git a/engines/agos/script_pn.cpp b/engines/agos/script_pn.cpp
index e9b063981ef..3e1e01f675b 100644
--- a/engines/agos/script_pn.cpp
+++ b/engines/agos/script_pn.cpp
@@ -628,7 +628,12 @@ void AGOSEngine_PN::opn_opcode52() {
int32 image = varval();
setWindowImageEx(mode, image);
+ // Handle drawing the "time passes" screen via the normal image path.
+ // without this, the script advances immediately and the screen is replacee
+ // as soon as it becomes visible.
if (mode == 0 && image == 48 && _procnum == 192) {
+ // If a palette update is still pending, make it visible now
+ // so the "time passes" screen uses the correct colors.
if (_paletteFlag == 2) {
_paletteFlag = 1;
}
More information about the Scummvm-git-logs
mailing list