#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_PHYSICS_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_PHYSICS_H #include "components/settings/sanitizerimpl.hpp" #include "components/settings/settingvalue.hpp" #include #include #include #include #include #include namespace Settings { struct PhysicsCategory : WithIndex { using WithIndex::WithIndex; SettingValue mAsyncNumThreads{ mIndex, "Physics", "async num threads", makeMaxSanitizerInt(0) }; SettingValue mLineofsightKeepInactiveCache{ mIndex, "Physics", "lineofsight keep inactive cache", makeMaxSanitizerInt(-1) }; }; } #endif