aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorNipun Garg2019-06-19 03:37:51 +0530
committerEugene Sandulenko2019-09-03 17:16:49 +0200
commitbcadc659108765abdb53d14f51ef1ecf4484539a (patch)
tree726c5c75550d695f61501b2efcc76701fd02ec82 /engines/hdb
parent159e50c82f94868978950d40e1bf98e22241dca2 (diff)
downloadscummvm-rg350-bcadc659108765abdb53d14f51ef1ecf4484539a.tar.gz
scummvm-rg350-bcadc659108765abdb53d14f51ef1ecf4484539a.tar.bz2
scummvm-rg350-bcadc659108765abdb53d14f51ef1ecf4484539a.zip
HDB: Add AIStateDef and AIEntTypeInfo structs
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/ai.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/hdb/ai.h b/engines/hdb/ai.h
index 8cabf2e287..2b9668ab04 100644
--- a/engines/hdb/ai.h
+++ b/engines/hdb/ai.h
@@ -319,6 +319,11 @@ enum CineType {
C_ENDLIST
};
+struct AIStateDef {
+ AIState state;
+ char name[64];
+};
+
struct AIEntity {
AIType type;
AIState state;
@@ -359,6 +364,14 @@ struct AIEntity {
// TODO: Add the frame arrays needed
};
+struct AIEntTypeInfo {
+ AIType type;
+ char *luaName;
+ AIStateDef *stateDef;
+ void (*initFunc)(AIEntity *e);
+ void (*initFunc2)(AIEntity *e);
+};
+
struct CineCommand {
CineType cmdType;
double x, y;