Delete the minimap asteroids setting; minimap belts always draw

Ruling minimap-asteroids-setting-deleted. PlayerGraphicsSettings key 1 stays
retired so old saves load; OldPlayerSettingsLoad now writes the old 3-element
array by hand. MapPresenterSmoke asserts a belt draws with the map screen
closed. Not built or tested yet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-10-17 04:36:13 +02:00
commit b70372963a
8 changed files with 13 additions and 22 deletions

View file

@ -68,8 +68,6 @@ public class MapPresenter
public void SetMinimapScale(float scale) => _minimapScale = scale;
public void OpenMapScreen(bool open) => _mapScreenOpen = open;
// PlayerGraphicsSettings.ShowAsteroidsInMinimap: belt sprites on the minimap; the map screen always shows them.
public bool BeltsOnMinimap { get; set; }
public void SetMapScreenScale(float scale) => _mapScreenScale = scale;
// Destroy in play mode, DestroyImmediate where the editor smokes run without one.
@ -231,8 +229,7 @@ public class MapPresenter
material.SetFloat("_DepthRange", depthRange);
}
if (BeltsOnMinimap || _mapScreenOpen)
foreach (var belt in _belts.Values) DrawBelt(belt);
foreach (var belt in _belts.Values) DrawBelt(belt);
}
public void Clear()