#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GROUNDCOVER_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GROUNDCOVER_H #include #include #include #include #include #include #include #include namespace Settings { struct GroundcoverCategory : WithIndex { using WithIndex::WithIndex; SettingValue mEnabled{ mIndex, "Groundcover", "enabled" }; SettingValue mDensity{ mIndex, "Groundcover", "density", makeClampSanitizerFloat(0, 1) }; SettingValue mRenderingDistance{ mIndex, "Groundcover", "rendering distance", makeMaxSanitizerFloat(0) }; SettingValue mStompMode{ mIndex, "Groundcover", "stomp mode", makeEnumSanitizerInt({ 0, 1, 2 }) }; SettingValue mStompIntensity{ mIndex, "Groundcover", "stomp intensity", makeEnumSanitizerInt({ 0, 1, 2 }) }; }; } #endif