#pragma once #include "K3DTypes.h" //#include //#include class SWayPoint { private: struct WAYPOINT_LIST { int nWayPointID; std::string strDescription; K3DVector* pPointList; int nPointSize; WAYPOINT_LIST() { nWayPointID = -1; pPointList = NULL; nPointSize = 0; strDescription.clear(); } ~WAYPOINT_LIST() { delete [] pPointList; } }; std::vector< WAYPOINT_LIST* > m_WayPointList; public: void Init( const class CTerrainSeamlessWorldInfo* pSeamlessWorldInfo ); void LoadWayPoint( std::string strMapFileName, int nPosX, int nPosY, float fMapLen ); K3DVector* GetWayPoint( int& nWayPointID ); void RemoveAllWayPointList(); public: SWayPoint(); ~SWayPoint(); };