#ifndef _pathfind_hh_ #define _pathfind_hh_ #include #include #include #include #include #include "waypoint.hh" #include "quadt.hh" #include #include #include #include "misc.hh" #include #include "landscape.hh" #include "time.hh" using namespace boost; class Pathfinder { std::vector < WayPoint * > wayPoints; //to be removed std::list < Node > * coords; int oldWp; QuadT * qt; public: void buildQT(); std::list < Node > findPath( int, int, int, int ); void draw(); void buildMap(); void addWayPoint( WayPoint * _wp ); void print(); Pathfinder(); }; extern Pathfinder pathfinder; #endif