mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
Add support for skipping swampy introduction
svn-id: r24041
This commit is contained in:
parent
23c1ba8cd6
commit
119ee3fb8b
@ -262,6 +262,7 @@ AGOSEngine::AGOSEngine(OSystem *syst)
|
||||
_unkPalFlag = 0;
|
||||
_exitCutscene = 0;
|
||||
_paletteFlag = 0;
|
||||
_picture8600 = 0;
|
||||
|
||||
_soundFileId = 0;
|
||||
_lastMusicPlayed = 0;
|
||||
|
@ -362,7 +362,7 @@ protected:
|
||||
uint16 _noOverWrite;
|
||||
bool _rejectBlock;
|
||||
|
||||
bool _exitCutscene;
|
||||
bool _exitCutscene, _picture8600;
|
||||
|
||||
uint _soundFileId;
|
||||
int16 _lastMusicPlayed;
|
||||
|
@ -1172,6 +1172,8 @@ void AGOSEngine::o_picture() {
|
||||
uint vga_res = getVarOrWord();
|
||||
uint mode = getVarOrByte();
|
||||
|
||||
_picture8600 = (vga_res == 8600);
|
||||
|
||||
if (mode == 4)
|
||||
vc29_stopAllSounds();
|
||||
|
||||
@ -2776,9 +2778,14 @@ void AGOSEngine::waitForMark(uint i) {
|
||||
_exitCutscene = false;
|
||||
while (!(_marks & (1 << i))) {
|
||||
if (_exitCutscene) {
|
||||
if (getBitFlag(9)) {
|
||||
endCutscene();
|
||||
break;
|
||||
if (getGameType() == GType_PP) {
|
||||
if (_picture8600)
|
||||
break;
|
||||
} else {
|
||||
if (getBitFlag(9)) {
|
||||
endCutscene();
|
||||
break;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
processSpecialKeys();
|
||||
|
Loading…
Reference in New Issue
Block a user