2021-06-29 01:49:21 +00:00
|
|
|
#ifndef OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
|
|
#define OPENMW_NAVMESHTOOL_NAVMESH_H
|
|
|
|
|
|
|
|
#include <cstddef>
|
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
|
|
|
class NavMeshDb;
|
|
|
|
struct Settings;
|
2022-06-16 22:28:44 +00:00
|
|
|
struct AgentBounds;
|
2021-06-29 01:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
namespace NavMeshTool
|
|
|
|
{
|
|
|
|
struct WorldspaceData;
|
|
|
|
|
2022-05-23 11:01:30 +00:00
|
|
|
enum class Status
|
|
|
|
{
|
|
|
|
Ok,
|
|
|
|
Cancelled,
|
|
|
|
NotEnoughSpace,
|
|
|
|
};
|
|
|
|
|
2022-09-22 18:26:05 +00:00
|
|
|
Status generateAllNavMeshTiles(const DetourNavigator::AgentBounds& agentBounds,
|
|
|
|
const DetourNavigator::Settings& settings, std::size_t threadsNumber, bool removeUnusedTiles,
|
|
|
|
bool writeBinaryLog, WorldspaceData& cellsData, DetourNavigator::NavMeshDb&& db);
|
2021-06-29 01:49:21 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|