ScummVM API documentation
Dragons::Actor Class Reference

Public Member Functions

 Actor (uint16 id)
 
void init (ActorResource *resource, int16 x, int16 y, uint32 sequenceID)
 
void updateSequence (uint16 newSequenceID)
 
void resetSequenceIP ()
 
byte * getSeqIpAtOffset (uint32 offset)
 
void loadFrame (uint16 frameOffset)
 
void freeFrame ()
 
void reset_maybe ()
 
bool startWalk (int16 destX, int16 destY, uint16 flags)
 
void walkPath ()
 
void waitUntilFlag4IsSet ()
 
void waitUntilFlag8IsSet ()
 
void waitUntilFlag8And4AreSet ()
 
void waitUntilFlag8SetThenSet1000 ()
 
void waitUntilFlag8SetThenSet1000AndWaitFor4 ()
 
void waitForWalkToFinish ()
 
bool waitUntilFlag4IsSetAllowSkip ()
 
bool actorSetSequenceAndWaitAllowSkip (uint16 newSequenceID)
 
void clearFlag (uint32 flag)
 
void setFlag (uint32 flag)
 
bool isFlagSet (uint32 flag)
 
bool isFlagClear (uint32 flag)
 
byte * getPalette ()
 
int16 getFrameYOffset ()
 

Public Attributes

uint16 _actorID
 
ActorResource_actorResource
 
uint16 _actorFileDictionaryIndex
 
int16 _resourceID
 
byte * _seqCodeIp
 
ActorFrame_frame
 
Graphics::Surface_surface
 
uint16 _sequenceTimerMaxValue
 
int16 _scale
 
uint16 _sequenceTimer
 
uint16 _sequenceID
 
int16 _direction
 
int16 _priorityLayer
 
uint16 _flags
 
int16 _x_pos
 
int16 _y_pos
 
int16 _walkDestX
 
int16 _walkDestY
 
int32 _xShl16
 
int32 _yShl16
 
int32 _walkSlopeX
 
int32 _walkSlopeY
 
uint16 _walkPointsTbl [32]
 
int16 _walkPointsIndex
 
int16 _finalWalkDestX
 
int16 _finalWalkDestY
 
uint16 _field_7a
 
int32 _walkSpeed
 
uint16 _frame_flags
 

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