diff options
Diffstat (limited to 'engines/hdb/ai.h')
-rw-r--r-- | engines/hdb/ai.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h index 7a9b74f67c..14495b3c8b 100644 --- a/engines/hdb/ai.h +++ b/engines/hdb/ai.h @@ -1217,6 +1217,9 @@ private: bool isClosedDoor(int x, int y); bool isOpenDoor(int x, int y); + // MAIN FUNCTION : handles all animation of targeted tiles & changing the state of the "switch" + bool useTarget(int x, int y, int targetX, int targetY, int newTile, int *worked); + // 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); |