Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
172
static bool is_range_valid(const coord_range &target)
173
{
174
return target.first.isValid() && target.second.isValid();
175
}
176
177
static bool is_in_range(const coord_range &target, df::coord pos)
178
{
Callers
1
hasTarget
Method · 0.85
Calls
1
isValid
Method · 0.45
Tested by
no test coverage detected