#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CAMERA_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CAMERA_H #include #include #include #include #include #include #include #include namespace Settings { struct CameraCategory : WithIndex { using WithIndex::WithIndex; SettingValue mNearClip{ mIndex, "Camera", "near clip", makeMaxSanitizerFloat(0.005f) }; SettingValue mSmallFeatureCulling{ mIndex, "Camera", "small feature culling" }; SettingValue mSmallFeatureCullingPixelSize{ mIndex, "Camera", "small feature culling pixel size", makeMaxStrictSanitizerFloat(0) }; SettingValue mViewingDistance{ mIndex, "Camera", "viewing distance", makeMaxStrictSanitizerFloat(0) }; SettingValue mFieldOfView{ mIndex, "Camera", "field of view", makeClampSanitizerFloat(1, 179) }; SettingValue mFirstPersonFieldOfView{ mIndex, "Camera", "first person field of view", makeClampSanitizerFloat(1, 179) }; SettingValue mReverseZ{ mIndex, "Camera", "reverse z" }; }; } #endif