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

Function is_range_valid

plugins/siege-engine.cpp:172–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172static bool is_range_valid(const coord_range &target)
173{
174 return target.first.isValid() && target.second.isValid();
175}
176
177static bool is_in_range(const coord_range &target, df::coord pos)
178{

Callers 1

hasTargetMethod · 0.85

Calls 1

isValidMethod · 0.45

Tested by

no test coverage detected