From bcadc659108765abdb53d14f51ef1ecf4484539a Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Wed, 19 Jun 2019 03:37:51 +0530 Subject: HDB: Add AIStateDef and AIEntTypeInfo structs --- engines/hdb/ai.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; -- cgit v1.2.3