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

Function lineX

plugins/dig.cpp:576–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574};
575
576bool lineX (MapExtras::MapCache & MCache,
577 circle_what what,
578 df::tile_dig_designation type,
579 int32_t priority,
580 int32_t y1, int32_t y2, int32_t x, int32_t z,
581 int x_max, int y_max
582 )
583{
584 for(int32_t y = y1; y <= y2; y++)
585 {
586 dig(MCache, what, type, priority, x,y,z, x_max, y_max);
587 }
588 return true;
589};
590
591bool lineY (MapExtras::MapCache & MCache,
592 circle_what what,

Callers

nothing calls this directly

Calls 1

digFunction · 0.85

Tested by

no test coverage detected