#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WATER_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WATER_H #include "components/settings/sanitizerimpl.hpp" #include "components/settings/settingvalue.hpp" #include #include #include #include #include #include namespace Settings { struct WaterCategory { SettingValue mShader{ "Water", "shader" }; SettingValue mRttSize{ "Water", "rtt size", makeMaxSanitizerInt(1) }; SettingValue mRefraction{ "Water", "refraction" }; SettingValue mReflectionDetail{ "Water", "reflection detail", makeEnumSanitizerInt({ 0, 1, 2, 3, 4, 5 }) }; SettingValue mRainRippleDetail{ "Water", "rain ripple detail", makeEnumSanitizerInt({ 0, 1, 2 }) }; SettingValue mSmallFeatureCullingPixelSize{ "Water", "small feature culling pixel size", makeMaxStrictSanitizerFloat(0) }; SettingValue mRefractionScale{ "Water", "refraction scale", makeClampSanitizerFloat(0, 1) }; }; } #endif