[Scummvm-git-logs] scummvm master -> 18a185ba45b94f5ac0afae2afaaab58ee072d367
neuromancer
noreply at scummvm.org
Sun Jun 5 11:07:42 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:
18a185ba45 HYPNO: enabled restored content in demo disc of wet
Commit: 18a185ba45b94f5ac0afae2afaaab58ee072d367
https://github.com/scummvm/scummvm/commit/18a185ba45b94f5ac0afae2afaaab58ee072d367
Author: neuromancer (gustavo.grieco at gmail.com)
Date: 2022-06-05T13:08:18+02:00
Commit Message:
HYPNO: enabled restored content in demo disc of wet
Changed paths:
engines/hypno/wet/wet.cpp
diff --git a/engines/hypno/wet/wet.cpp b/engines/hypno/wet/wet.cpp
index 8a82cd8eba1..f6544d06b49 100644
--- a/engines/hypno/wet/wet.cpp
+++ b/engines/hypno/wet/wet.cpp
@@ -187,10 +187,22 @@ void WetEngine::loadAssetsDemoDisc() {
movies->frameImage = "";
movies->frameNumber = 0;
_levels["<movies>"] = movies;
+ ArcadeShooting *arc;
if (_variant == "Demo") {
loadArcadeLevel("c31.mi_", "c52", "c52", "wetlands");
+ if (_restoredContentEnabled) {
+ arc = (ArcadeShooting*) _levels["c31.mi_"];
+ arc->segments[0].size = 1354;
+ arc->objKillsRequired[0] = 2;
+ }
loadArcadeLevel("c52.mi_", "<game_over>", "<quit>", "wetlands");
+ if (_restoredContentEnabled) {
+ arc = (ArcadeShooting*) _levels["c52.mi_"];
+ arc->segments[0].size = 2383;
+ arc->objKillsRequired[0] = 2;
+ arc->objKillsRequired[1] = 13;
+ }
} else if (_variant == "DemoHebrew") {
loadArcadeLevel("c31.mis", "c52.mis", "c52.mis", "wetlands");
loadArcadeLevel("c52.mis", "<game_over>", "<quit>", "wetlands");
More information about the Scummvm-git-logs
mailing list