2022-09-30 20:36:51 +00:00
|
|
|
#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SAVES_H
|
|
|
|
#define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_SAVES_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
|
|
|
|
{
|
2023-04-10 15:24:57 +00:00
|
|
|
struct SavesCategory : WithIndex
|
2022-09-30 20:36:51 +00:00
|
|
|
{
|
2023-04-10 15:24:57 +00:00
|
|
|
using WithIndex::WithIndex;
|
|
|
|
|
|
|
|
SettingValue<std::string> mCharacter{ mIndex, "Saves", "character" };
|
|
|
|
SettingValue<bool> mAutosave{ mIndex, "Saves", "autosave" };
|
|
|
|
SettingValue<bool> mTimeplayed{ mIndex, "Saves", "timeplayed" };
|
|
|
|
SettingValue<int> mMaxQuicksaves{ mIndex, "Saves", "max quicksaves", makeMaxSanitizerInt(1) };
|
2022-09-30 20:36:51 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|