Skip to content

Fix non-passable overlay: correct data + configurable slope + PNG rendering - #14

Merged
clouths merged 1 commit into
mainfrom
fix/nonpassable-overlay-scale
Oct 19, 2026
Merged

clouths merged 1 commit into
mainfrom
fix/nonpassable-overlay-scale

Conversation

@clouths

@clouths clouths commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Non-passable overlay: new data source (blocks + slope), rendered as embedded PNG (GPU-accelerated, no lag)
  • Configurable slope threshold (4/8/12/16) via landmark panel buttons, default 8
  • Road color changed to yellow
  • Terminal icons: dark gray upside-down triangles with white outline + tooltips
  • All 80 zone SVGs regenerated
  • Worker count: uses all CPU cores

…dering

Non-passable overlay:
- Use blocks layer (Obstacle|Decor) + slope/cliff check
- Slope computed with correct altitude scale (raw >> 5)
- Default threshold: slope >= 32 (attribute 8.0)
- Render as embedded RGBA PNG (GPU-accelerated, no path lag)
- Black outline from merged rectangles
- Configurable slope threshold via landmark panel buttons (4/8/12/16)
- Slope data embedded as grayscale PNG, JS canvas thresholds at runtime
- Enabled by default

Road color:
- Changed from orange (#f5a05a) to yellow (#d4a800)

Layer order:
- Non-passable below roads (roads on top)
- Coastline border below labels (labels on top)
@clouths clouths self-assigned this Oct 19, 2026
@clouths
clouths merged commit 021f6c9 into main Oct 19, 2026
7 checks passed
@clouths
clouths deleted the fix/nonpassable-overlay-scale branch October 19, 2026 05:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant