Improve working area preview
Bug #536473 reported by
atrueba
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
At the time, the working area preview of a building is shown by means of placing small coloured pngs on top of the surfaces it will affect.
I think a fancier way to do this would be to apply a coloured, semi-transparent layer to the surface, so it covers the whole area while letting the user see what's happening under it, and add an opaque border to its outer border. The colour used could be based on the actual player's colour.
Forum discussion: https:/
Related branches
lp:~widelands-dev/widelands/new_workarea_pics
- GunChleoc: Approve
-
Diff: 8 lines (+0/-0)0 files modified
description: | updated |
Changed in widelands: | |
status: | Incomplete → In Progress |
tags: | added: ui |
tags: |
added: graphics images removed: graphic |
Changed in widelands: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Logged In: YES
user_id=31104
Originator: NO
Yes, I have been thinking along these lines since I first implemented the workare preview. I would like to highlight the triangles somehow in the ground rendering. But it requires moving the activities from nodes to triangles. I have a (not yet finished patch) for moving resources to triangles [https:/ /sourceforge. net/tracker/ index.php? func=detail& aid=1681404& group_id= 40163&atid= 427224]. This will make it possible to highlight triangles for mines, fisher and well. The next thing would be to move ownership to triangles (not just for this reason). That would make it possible to highlight triangles for military buildings. Then I have a request to move objects to triangles [https:/ /sourceforge. net/tracker/ index.php? func=detail& aid=1096824& group_id= 40163&atid= 427224]. If all this is implemented, it would be possible to visualize the workareas by highlighting triangles.