This commit is contained in:
parent
eefc209b58
commit
5901bd4aba
4 changed files with 139 additions and 3 deletions
|
@ -45,8 +45,10 @@ public:
|
|||
void reversePathDir();
|
||||
s32 think( DVECTOR currentPos, bool *pathComplete, bool *waypointChange );
|
||||
bool thinkFlat( DVECTOR currentPos, s32 *distX, s32 *distY, s32 *heading );
|
||||
bool thinkVertical( DVECTOR currentPos, bool *pathComplete, s32 *distX, s32 *distY, s32 *heading );
|
||||
bool getDistToNextWaypoint( DVECTOR currentPos, s32 *distX, s32 *distY );
|
||||
void getPathXExtents( s32 *minExtent, s32 *maxExtent );
|
||||
void getPathYExtents( s32 *minExtent, s32 *maxExtent );
|
||||
|
||||
private:
|
||||
CNpcWaypoint *waypoint;
|
||||
|
@ -56,6 +58,7 @@ private:
|
|||
CNpcWaypoint *currentWaypoint;
|
||||
CNpcWaypoint *lastWaypoint;
|
||||
s32 minX, maxX;
|
||||
s32 minY, maxY;
|
||||
};
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue