From bdb480858800c208afb636b84d0ce5f0191eba1f Mon Sep 17 00:00:00 2001 From: elsid Date: Thu, 27 Jul 2023 22:52:00 +0200 Subject: [PATCH] Remove unused local map hud widget size setting Unused since d1a3cc98ffdcb5e40b5cc56a1d5db37ffac2a602 --- components/settings/categories/map.hpp | 1 - .../source/reference/modding/settings/map.rst | 20 ------------------- files/settings-default.cfg | 4 ---- 3 files changed, 25 deletions(-) diff --git a/components/settings/categories/map.hpp b/components/settings/categories/map.hpp index bd5bd33d53..af3857b206 100644 --- a/components/settings/categories/map.hpp +++ b/components/settings/categories/map.hpp @@ -19,7 +19,6 @@ namespace Settings using WithIndex::WithIndex; SettingValue mGlobalMapCellSize{ mIndex, "Map", "global map cell size", makeClampSanitizerInt(1, 50) }; - SettingValue mLocalMapHudWidgetSize{ mIndex, "Map", "local map hud widget size", makeMaxSanitizerInt(1) }; 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) }; diff --git a/docs/source/reference/modding/settings/map.rst b/docs/source/reference/modding/settings/map.rst index e20a993a29..7468b2b836 100644 --- a/docs/source/reference/modding/settings/map.rst +++ b/docs/source/reference/modding/settings/map.rst @@ -36,26 +36,6 @@ Values from 12 to 36 are recommended. For reference, Vvardenfell is approximatel This setting can not be configured except by editing the settings configuration file. -local map hud widget size -------------------------- - -:Type: integer -:Range: >= 1 -:Default: 256 - -This setting controls the zoom level for the HUD map widget (the map in the lower right corner of the window). -A value of 64 results in the HUD map widget displaying one entire exterior cell. -Since the GUI mode map displays 3x3 cells, a value of approximately 21 displays the same area as the GUI mode map. -Larger values increase the level of zoom, -while smaller values are wasteful since there's no map data to display beyond the 3x3 cell grid. - -Note that the actual size of the widget is always the same on the screen -unless the scaling factor setting in the "GUI" section is changed. -Increasing both the scaling factor of the GUI and this setting does result in a higher resolution HUD map, -unfortunately with a scaled direction pointer on top of it. - -This setting can not be configured except by editing the settings configuration file. - local map hud fog of war ------------------------ diff --git a/files/settings-default.cfg b/files/settings-default.cfg index 40c1ae7ff4..5c473bea81 100644 --- a/files/settings-default.cfg +++ b/files/settings-default.cfg @@ -160,10 +160,6 @@ sky rtt resolution = 512 256 # Warning: affects explored areas in save files, see documentation. global map cell size = 18 -# Zoom level in pixels for HUD map widget. 64 is one cell, 128 is 1/4 -# cell, 256 is 1/8 cell. See documentation for details. (e.g. 64 to 256). -local map hud widget size = 256 - # Enables Fog of War rendering on the HUD map. Default is Off since with default settings # the map is so small that the fog would not obscure anything, just darken the edges slightly. local map hud fog of war = false