Skip to content

Navmesh

Pavle edited this page Jul 5, 2022 · 1 revision
struct Navmesh
{
    unsigned int magic;
    unsigned int version;
    void* data;
};

class ZNavmesh
{
public:
    unsigned int m_nPolygonCount;
    unsigned int m_nCornerCount;
    unsigned int m_nVertexCount;
    unsigned int m_nPlaneCount;
    const unsigned short* m_aPolygonOffsets;
    const unsigned short* m_aPolygonData;
    const SVector3* m_aVertices;
    const unsigned short* m_aAnnotation;
    const unsigned short* m_aPlaneIndices;
    const SVector4* m_aPlaneEquations;
    SVector2 m_vBoundsMin;
    SVector2 m_vBoundsMax;
    float m_fTileSize;
    int m_nTileCountX;
    int m_nTileCountY;
    TArray<TArray<unsigned short>> m_tiles;
    TArray<float> m_aCostMultipliers;
    TArray<ZDelegate<void __cdecl(ERegionMask, float, float)>> m_aRegionCostListeners;
};
Clone this wiki locally