This commit is contained in:
parent
2a71836478
commit
b9ccd83f66
7 changed files with 72 additions and 6 deletions
|
@ -40,16 +40,17 @@ private:
|
|||
NPC_PATH_TYPE pathType;
|
||||
u8 waypointCount;
|
||||
bool reversePath;
|
||||
CNpcWaypoint *currentWaypoint;
|
||||
CNpcWaypoint *lastWaypoint;
|
||||
|
||||
public:
|
||||
CNpcWaypoint *currentWaypoint;
|
||||
|
||||
void initPath();
|
||||
void addWaypoint( DVECTOR newPos );
|
||||
void removeAllWaypoints();
|
||||
void setPathType( NPC_PATH_TYPE newPathType );
|
||||
bool incPath();
|
||||
void resetPath();
|
||||
void reversePathDir();
|
||||
s32 think( DVECTOR currentPos, bool *pathComplete, bool *waypointChange );
|
||||
bool getDistToNextWaypoint( DVECTOR currentPos, s32 *distX, s32 *distY );
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue