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

Method valid

library/include/modules/Screen.h:90–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

88 bool bottom_of_text = false;
89
90 bool valid() const { return tile >= 0; }
91 bool empty() const { return ch == 0 && tile == 0; }
92
93 // NOTE: LuaApi.cpp assumes this struct is plain data and has empty destructor

Callers 10

PushMethod · 0.80
adjust_penFunction · 0.80
make_pen_tableFunction · 0.80
paintTileMethod · 0.80
fillRectMethod · 0.80
paint_screenFunction · 0.80
bump_layersFunction · 0.80
paintScreenWarmDampFunction · 0.80
paintAimScreenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected