ScummVM API documentation
Sword2::Router Class Reference

Public Member Functions

 Router (Sword2Engine *vm)
 
void setStandbyCoords (int16 x, int16 y, uint8 dir)
 
int whatTarget (int startX, int startY, int destX, int destY)
 
void setSpriteStatus (byte *ob_graph, uint32 type)
 
void setSpriteShading (byte *ob_graph, uint32 type)
 
int doAnimate (byte *ob_logic, byte *ob_graph, int32 animRes, bool reverse)
 
int megaTableAnimate (byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *animTable, bool reverse)
 
int doWalk (byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *ob_walkdata, int16 target_x, int16 target_y, uint8 target_dir)
 
int walkToAnim (byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *ob_walkdata, uint32 animRes)
 
int walkToTalkToMega (byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *ob_walkdata, uint32 megaId, uint32 separation)
 
int doFace (byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *ob_walkdata, uint8 target_dir)
 
int faceXY (byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *ob_walkdata, int16 target_x, int16 target_y)
 
int faceMega (byte *ob_logic, byte *ob_graph, byte *ob_mega, byte *ob_walkdata, uint32 megaId)
 
void standAt (byte *ob_graph, byte *ob_mega, int32 x, int32 y, int32 dir)
 
void standAfterAnim (byte *ob_graph, byte *ob_mega, uint32 animRes)
 
void standAtAnim (byte *ob_graph, byte *ob_mega, uint32 animRes)
 
int32 routeFinder (byte *ob_mega, byte *ob_walkdata, int32 x, int32 y, int32 dir)
 
void earlySlowOut (byte *ob_mega, byte *ob_walkdata)
 
void allocateRouteMem ()
 
WalkDatagetRouteMem ()
 
void freeRouteMem ()
 
void freeAllRouteMem ()
 
void addWalkGrid (int32 gridResource)
 
void removeWalkGrid (int32 gridResource)
 
void clearWalkGridList ()
 
void plotWalkGrid ()
 

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