Viewer: sector grid toggle in Map 2D and Map 3D #218
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!218
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/218/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-24 22:45 UTC · original
holdmysocks:claude/sector-grid-overlay→master· +298 −5 · 5 files · 1 commits · merged 2026-11-24 23:00 UTCWhat
Adds a sector grid toggle to Map 2D and Map 3D. When it's on, the viewer draws the world sector grids of
levels.rpf(decoded bysixng_core::sectorgrid, #194 and #210). A picker below the toggle chooses one of the eight grids. The default is the 60 m world grid.--sector-grid [N]turns the overlay on for--tab map2dor--tab map3druns and picks grid N (1-based, in archive order). Screenshots wait for the grids to load.New file:
crates/sixng-gui/src/sector_view.rs. Small hooks inmap2d.rs,map3d.rs,main.rsandpages.rs.Map2D::newnow also takes the game folder.Checked
cargo build -p sixng-gui --release, clippy andcargo test -p sixng-gui --release.Not done