diff options
author | Colin Snover | 2017-04-01 22:01:22 -0500 |
---|---|---|
committer | Colin Snover | 2017-04-23 13:07:25 -0500 |
commit | 3d4fb4ccb4f8bed013e6be9f9c677a071e84266d (patch) | |
tree | 21fba33cf1f41ef856c6386e181b09fad17066e0 /common/hashmap.h | |
parent | 1962b1bb6d495365110094f200d50cc4cb303b75 (diff) | |
download | scummvm-rg350-3d4fb4ccb4f8bed013e6be9f9c677a071e84266d.tar.gz scummvm-rg350-3d4fb4ccb4f8bed013e6be9f9c677a071e84266d.tar.bz2 scummvm-rg350-3d4fb4ccb4f8bed013e6be9f9c677a071e84266d.zip |
SCI32: Fix mustSetViewVisible for SCI3
In SCI2/2.1, variable indexes are used along with a range encoded
in the interpreter executable to determine whether an object
variable is a view-related variable. Operands to aTop, sTop, ipToa,
dpToa, ipTos, and dpTos are byte offsets into an object, which
are divided by two to get the varindex to check against the
interpreter range.
In SCI3, objects in game scripts contain groups of 32 selectors,
and each group has a flag that says whether or not the selectors
in that group are view-related. Operands to aTop, sTop, ipToa,
dpToa, ipTos, and dpTos are selectors.
Diffstat (limited to 'common/hashmap.h')
0 files changed, 0 insertions, 0 deletions