mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-01 03:21:41 +00:00
30 lines
621 B
C++
30 lines
621 B
C++
#ifndef OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
#define OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
|
|
#include <cstddef>
|
|
|
|
namespace DetourNavigator
|
|
{
|
|
class NavMeshDb;
|
|
struct Settings;
|
|
struct AgentBounds;
|
|
}
|
|
|
|
namespace NavMeshTool
|
|
{
|
|
struct WorldspaceData;
|
|
|
|
enum class Status
|
|
{
|
|
Ok,
|
|
Cancelled,
|
|
NotEnoughSpace,
|
|
};
|
|
|
|
Status generateAllNavMeshTiles(const DetourNavigator::AgentBounds& agentBounds,
|
|
const DetourNavigator::Settings& settings, std::size_t threadsNumber, bool removeUnusedTiles,
|
|
bool writeBinaryLog, WorldspaceData& cellsData, DetourNavigator::NavMeshDb&& db);
|
|
}
|
|
|
|
#endif
|