aboutsummaryrefslogtreecommitdiff
path: root/engines/cine/object.h
diff options
context:
space:
mode:
authorKari Salminen2008-06-25 15:09:24 +0000
committerKari Salminen2008-06-25 15:09:24 +0000
commita2e6f35310b7f4fc4f4a1aa6ca3d5e7ab618b85d (patch)
treee5a71b56b4f31a1b51c9dcbd234c6c11a1738145 /engines/cine/object.h
parentef07d7e8a770f9ecd85d0915782775481acfef92 (diff)
downloadscummvm-rg350-a2e6f35310b7f4fc4f4a1aa6ca3d5e7ab618b85d.tar.gz
scummvm-rg350-a2e6f35310b7f4fc4f4a1aa6ca3d5e7ab618b85d.tar.bz2
scummvm-rg350-a2e6f35310b7f4fc4f4a1aa6ca3d5e7ab618b85d.zip
Implemented opcode:
- 0x8D: o2_op8D (Didn't come up with a descriptive name yet) Compares ranges of x, y and mask parameters between two objects. Possibly some kind of an intersection testing function? svn-id: r32785
Diffstat (limited to 'engines/cine/object.h')
-rw-r--r--engines/cine/object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/cine/object.h b/engines/cine/object.h
index 6252a628cb..12e72927e1 100644
--- a/engines/cine/object.h
+++ b/engines/cine/object.h
@@ -69,6 +69,8 @@ int16 getObjectParam(uint16 objIdx, uint16 paramIdx);
void addObjectParam(byte objIdx, byte paramIdx, int16 newValue);
void subObjectParam(byte objIdx, byte paramIdx, int16 newValue);
+bool compareRanges(uint16 aStart, uint16 aEnd, uint16 bStart, uint16 bEnd);
+uint16 compareObjectParamRanges(uint16 objIdx1, uint16 xAdd1, uint16 yAdd1, uint16 maskAdd1, uint16 objIdx2, uint16 xAdd2, uint16 yAdd2, uint16 maskAdd2);
uint16 compareObjectParam(byte objIdx, byte param1, int16 param2);
} // End of namespace Cine