Create an overlay which shows a grid
Bug #1529261 reported by
kaputtnik
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
In editor it is sometimes useful to have a grid shown. The grid should show the triangles of the fields and should be toggled with a shortcut and/or a button.
Attached is a mockup how this grid could be shown. May a different color should be used.
Related branches
lp:~widelands-dev/widelands/editor-grid
- GunChleoc: Approve
-
Diff: 457 lines (+225/-6)15 files modifieddata/shaders/grid.fp (+5/-0)
data/shaders/grid.vp (+10/-0)
src/editor/editorinteractive.cc (+14/-1)
src/editor/editorinteractive.h (+3/-0)
src/graphic/CMakeLists.txt (+2/-0)
src/graphic/game_renderer.cc (+8/-0)
src/graphic/game_renderer.h (+1/-0)
src/graphic/gl/grid_program.cc (+89/-0)
src/graphic/gl/grid_program.h (+72/-0)
src/graphic/render_queue.cc (+10/-0)
src/graphic/render_queue.h (+3/-0)
src/wui/interactive_player.cc (+1/-1)
src/wui/interactive_spectator.cc (+1/-1)
src/wui/mapview.cc (+2/-1)
src/wui/mapview.h (+4/-2)
Changed in widelands: | |
assignee: | nobody → Benedikt Straub (nordfriese) |
status: | Confirmed → In Progress |
Changed in widelands: | |
milestone: | none → build21-rc1 |
Changed in widelands: | |
status: | In Progress → Fix Committed |
assignee: | Benedikt Straub (nordfriese) → nobody |
To post a comment you must log in.
Which colour would you like to have for the grid?