Removed layer portals, added cons, which stores connectivity and portals. Layer heights is stored as bytes.

This commit is contained in:
Mikko Mononen
2011-03-11 15:12:15 +00:00
parent 9f2390e196
commit b6a93f063a
7 changed files with 156 additions and 245 deletions
+3 -1
View File
@@ -40,6 +40,7 @@ protected:
rcPolyMeshDetail* m_dmesh;
rcConfig m_cfg;
static const int MAX_LAYERS = 128;
rcHeightfieldLayerSet* m_lset;
rcLayerContourSet* m_lcsets[MAX_LAYERS];
@@ -47,6 +48,7 @@ protected:
rcLayerPolyMesh* m_lmeshes[MAX_LAYERS];
int m_nlmeshes;
enum DrawMode
{
DRAWMODE_NAVMESH,
@@ -74,7 +76,7 @@ protected:
MAX_DRAWMODE
};
DrawMode m_drawMode;
int m_maxTiles;