aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai.h
diff options
context:
space:
mode:
authorNipun Garg2019-06-27 07:41:53 +0530
committerEugene Sandulenko2019-09-03 17:17:02 +0200
commit0f4e637e2a1710b20bb535a6dca63e125695e624 (patch)
tree463acc77e0984b4c072122c794b199d957967211 /engines/hdb/ai.h
parent86f7991eba8787a4e65758edd389982efbc749b0 (diff)
downloadscummvm-rg350-0f4e637e2a1710b20bb535a6dca63e125695e624.tar.gz
scummvm-rg350-0f4e637e2a1710b20bb535a6dca63e125695e624.tar.bz2
scummvm-rg350-0f4e637e2a1710b20bb535a6dca63e125695e624.zip
HDB: Add _luaList functions
Diffstat (limited to 'engines/hdb/ai.h')
-rw-r--r--engines/hdb/ai.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index c76b6d6307..1bcf757b10 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -725,6 +725,9 @@ public:
bool activateAction(AIEntity *e, int x, int y, int targetX, int targetY);
bool checkAutoList(AIEntity *e, int x, int y);
bool autoActive(int x, int y);
+ void addToLuaList(int x, int y, int value1, int value2, char *luaFuncInit, char *luaFuncAction, char *luaFuncUse);
+ bool checkLuaList(AIEntity *e, int x, int y);
+ bool luaExistAtXY(int x, int y);
void addToTeleportList(int teleIndex, int x, int y, int dir, int level, int anim, int usable, const char *luaFuncUse);
bool checkTeleportList(AIEntity *e, int x, int y);
bool findTeleporterDest(int tileX, int tileY, SingleTele *info);