aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-21 19:45:56 +0530
committerEugene Sandulenko2019-09-03 17:16:54 +0200
commitbbe7c8206903ddaa84ca3ee3308c45d2d226f81c (patch)
tree2a9bf67a8ef718196e6876bc6f6f0463eb925e3c
parent76b589c9018b4a19cb636d404285594dbe3b3698 (diff)
downloadscummvm-rg350-bbe7c8206903ddaa84ca3ee3308c45d2d226f81c.tar.gz
scummvm-rg350-bbe7c8206903ddaa84ca3ee3308c45d2d226f81c.tar.bz2
scummvm-rg350-bbe7c8206903ddaa84ca3ee3308c45d2d226f81c.zip
HDB: Add onEvenTile()
-rw-r--r--engines/hdb/ai.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index b6b9b4a612..3c60936154 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -543,6 +543,8 @@ struct CineCommand {
start(0), end(0), delay(0), speed(0), title(NULL), string(NULL), id(NULL), e(NULL) {}
};
+#define onEvenTile(x, y) ( !(x & 31) && !(y & 31) )
+
class AI {
public:
AI();