Split overlay manager

Bug #536606 reported by Sigra
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Fix Released
Low
Unassigned

Bug Description

The overlay manager has 2 completely separate uses; node overlays and road overlays. Each of the uses has separate data structures and code. They do not interact at all (there is no dependency between them). So they should not share a type.

Tags: cleanups

Related branches

SirVer (sirver)
Changed in widelands:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
SirVer (sirver) wrote :

Setting to incomplete for bug sweeping.

Changed in widelands:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for widelands because there has been no activity for 60 days.]

Changed in widelands:
status: Incomplete → Expired
Revision history for this message
SirVer (sirver) wrote :

I still think this should happen. It is a little more involved than I hoped it would be when I looked at it the last time, but it should be manageable.

tags: added: cleanups lowhangingfruit
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Ok, putting it back to confirmed. Let's see if anyone picks it up.

Changed in widelands:
status: Expired → Confirmed
SirVer (sirver)
tags: added: cleanup
removed: cleanups
SirVer (sirver)
tags: added: cleanups
removed: cleanup
Revision history for this message
SirVer (sirver) wrote :

Setting to incomplete for bug sweeping.

Changed in widelands:
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for widelands because there has been no activity for 60 days.]

Changed in widelands:
status: Incomplete → Expired
SirVer (sirver)
Changed in widelands:
status: Expired → Confirmed
tags: removed: lowhangingfruit
SirVer (sirver)
Changed in widelands:
assignee: nobody → SirVer (sirver)
status: Confirmed → In Progress
Revision history for this message
TiborB (tiborb95) wrote :

I wonder what visible benefits this will provide for players... because from description it is not obvious to me....

Revision history for this message
GunChleoc (gunchleoc) wrote :

It will give us a benefit for coders - cleaner code. The benefit for players is that it will speed up future development :)

Revision history for this message
SirVer (sirver) wrote :

This in particular also reduces coupling. The OverlayManager lived in Map before - a UI class that lived in the logic part of the game. This is one of the reasons there is a circular dependency between wui and logic.

Revision history for this message
SirVer (sirver) wrote :

finally did that. the overlay manager could still benefit from an interface overhaul - I am thinking about using named layers instead of 'levels' for defining in which z layer an overlay is drawn, but the split is done in r7701.

Changed in widelands:
status: In Progress → Fix Committed
milestone: none → build19-rc1
assignee: SirVer (sirver) → nobody
GunChleoc (gunchleoc)
Changed in widelands:
status: Fix Committed → Fix Released
Revision history for this message
GunChleoc (gunchleoc) wrote :

Fixed in build19-rc1.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.