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

Method readTile

library/modules/Screen.cpp:360–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

358}
359
360Pen Screen::readTile(int x, int y, bool map, int32_t * df::graphic_viewportst::*texpos_field)
361{
362 if (!gps) return Pen(0,0,0,-1);
363
364 return doGetTile(x, y, map, texpos_field);
365}
366
367bool Screen::paintString(const Pen &pen, int x, int y, const std::string &text, bool map)
368{

Callers

nothing calls this directly

Calls 2

doGetTileFunction · 0.85
PenClass · 0.50

Tested by

no test coverage detected