2018-03-13 22:49:08 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
|
|
|
|
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
|
|
|
|
|
2018-04-01 15:09:43 +00:00
|
|
|
#include <string>
|
2018-03-13 22:49:08 +00:00
|
|
|
|
|
|
|
namespace DetourNavigator
|
|
|
|
{
|
|
|
|
struct Settings
|
|
|
|
{
|
2018-04-01 15:09:43 +00:00
|
|
|
bool mEnableWriteRecastMeshToFile;
|
|
|
|
bool mEnableWriteNavMeshToFile;
|
2018-04-02 06:55:12 +00:00
|
|
|
bool mEnableRecastMeshFileNameRevision;
|
|
|
|
bool mEnableNavMeshFileNameRevision;
|
2018-03-13 22:49:08 +00:00
|
|
|
float mCellHeight;
|
|
|
|
float mCellSize;
|
|
|
|
float mDetailSampleDist;
|
|
|
|
float mDetailSampleMaxError;
|
|
|
|
float mMaxClimb;
|
|
|
|
float mMaxSimplificationError;
|
|
|
|
float mMaxSlope;
|
|
|
|
float mRecastScaleFactor;
|
2018-07-20 19:11:34 +00:00
|
|
|
float mSwimHeightScale;
|
2018-04-15 19:54:45 +00:00
|
|
|
int mBorderSize;
|
2018-03-13 22:49:08 +00:00
|
|
|
int mMaxEdgeLen;
|
|
|
|
int mMaxNavMeshQueryNodes;
|
2018-10-28 11:59:12 +00:00
|
|
|
int mMaxPolys;
|
2018-03-13 22:49:08 +00:00
|
|
|
int mMaxVertsPerPoly;
|
|
|
|
int mRegionMergeSize;
|
|
|
|
int mRegionMinSize;
|
|
|
|
int mTileSize;
|
2018-09-22 14:49:57 +00:00
|
|
|
std::size_t mAsyncNavMeshUpdaterThreads;
|
2018-09-30 22:33:25 +00:00
|
|
|
std::size_t mMaxNavMeshTilesCacheSize;
|
2018-03-13 22:49:08 +00:00
|
|
|
std::size_t mMaxPolygonPathSize;
|
|
|
|
std::size_t mMaxSmoothPathSize;
|
|
|
|
std::size_t mTrianglesPerChunk;
|
2018-04-01 15:09:43 +00:00
|
|
|
std::string mRecastMeshPathPrefix;
|
|
|
|
std::string mNavMeshPathPrefix;
|
2018-03-13 22:49:08 +00:00
|
|
|
};
|
2019-02-16 11:41:11 +00:00
|
|
|
|
|
|
|
Settings makeSettingsFromSettingsManager();
|
2018-03-13 22:49:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|