MCPcopy Create free account
hub / github.com/DFHack/dfhack / allHigh

Function allHigh

plugins/filltraffic.cpp:333–338  ·  view source on GitHub ↗

Unconditionally set map to target traffic type

Source from the content-addressed store, hash-verified

331
332//Unconditionally set map to target traffic type
333void allHigh(DFCoord coord, MapExtras::MapCache &map)
334{
335 df::tile_designation des = map.designationAt(coord);
336 des.bits.traffic = tile_traffic::High;
337 map.setDesignationAt(coord, des);
338}
339void allNormal(DFCoord coord, MapExtras::MapCache &map)
340{
341 df::tile_designation des = map.designationAt(coord);

Callers

nothing calls this directly

Calls 1

setDesignationAtMethod · 0.80

Tested by

no test coverage detected