This commit is contained in:
Charles 2001-04-07 15:39:22 +00:00
parent eefc209b58
commit 5901bd4aba
4 changed files with 139 additions and 3 deletions

View file

@ -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