diff options
author | Nipun Garg | 2019-07-03 20:40:49 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:09 +0200 |
commit | 4baa1e4f20816c0546cf94b39c51611b1bec1f4a (patch) | |
tree | 589ddd4cc2894fe90dc14e50ed1db83186c60475 /engines/hdb/ai.h | |
parent | c3c8299962aaa335d4acb4ae39b772accf3cfff1 (diff) | |
download | scummvm-rg350-4baa1e4f20816c0546cf94b39c51611b1bec1f4a.tar.gz scummvm-rg350-4baa1e4f20816c0546cf94b39c51611b1bec1f4a.tar.bz2 scummvm-rg350-4baa1e4f20816c0546cf94b39c51611b1bec1f4a.zip |
HDB: Add isClosedDoor() and isOpenDoor()
Diffstat (limited to 'engines/hdb/ai.h')
-rw-r--r-- | engines/hdb/ai.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 80f7a71221..afc25cb792 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -1197,6 +1197,10 @@ private: // Action Functions + // Checks for the existence of a closed/open door + bool isClosedDoor(int x, int y); + bool isOpenDoor(int x, int y); + // Black Door Switch bool useSwitch(AIEntity *e, int x, int y, int targetX, int targetY, int onTile); bool useSwitchOn(AIEntity *e, int x, int y, int targetX, int targetY, int offTile); |