Comment 12 for bug 1830345

Revision history for this message
Benedikt Straub (nordfriese) wrote :

When placing a milsite or a port, you get all the workareas of other milsites, HQs and ports (own and enemy). When placing a productionsites, only own productionsites are shown.

> Maybe restricting the shown workareas to buildings/workers which have a 'plant' program would be enough.

Since worker programs do not and should not have name restrictions, and this would be hard to implement, -1. But I could add that every building defines the names of certain other buildings, and overlaps are indicated only for those…

> Playing a game with a debug stutters when trying to place a building and hovering over the building icons in the buildings menu.

My performance fix only masks the problem. I think making the actual calculation more efficient is not possible, so the costly calculation now is happening only when it is needed. This causes a small pause when moving around or showing/hiding a workarea.