diff options
author | Martin Kiewitz | 2016-02-21 17:21:48 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-02-21 17:21:48 +0100 |
commit | 3e4efdbd278583569b41fc4453e7ebbb4aebfab0 (patch) | |
tree | 92d41f68321365186d91236e3fdbaec790fac063 /engines/sci/engine/selector.h | |
parent | 0abd5b5c4e4074d1b6d3dfb17ee5737280e6f28f (diff) | |
download | scummvm-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/engine/selector.h')
-rw-r--r-- | engines/sci/engine/selector.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/selector.h b/engines/sci/engine/selector.h index 6b724ed271..12074ed7d2 100644 --- a/engines/sci/engine/selector.h +++ b/engines/sci/engine/selector.h @@ -157,6 +157,8 @@ struct SelectorCache { Selector textTop, textLeft, textBottom, textRight; Selector magnifier; + + Selector casts; // needed for sync'ing screen items/planes with scripts, when our save/restore code is patched in (see GfxFrameout::syncWithScripts) #endif }; |