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

Function ReadFeaturesInline

library/modules/Maps.cpp:552–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

550}
551
552inline bool ReadFeaturesInline(int32_t x, int32_t y, int32_t z, t_feature *local, t_feature *global)
553{
554 df::map_block *block = Maps::getBlock(x, y, z);
555 if (!block)
556 return false;
557 return Maps::ReadFeatures(block, local, global);
558}
559bool Maps::ReadFeatures(int32_t x, int32_t y, int32_t z, t_feature *local, t_feature *global)
560{
561 return ReadFeaturesInline(x, y, z, local, global);

Callers 1

ReadFeaturesMethod · 0.85

Calls 1

getBlockFunction · 0.85

Tested by

no test coverage detected