diff options
author | Filippos Karapetis | 2012-05-14 02:30:15 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-05-14 02:30:15 +0300 |
commit | 398d0ffceffc2dc1241b3f667c180573c288ccbf (patch) | |
tree | c2d56422ea86a17ca4b29b2e1255b16a85782bba /engines/sci/engine | |
parent | 4f6d42d77b5284552b12a7c0f427e060b27c3077 (diff) | |
download | scummvm-rg350-398d0ffceffc2dc1241b3f667c180573c288ccbf.tar.gz scummvm-rg350-398d0ffceffc2dc1241b3f667c180573c288ccbf.tar.bz2 scummvm-rg350-398d0ffceffc2dc1241b3f667c180573c288ccbf.zip |
SCI: Check for object visibility, if an object defines it
Fixes the inventory in GK1
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/selector.cpp | 1 | ||||
-rw-r--r-- | engines/sci/engine/selector.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/engine/selector.cpp b/engines/sci/engine/selector.cpp index a8b1cf7ec2..2f6b4d58dd 100644 --- a/engines/sci/engine/selector.cpp +++ b/engines/sci/engine/selector.cpp @@ -181,6 +181,7 @@ void Kernel::mapSelectors() { FIND_SELECTOR(skip); FIND_SELECTOR(fixPriority); FIND_SELECTOR(mirrored); + FIND_SELECTOR(visible); FIND_SELECTOR(useInsetRect); FIND_SELECTOR(inTop); FIND_SELECTOR(inLeft); diff --git a/engines/sci/engine/selector.h b/engines/sci/engine/selector.h index 4b913a866a..2308a6c387 100644 --- a/engines/sci/engine/selector.h +++ b/engines/sci/engine/selector.h @@ -149,6 +149,7 @@ struct SelectorCache { Selector fixPriority; Selector mirrored; + Selector visible; Selector useInsetRect; Selector inTop, inLeft, inBottom, inRight; |