mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 05:23:53 +00:00
db7d0adfe8
Using docs/source/reference/modding/settings/*.rst and files/settings-default.cfg files content.
25 lines
650 B
C++
25 lines
650 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
|
|
{
|
|
SettingValue<int> mAsyncNumThreads{ "Physics", "async num threads", makeMaxSanitizerInt(0) };
|
|
SettingValue<int> mLineofsightKeepInactiveCache{ "Physics", "lineofsight keep inactive cache",
|
|
makeMaxSanitizerInt(-1) };
|
|
};
|
|
}
|
|
|
|
#endif
|