1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00
2018-10-13 22:16:32 +03:00

39 lines
1.0 KiB
C++

#ifndef OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#define OPENMW_COMPONENTS_DETOURNAVIGATOR_SETTINGS_H
#include <string>
namespace DetourNavigator
{
struct Settings
{
bool mEnableWriteRecastMeshToFile;
bool mEnableWriteNavMeshToFile;
bool mEnableRecastMeshFileNameRevision;
bool mEnableNavMeshFileNameRevision;
float mCellHeight;
float mCellSize;
float mDetailSampleDist;
float mDetailSampleMaxError;
float mMaxClimb;
float mMaxSimplificationError;
float mMaxSlope;
float mRecastScaleFactor;
float mSwimHeightScale;
int mBorderSize;
int mMaxEdgeLen;
int mMaxNavMeshQueryNodes;
int mMaxVertsPerPoly;
int mRegionMergeSize;
int mRegionMinSize;
int mTileSize;
std::size_t mMaxPolygonPathSize;
std::size_t mMaxSmoothPathSize;
std::size_t mTrianglesPerChunk;
std::string mRecastMeshPathPrefix;
std::string mNavMeshPathPrefix;
};
}
#endif