mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-10-31 22:26:41 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
	
		
			699 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
	
		
			699 B
		
	
	
	
		
			C++
		
	
	
	
	
	
| #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
 | |
| {
 | |
|     struct SavesCategory : WithIndex
 | |
|     {
 | |
|         using WithIndex::WithIndex;
 | |
| 
 | |
|         SettingValue<std::string> mCharacter{ mIndex, "Saves", "character" };
 | |
|         SettingValue<bool> mAutosave{ mIndex, "Saves", "autosave" };
 | |
|         SettingValue<int> mMaxQuicksaves{ mIndex, "Saves", "max quicksaves", makeMaxSanitizerInt(1) };
 | |
|     };
 | |
| }
 | |
| 
 | |
| #endif
 |