[Scummvm-git-logs] scummvm master -> 42a5a8a6b0d675f1dee987a522f163fe5456911b
neuromancer
noreply at scummvm.org
Sun Jun 5 11:30:36 UTC 2022
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:
42a5a8a6b0 HYPNO: enabled restored content in another wet demo
Commit: 42a5a8a6b0d675f1dee987a522f163fe5456911b
https://github.com/scummvm/scummvm/commit/42a5a8a6b0d675f1dee987a522f163fe5456911b
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-06-05T13:31:10+02:00
Commit Message:
HYPNO: enabled restored content in another wet demo
Changed paths:
engines/hypno/wet/arcade.cpp
engines/hypno/wet/wet.cpp
diff --git a/engines/hypno/wet/arcade.cpp b/engines/hypno/wet/arcade.cpp
index ea201b3c910..4db5ccc012e 100644
--- a/engines/hypno/wet/arcade.cpp
+++ b/engines/hypno/wet/arcade.cpp
@@ -838,7 +838,7 @@ void WetEngine::missedTarget(Shoot *s, ArcadeShooting *arc) {
// In some levels, the hit boss video is used to store this ending
MVideo video(arc->hitBoss1Video, Common::Point(0, 0), false, true, false);
runIntro(video);
- loadPalette(arc->backgroundPalette);
+ loadPalette(_currentPalette);
_background->decoder->pauseVideo(false);
updateScreen(*_background);
drawScreen();
diff --git a/engines/hypno/wet/wet.cpp b/engines/hypno/wet/wet.cpp
index f6544d06b49..ebe1033fb09 100644
--- a/engines/hypno/wet/wet.cpp
+++ b/engines/hypno/wet/wet.cpp
@@ -205,7 +205,18 @@ void WetEngine::loadAssetsDemoDisc() {
}
} else if (_variant == "DemoHebrew") {
loadArcadeLevel("c31.mis", "c52.mis", "c52.mis", "wetlands");
+ if (_restoredContentEnabled) {
+ arc = (ArcadeShooting*) _levels["c31.mis"];
+ arc->segments[0].size = 1354;
+ arc->objKillsRequired[0] = 2;
+ }
loadArcadeLevel("c52.mis", "<game_over>", "<quit>", "wetlands");
+ if (_restoredContentEnabled) {
+ arc = (ArcadeShooting*) _levels["c52.mis"];
+ arc->segments[0].size = 2383;
+ arc->objKillsRequired[0] = 2;
+ arc->objKillsRequired[1] = 13;
+ }
} else {
error("Unsupported variant");
}
More information about the Scummvm-git-logs
mailing list