Editor: Make display of resources switchable
Bug #778540 reported by
Astuur
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
This is a request for a new editor feature.
Most obviously when designing the altitude profile of a landscape, be it mountain regions or grassland,
the display of mining resources (water, gold, iron, coal and granite) prevents a clear evaluation of the
landscape's altitude changes.
It would be very helpful to be able to switch that display on and off, similar to the buildhelp display.
It would be good to be able to hide immovables as well (c.f. https:/
Related branches
lp:~widelands-dev/widelands/toggle_resources
- GunChleoc: Approve
-
Diff: 337 lines (+107/-74)6 files modifieddata/scripting/editor/editor_controls.lua (+2/-0)
src/editor/editorinteractive.cc (+37/-19)
src/editor/editorinteractive.h (+3/-1)
src/graphic/game_renderer.cc (+7/-13)
src/wui/field_overlay_manager.cc (+13/-28)
src/wui/field_overlay_manager.h (+45/-13)
Changed in widelands: | |
status: | Incomplete → Confirmed |
assignee: | SirVer (sirver) → nobody |
Changed in widelands: | |
status: | Expired → Confirmed |
description: | updated |
description: | updated |
Changed in widelands: | |
milestone: | none → build20-rc1 |
Changed in widelands: | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
>It would be very helpful to be able to switch that display on and off, similar to the buildhelp display.
Off the top of my head, the easiest way to add this would be to tie resources and buildhelp together, so that both are toggled at the same time. So when turning it on both are shown, and if it's off both are hidden. But I assume you probably want separate toggles instead (?), so we probably have to come up with some other mechanism to toggle this.