diff options
author | Willem Jan Palenstijn | 2016-02-24 00:12:29 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2016-02-27 14:21:14 +0100 |
commit | d803847ca1458d7caeaa2bd4bbffabe134e13ef4 (patch) | |
tree | 6eec6e6fa5df6e6e381b351879858a15573ee7a2 /engines/sci/engine/selector.h | |
parent | 138c19f06f2830a4c5b549de4852597529a2c121 (diff) | |
download | scummvm-rg350-d803847ca1458d7caeaa2bd4bbffabe134e13ef4.tar.gz scummvm-rg350-d803847ca1458d7caeaa2bd4bbffabe134e13ef4.tar.bz2 scummvm-rg350-d803847ca1458d7caeaa2bd4bbffabe134e13ef4.zip |
SCI32: Update InfoFlagViewVisible in VM opcodes
Diffstat (limited to 'engines/sci/engine/selector.h')
-rw-r--r-- | engines/sci/engine/selector.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/sci/engine/selector.h b/engines/sci/engine/selector.h index 12074ed7d2..1952ca0599 100644 --- a/engines/sci/engine/selector.h +++ b/engines/sci/engine/selector.h @@ -197,6 +197,16 @@ void writeSelector(SegManager *segMan, reg_t object, Selector selectorId, reg_t void invokeSelector(EngineState *s, reg_t object, int selectorId, int k_argc, StackPtr k_argp, int argc = 0, const reg_t *argv = 0); +#ifdef ENABLE_SCI32 +/** + * SCI32 set kInfoFlagViewVisible in the -info- selector if a certain + * range of properties was written to. + * This function checks if offset is in the right range, and sets the flag + * on obj.-info- if it is. + */ +void updateInfoFlagViewVisible(Object *obj, int offset); +#endif + } // End of namespace Sci #endif // SCI_ENGINE_KERNEL_H |