#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WATER_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_WATER_H #include #include #include #include #include #include #include #include namespace Settings { struct WaterCategory : WithIndex { using WithIndex::WithIndex; SettingValue mShader{ mIndex, "Water", "shader" }; SettingValue mRttSize{ mIndex, "Water", "rtt size", makeMaxSanitizerInt(1) }; SettingValue mRefraction{ mIndex, "Water", "refraction" }; SettingValue mReflectionDetail{ mIndex, "Water", "reflection detail", makeClampSanitizerInt(0, 5) }; SettingValue mRainRippleDetail{ mIndex, "Water", "rain ripple detail", makeClampSanitizerInt(0, 2) }; SettingValue mSmallFeatureCullingPixelSize{ mIndex, "Water", "small feature culling pixel size", makeMaxStrictSanitizerFloat(0) }; SettingValue mRefractionScale{ mIndex, "Water", "refraction scale", makeClampSanitizerFloat(0, 1) }; SettingValue mSunlightScattering{ mIndex, "Water", "sunlight scattering" }; SettingValue mWobblyShores{ mIndex, "Water", "wobbly shores" }; }; } #endif