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

Function printMatdata

plugins/prospector.cpp:164–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

162};
163
164static void printMatdata(color_ostream &con, const matdata &data, bool only_z = false)
165{
166 if (!only_z)
167 con << std::setw(9) << int(data.count);
168
169 if(data.lower_z != data.upper_z)
170 con <<" Elev:" << std::setw(4) << (data.lower_z) << ".." << (data.upper_z)
171 << std::endl;
172 else
173 con <<" Elev:" << std::setw(4) << (data.lower_z)
174 << std::endl;
175}
176
177static int getValue(const df::inorganic_raw &info)
178{

Callers 3

printMatsFunction · 0.85
embark_prospectorFunction · 0.85
map_prospectorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected