#ifndef OPENMW_COMPONENTS_SETTINGS_CATEGORIES_MAP_H #define OPENMW_COMPONENTS_SETTINGS_CATEGORIES_MAP_H #include #include #include #include #include #include #include #include #include namespace Settings { struct MapCategory : WithIndex { using WithIndex::WithIndex; SettingValue mGlobalMapCellSize{ mIndex, "Map", "global map cell size", makeClampSanitizerInt(1, 50) }; SettingValue mLocalMapHudFogOfWar{ mIndex, "Map", "local map hud fog of war" }; SettingValue mLocalMapResolution{ mIndex, "Map", "local map resolution", makeMaxSanitizerInt(1) }; SettingValue mLocalMapWidgetSize{ mIndex, "Map", "local map widget size", makeMaxSanitizerInt(1) }; SettingValue mGlobal{ mIndex, "Map", "global" }; SettingValue mAllowZooming{ mIndex, "Map", "allow zooming" }; SettingValue mMaxLocalViewingDistance{ mIndex, "Map", "max local viewing distance", makeMaxSanitizerInt(Constants::CellGridRadius) }; }; } #endif