aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/frameout.h
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2017-07-09 17:25:17 +0200
committerWillem Jan Palenstijn2017-07-09 22:56:04 +0200
commit820caf370e2c24e6aefd8b1b90227ca29564bab6 (patch)
tree053eaaf33fc0ea8e63be6c2265942251934181ac /engines/sci/graphics/frameout.h
parent33cfcfd5ff626e8b341fdee3171bf1367191fe65 (diff)
downloadscummvm-rg350-820caf370e2c24e6aefd8b1b90227ca29564bab6.tar.gz
scummvm-rg350-820caf370e2c24e6aefd8b1b90227ca29564bab6.tar.bz2
scummvm-rg350-820caf370e2c24e6aefd8b1b90227ca29564bab6.zip
SCI32: Fix kObjectIntersect
It was using SCI16 calls to get the NowSeenRects. This fixes #9855.
Diffstat (limited to 'engines/sci/graphics/frameout.h')
-rw-r--r--engines/sci/graphics/frameout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h
index 26732d5c01..93dc35e632 100644
--- a/engines/sci/graphics/frameout.h
+++ b/engines/sci/graphics/frameout.h
@@ -66,6 +66,7 @@ public:
#pragma mark Screen items
private:
void remapMarkRedraw();
+ bool getNowSeenRect(const reg_t screenItemObject, Common::Rect &result) const;
public:
/**
@@ -97,6 +98,7 @@ public:
void kernelUpdateScreenItem(const reg_t object);
void kernelDeleteScreenItem(const reg_t object);
bool kernelSetNowSeen(const reg_t screenItemObject) const;
+ int16 kernelObjectIntersect(const reg_t object1, const reg_t object2) const;
#pragma mark -
#pragma mark Planes