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
 
Tile * draw
 
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
 
}; 
 
Tile * blinkGfx [kMaxAnimFrames]
 
union {
   uint16   special1Frames
 
   int16   int2
 
}; 
 
Tile * special1Gfx [kMaxAnimFrames]
 
int16 standdownFrames
 
Tile * standdownGfx [kMaxAnimFrames]
 
int16 standupFrames
 
Tile * standupGfx [kMaxAnimFrames]
 
int16 standleftFrames
 
Tile * standleftGfx [kMaxAnimFrames]
 
int16 standrightFrames
 
Tile * standrightGfx [kMaxAnimFrames]
 
int16 moveupFrames
 
Tile * moveupGfx [kMaxAnimFrames]
 
int16 movedownFrames
 
Tile * movedownGfx [kMaxAnimFrames]
 
int16 moveleftFrames
 
Tile * moveleftGfx [kMaxAnimFrames]
 
int16 moverightFrames
 
Tile * moverightGfx [kMaxAnimFrames]
 

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