#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CELLS_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_CELLS_H #include #include #include #include #include #include #include #include namespace Settings { struct CellsCategory : WithIndex { using WithIndex::WithIndex; SettingValue mPreloadEnabled{ mIndex, "Cells", "preload enabled" }; SettingValue mPreloadNumThreads{ mIndex, "Cells", "preload num threads", makeMaxSanitizerInt(1) }; SettingValue mPreloadExteriorGrid{ mIndex, "Cells", "preload exterior grid" }; SettingValue mPreloadFastTravel{ mIndex, "Cells", "preload fast travel" }; SettingValue mPreloadDoors{ mIndex, "Cells", "preload doors" }; SettingValue mPreloadDistance{ mIndex, "Cells", "preload distance", makeMaxStrictSanitizerFloat(0) }; SettingValue mPreloadInstances{ mIndex, "Cells", "preload instances" }; SettingValue mPreloadCellCacheMin{ mIndex, "Cells", "preload cell cache min", makeMaxSanitizerInt(1) }; SettingValue mPreloadCellCacheMax{ mIndex, "Cells", "preload cell cache max", makeMaxSanitizerInt(1) }; SettingValue mPreloadCellExpiryDelay{ mIndex, "Cells", "preload cell expiry delay", makeMaxSanitizerFloat(0) }; SettingValue mPredictionTime{ mIndex, "Cells", "prediction time", makeMaxSanitizerFloat(0) }; SettingValue mCacheExpiryDelay{ mIndex, "Cells", "cache expiry delay", makeMaxSanitizerFloat(0) }; SettingValue mTargetFramerate{ mIndex, "Cells", "target framerate", makeMaxStrictSanitizerFloat(0) }; SettingValue mPointersCacheSize{ mIndex, "Cells", "pointers cache size", makeClampSanitizerInt(40, 1000) }; }; } #endif