#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GENERAL_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GENERAL_H #include #include #include #include #include #include #include #include namespace Settings { struct GeneralCategory : WithIndex { using WithIndex::WithIndex; SettingValue mAnisotropy{ mIndex, "General", "anisotropy", makeClampSanitizerInt(0, 16) }; SettingValue mScreenshotFormat{ mIndex, "General", "screenshot format", makeEnumSanitizerString({ "jpg", "png", "tga" }) }; SettingValue mTextureMagFilter{ mIndex, "General", "texture mag filter", makeEnumSanitizerString({ "nearest", "linear" }) }; SettingValue mTextureMinFilter{ mIndex, "General", "texture min filter", makeEnumSanitizerString({ "nearest", "linear" }) }; SettingValue mTextureMipmap{ mIndex, "General", "texture mipmap", makeEnumSanitizerString({ "none", "nearest", "linear" }) }; SettingValue mNotifyOnSavedScreenshot{ mIndex, "General", "notify on saved screenshot" }; SettingValue> mPreferredLocales{ mIndex, "General", "preferred locales" }; SettingValue mGmstOverridesL10n{ mIndex, "General", "gmst overrides l10n" }; SettingValue mLogBufferSize{ mIndex, "General", "log buffer size" }; SettingValue mConsoleHistoryBufferSize{ mIndex, "General", "console history buffer size" }; }; } #endif