1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
OpenMW/components/detournavigator/settings.hpp

44 lines
1.2 KiB
C++
Raw Normal View History

2018-03-13 22:49:08 +00:00
#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#include <string>
2018-03-13 22:49:08 +00:00
namespace DetourNavigator
{
struct Settings
{
bool mEnableWriteRecastMeshToFile;
bool mEnableWriteNavMeshToFile;
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;
int mBorderSize;
2018-03-13 22:49:08 +00:00
int mMaxEdgeLen;
int mMaxNavMeshQueryNodes;
int mMaxPolys;
2018-03-13 22:49:08 +00:00
int mMaxVertsPerPoly;
int mRegionMergeSize;
int mRegionMinSize;
int mTileSize;
std::size_t mAsyncNavMeshUpdaterThreads;
std::size_t mMaxNavMeshTilesCacheSize;
2018-03-13 22:49:08 +00:00
std::size_t mMaxPolygonPathSize;
std::size_t mMaxSmoothPathSize;
std::size_t mTrianglesPerChunk;
std::string mRecastMeshPathPrefix;
std::string mNavMeshPathPrefix;
2018-03-13 22:49:08 +00:00
};
Settings makeSettingsFromSettingsManager();
2018-03-13 22:49:08 +00:00
}
#endif