Files
2026-06-01 12:46:52 +02:00

40 lines
743 B
C++

#pragma once
#include "K3DTypes.h"
//#include <vector>
//#include <string>
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();
};