mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-22 13:33:35 +00:00
26 lines
525 B
C
26 lines
525 B
C
#pragma once
|
|
|
|
#include "Recast.h"
|
|
#include "DetourCommon.h"
|
|
#include "DetourNavMesh.h"
|
|
#include "DetourNavMeshBuilder.h"
|
|
#include "DetourNavMeshQuery.h"
|
|
|
|
static const int NAVMESHSET_MAGIC = 'M' << 24 | 'S' << 16 | 'E' << 8 | 'T'; // char[4] of 'MSET'
|
|
static const int NAVMESHSET_VERSION = 1;
|
|
|
|
struct NavMeshSetHeader {
|
|
int magic;
|
|
int version;
|
|
int numTiles;
|
|
dtNavMeshParams params;
|
|
};
|
|
|
|
struct NavMeshTileHeader {
|
|
dtTileRef tileRef;
|
|
int dataSize;
|
|
};
|
|
|
|
static const int MAX_POLYS = 256;
|
|
static const int MAX_SMOOTH = 2048;
|