aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.h
diff options
context:
space:
mode:
authorMartin Kiewitz2016-02-21 17:21:48 +0100
committerMartin Kiewitz2016-02-21 17:21:48 +0100
commit3e4efdbd278583569b41fc4453e7ebbb4aebfab0 (patch)
tree92d41f68321365186d91236e3fdbaec790fac063 /engines/sci/graphics/frameout.h
parent0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f (diff)
downloadscummvm-rg350-3e4efdbd278583569b41fc4453e7ebbb4aebfab0.tar.gz
scummvm-rg350-3e4efdbd278583569b41fc4453e7ebbb4aebfab0.tar.bz2
scummvm-rg350-3e4efdbd278583569b41fc4453e7ebbb4aebfab0.zip
SCI32: Implement syncing planes+screen items from VM for restore
Fixes restoring saved games, when ScummVM dialogs are patched in Removing clearing planes+screen items as well, because the scripts actually did that, but did not clear everything. Fixes "Invalid screen item" message when entering options menu, after restoring in SQ6.
Diffstat (limited to 'engines/sci/graphics/frameout.h')
-rw-r--r--engines/sci/graphics/frameout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h
index 08ff3c05d8..0da6866f7c 100644
--- a/engines/sci/graphics/frameout.h
+++ b/engines/sci/graphics/frameout.h
@@ -233,6 +233,7 @@ public:
~GfxFrameout();
void clear();
+ void syncWithScripts(bool addElements); // this is what Game::restore does, only needed when our ScummVM dialogs are patched in
void run();
#pragma mark -