ScummVM API documentation
TsAGE::PlayerMover Class Reference
Inheritance diagram for TsAGE::PlayerMover:
TsAGE::NpcMover TsAGE::ObjectMover TsAGE::EventHandler TsAGE::SavedObject TsAGE::Serialisable TsAGE::PlayerMover2

Public Member Functions

void synchronize (Serializer &s) override
 
Common::String getClassName () override
 
void startMove (SceneObject *sceneObj, va_list va) override
 
void endMove () override
 
- Public Member Functions inherited from TsAGE::ObjectMover
void remove () override
 
void dispatch () override
 
virtual void setup (const Common::Point &destPos)
 
virtual bool dontMove () const
 
- Public Member Functions inherited from TsAGE::EventHandler
virtual void postInit (SceneObjectList *OwnerList=NULL)
 
virtual void signal ()
 
virtual void process (Event &event)
 
virtual void setAction (Action *action)
 
virtual void setAction (Action *action, EventHandler *endHandler,...)
 
virtual void destroy ()
 
- Public Member Functions inherited from TsAGE::SavedObject
void synchronize (Serializer &s) override
 

Public Attributes

Common::Point _finalDest
 
Common::Point _routeList [20]
 
int _routeIndex
 
- Public Attributes inherited from TsAGE::ObjectMover
Common::Point _destPosition
 
Common::Point _moveDelta
 
Common::Point _moveSign
 
int _minorDiff
 
int _majorDiff
 
int _changeCtr
 
Action_action
 
SceneObject_sceneObject
 
- Public Attributes inherited from TsAGE::EventHandler
Action_action
 

Protected Member Functions

void setDest (const Common::Point &destPos)
 
void pathfind (Common::Point *routeList, Common::Point srcPos, Common::Point destPos, RouteEnds routeEnds)
 
int regionIndexOf (const Common::Point &pt)
 
int regionIndexOf (int xp, int yp)
 
int findClosestRegion (Common::Point &pt, const Common::List< int > &indexList)
 
int checkMover (Common::Point &srcPos, const Common::Point &destPos)
 
void doStepsOfNpcMovement (const Common::Point &pt1, const Common::Point &pt2, int numSteps, Common::Point &ptOut)
 
int calculateRestOfRoute (int *routeList, int srcRegion, int destRegion, bool &foundRoute)
 

Static Protected Member Functions

static Common::PointfindLinePoint (RouteEnds *routeEnds, Common::Point *objPos, int length, Common::Point *outPos)
 
static int findDistance (const Common::Point &pt1, const Common::Point &pt2)
 
static bool sub_F8E5_calculatePoint (const Common::Point &pt1, const Common::Point &pt2, const Common::Point &pt3, const Common::Point &pt4, Common::Point *ptOut=NULL)
 

Additional Inherited Members

- Static Public Member Functions inherited from TsAGE::SavedObject
static SavedObjectcreateInstance (const Common::String &className)
 

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