mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-24 19:53:54 +00:00
db7d0adfe8
Using docs/source/reference/modding/settings/*.rst and files/settings-default.cfg files content.
27 lines
911 B
C++
27 lines
911 B
C++
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GROUNDCOVER_H
|
|
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_GROUNDCOVER_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 GroundcoverCategory
|
|
{
|
|
SettingValue<bool> mEnabled{ "Groundcover", "enabled" };
|
|
SettingValue<float> mDensity{ "Groundcover", "density", makeClampSanitizerFloat(0, 1) };
|
|
SettingValue<float> mRenderingDistance{ "Groundcover", "rendering distance", makeMaxSanitizerFloat(0) };
|
|
SettingValue<int> mStompMode{ "Groundcover", "stomp mode", makeEnumSanitizerInt({ 0, 1, 2 }) };
|
|
SettingValue<int> mStompIntensity{ "Groundcover", "stomp intensity", makeEnumSanitizerInt({ 0, 1, 2 }) };
|
|
};
|
|
}
|
|
|
|
#endif
|