ScummVM API documentation
HDB::AIEntity Struct Reference

Public Member Functions

void reset ()
 
void save (Common::OutSaveFile *out)
 
void load (Common::InSaveFile *in)
 

Public Attributes

AIType type
 
AIState state
 
AIDir dir
 
Tiledraw
 
FuncPtr aiInit
 
FuncPtr aiInit2
 
FuncPtr aiAction
 
FuncPtr aiUse
 
FuncPtr aiDraw
 
char luaFuncInit [32]
 
char luaFuncAction [32]
 
char luaFuncUse [32]
 
int16 level
 
int16 value1
 
int16 value2
 
AIDir dir2
 
int16 x
 
int16 y
 
int16 drawXOff
 
int16 drawYOff
 
int16 onScreen
 
int16 moveSpeed
 
int16 xVel
 
int16 yVel
 
int16 tileX
 
int16 tileY
 
int16 goalX
 
int16 goalY
 
int16 touchpX
 
int16 touchpY
 
int16 touchpTile
 
int16 touchpWait
 
int32 stunnedWait
 
int16 sequence
 
char entityName [32]
 
char printedName [32]
 
int16 animFrame
 
int16 animDelay
 
int16 animCycle
 
union {
   uint16   blinkFrames
 
   int16   int1
 
}; 
 
TileblinkGfx [kMaxAnimFrames]
 
union {
   uint16   special1Frames
 
   int16   int2
 
}; 
 
Tilespecial1Gfx [kMaxAnimFrames]
 
int16 standdownFrames
 
TilestanddownGfx [kMaxAnimFrames]
 
int16 standupFrames
 
TilestandupGfx [kMaxAnimFrames]
 
int16 standleftFrames
 
TilestandleftGfx [kMaxAnimFrames]
 
int16 standrightFrames
 
TilestandrightGfx [kMaxAnimFrames]
 
int16 moveupFrames
 
TilemoveupGfx [kMaxAnimFrames]
 
int16 movedownFrames
 
TilemovedownGfx [kMaxAnimFrames]
 
int16 moveleftFrames
 
TilemoveleftGfx [kMaxAnimFrames]
 
int16 moverightFrames
 
TilemoverightGfx [kMaxAnimFrames]
 

The documentation for this struct was generated from the following file: