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

Function getTileSizeInline

library/modules/Maps.cpp:285–290  ·  view source on GitHub ↗

getter for map size in tiles

Source from the content-addressed store, hash-verified

283
284// getter for map size in tiles
285inline void getTileSizeInline (int32_t &x, int32_t &y, int32_t &z)
286{
287 getSizeInline(x, y, z);
288 x *= 16;
289 y *= 16;
290}
291void Maps::getTileSize (int32_t &x, int32_t &y, int32_t &z)
292{
293 getTileSizeInline(x, y, z);

Callers 1

getTileSizeMethod · 0.85

Calls 1

getSizeInlineFunction · 0.85

Tested by

no test coverage detected