mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-09 12:42:11 +00:00
28 lines
715 B
C++
28 lines
715 B
C++
#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 <osg/Math>
|
|
#include <osg/Vec2f>
|
|
#include <osg/Vec3f>
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <string_view>
|
|
|
|
namespace Settings
|
|
{
|
|
struct PhysicsCategory : WithIndex
|
|
{
|
|
using WithIndex::WithIndex;
|
|
|
|
SettingValue<int> mAsyncNumThreads{ mIndex, "Physics", "async num threads", makeMaxSanitizerInt(0) };
|
|
SettingValue<int> mLineofsightKeepInactiveCache{ mIndex, "Physics", "lineofsight keep inactive cache",
|
|
makeMaxSanitizerInt(-1) };
|
|
};
|
|
}
|
|
|
|
#endif
|