SCI: implement delayed restore via ScummVM menu

will delay restoring a saved game until the next
 kGetEvent or kWait
also implement aborting playback for kPortrait
 and kShowMovie
This commit is contained in:
Martin Kiewitz 2015-04-26 09:08:46 +02:00
parent 21b138add2
commit bfba28c335
9 changed files with 51 additions and 8 deletions

View file

@ -131,6 +131,10 @@ public:
VirtualIndexFile *_virtualIndexFile;
#endif
// see detection.cpp / SciEngine::loadGameState()
bool _delayedRestoreGame; // boolean, that triggers delayed restore (triggered by ScummVM menu)
int _delayedRestoreGameId; // the saved game id, that it supposed to get restored (triggered by ScummVM menu)
uint _chosenQfGImportItem; // Remembers the item selected in QfG import rooms
bool _cursorWorkaroundActive; // Refer to GfxCursor::setPosition()