mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 20:34:12 +00:00
HYPNO: enabled restored content in pcw wet demo
This commit is contained in:
parent
ccd0978db0
commit
3606d74bde
@ -352,8 +352,15 @@ bool WetEngine::checkTransition(ArcadeTransitions &transitions, ArcadeShooting *
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
if (!at.video.empty()) {
|
||||
if (at.video.empty() && !at.palette.empty()) {
|
||||
_background->decoder->pauseVideo(true);
|
||||
_currentPalette = at.palette;
|
||||
loadPalette(_currentPalette);
|
||||
_background->decoder->pauseVideo(false);
|
||||
drawPlayer();
|
||||
updateScreen(*_background);
|
||||
drawScreen();
|
||||
} else if (!at.video.empty()) {
|
||||
_background->decoder->pauseVideo(true);
|
||||
debugC(1, kHypnoDebugArcade, "Playing transition %s", at.video.c_str());
|
||||
MVideo video(at.video, Common::Point(0, 0), false, true, false);
|
||||
|
@ -312,6 +312,16 @@ void WetEngine::loadAssetsPCW() {
|
||||
_levels["<start>"] = intro;
|
||||
|
||||
loadArcadeLevel("c11.mis", "<quit>", "<quit>", "");
|
||||
ArcadeShooting *arc;
|
||||
if (_restoredContentEnabled) {
|
||||
arc = (ArcadeShooting*) _levels["c11.mis"];
|
||||
arc->segments[0].size = 2002;
|
||||
arc->objKillsRequired[0] = 1;
|
||||
arc->transitions.push_back(ArcadeTransition("", "c11/c11p2.col", "", 0, 1501));
|
||||
// These videos were not included in the demo, so we replace them
|
||||
arc->defeatMissBossVideo = "c11\\c11d1.smk";
|
||||
arc->defeatNoEnergySecondVideo = "c11\\c11d1.smk";
|
||||
}
|
||||
|
||||
Transition *over = new Transition("<quit>");
|
||||
_levels["<game_over>"] = over;
|
||||
|
Loading…
x
Reference in New Issue
Block a user