View Issue Details

IDProjectCategoryView StatusLast Update
0001991Dwarf FortressDwarf Mode -- Jobs, Activity Zonespublic2015-01-11 07:34
ReporterItchyBeard Assigned Touser6 
PrioritynormalSeveritytrivialReproducibilityalways
Status confirmedResolutionopen 
Platformamd64OSWindowsOS Version7
Product Version0.31.04 
Summary0001991: Roads occlude zone designations unless cursor is over zone
DescriptionIf you create a zone (e.g. garbage dump) and then build a road on top of the zoned area, the parts of the zone which are covered by the road are not visible unless the cursor is present inside the zone boundries.

If the road existed before the zone was designated, this does not occur.
Steps To Reproduce1. Zone an area. (i)
2. Build a paved road on top of the zoned area. (b-o)
3. "i" -> zone does not appear unless cursor is within zone boundaries.
TagsNo tags attached.

Activities

ItchyBeard

2010-05-20 22:42

reporter   ~0007121

Regarding the "Intentional?" tag - this won't be intentional, though it may be an implementation artefact. If I build a road on top of a zone, the zone still exists and should be displayed - not hidden by the road.

There should be no difference between building a road and then designating a zone, and designating a zone and then building a road. They should be equivalent, however currently one displays differently to the other. I have no idea whether it makes a functional difference, but it shouldn't.

As it is currently you can end up with a zone *under* a road which makes no sense and could lead to some very strange behaviour (e.g. an active dump zone you can't see). To be clear, when I say 'zone' I mean 'Activity Zone', e.g. Dump zones, Water collection, Hospitals, etc.

I am assuming based on the observed behaviour that when things are drawn, they are drawn in order of creation based on some internal ID. As such, the order of creation for roads/zones matters for display purposes when it really shouldn't. The solution would be to draw all zones later in the drawing process (probably as a separate pass).

And yes, I know this is a really trivial bug ;).

ptb_ptb

2015-01-11 02:14

reporter   ~0031870

Last edited: 2015-01-11 02:37

Still present in DF 0.40.23

Save file: http://dffd.wimbli.com/file.php?id=10422

Add Note

Note

Issue History

Date Modified Username Field Change
2010-05-20 05:08 ItchyBeard New Issue
2010-05-20 09:52 user6 Tag Attached: inten
2010-05-20 09:52 user6 Tag Detached: inten
2010-05-20 09:52 user6 Tag Attached: Intentional?
2010-05-20 22:42 ItchyBeard Note Added: 0007121
2010-05-21 01:13 user6 Tag Detached: Intentional?
2015-01-11 02:14 ptb_ptb Note Added: 0031870
2015-01-11 02:37 ptb_ptb Note Edited: 0031870
2015-01-11 07:34 user6 Assigned To => user6
2015-01-11 07:34 user6 Status new => confirmed