Repository navigation
Implement Civ3 Clean Map and Center Screen map menu options - #1113
Open
Billytifft wants to merge 1 commit into
Open
Billytifft wants to merge 1 commit into
Billytifft wants to merge 1 commit into
Conversation
Billytifft
force-pushed
the
billy/clean-map-setting
branch
from
November 17, 2026 19:40
5b6fd53 to
14a09c8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the remaining Civ3-style Map menu items for Center Screen and Clean Map.
Chotkey logic.C7Settings/C7.ini.Ctrl+Alt+Shift+Mreveal-map shortcut is unchanged; the new Clean Map shortcut only fires when Alt is not held.Implementation notes
CleanMapSettingsowns the preference definitions, defaults, persistence, and the active Clean Map toggle state.MapView.ApplyCleanMapPreferences()applies the current settings to the relevant map layers.HillsLayer: separate mountain/volcano and hill handling, plus vegetation on hills.TileOverlayLayer: roads, railroads, irrigation, pollution/craters, and other terrain improvements.TileAssignmentLayer: food/shield icons.UnitLayerandCityLayer: animated unit/city child nodes are hidden as well.InteractablePopUpController.OptionsPopUpnow accepts optional checkbox options, so no dedicated checkbox popup class is needed.Verification
dotnet build C7/C7.sln— 0 errorsdotnet test C7/C7.slnwithCIV3_HOME— 392 passed, 0 faileddotnet format C7/C7.sln whitespace --verify-no-changes— clean