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

Function get_constructed_wall_str

plugins/blueprint.cpp:639–644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639static const char * get_constructed_wall_str(df::coord pos) {
640 df::construction *c = Constructions::findAtTile(pos);
641 if (!c || !(c->flags.bits.reinforced))
642 return "Cw";
643 return "CW";
644}
645
646static const char * get_constructed_floor_str(df::tiletype *tt) {
647 if (tileSpecial(*tt) != df::tiletype_special::TRACK)

Callers 1

get_tile_constructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected