#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_TERRAIN_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_TERRAIN_H #include #include #include #include #include #include #include #include namespace Settings { struct TerrainCategory : WithIndex { using WithIndex::WithIndex; SettingValue mDistantTerrain{ mIndex, "Terrain", "distant terrain" }; SettingValue mLodFactor{ mIndex, "Terrain", "lod factor", makeMaxStrictSanitizerFloat(0) }; SettingValue mVertexLodMod{ mIndex, "Terrain", "vertex lod mod" }; SettingValue mCompositeMapLevel{ mIndex, "Terrain", "composite map level", makeMaxSanitizerInt(-3) }; SettingValue mCompositeMapResolution{ mIndex, "Terrain", "composite map resolution", makeMaxSanitizerInt(1) }; SettingValue mMaxCompositeGeometrySize{ mIndex, "Terrain", "max composite geometry size", makeMaxSanitizerFloat(1) }; SettingValue mDebugChunks{ mIndex, "Terrain", "debug chunks" }; SettingValue mObjectPaging{ mIndex, "Terrain", "object paging" }; SettingValue mObjectPagingActiveGrid{ mIndex, "Terrain", "object paging active grid" }; SettingValue mObjectPagingMergeFactor{ mIndex, "Terrain", "object paging merge factor", makeMaxStrictSanitizerFloat(0) }; SettingValue mObjectPagingMinSize{ mIndex, "Terrain", "object paging min size", makeMaxStrictSanitizerFloat(0) }; SettingValue mObjectPagingMinSizeMergeFactor{ mIndex, "Terrain", "object paging min size merge factor", makeMaxStrictSanitizerFloat(0) }; SettingValue mObjectPagingMinSizeCostMultiplier{ mIndex, "Terrain", "object paging min size cost multiplier", makeMaxStrictSanitizerFloat(0) }; SettingValue mWaterCulling{ mIndex, "Terrain", "water culling" }; }; } #endif