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

Method empty

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

Source from the content-addressed store, hash-verified

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
94

Callers 15

cheap_tokeniseMethod · 0.45
runCommandMethod · 0.45
loadScriptFileMethod · 0.45
InitSimulationThreadMethod · 0.45
doUpdateMethod · 0.45
GetAliasCommandMethod · 0.45
bindMethod · 0.45
split_stringFunction · 0.45
UTF2DFFunction · 0.45
dfhack_save_crashlogFunction · 0.45
getMemRangesMethod · 0.45

Calls

no outgoing calls

Tested by 1

TEST_FFunction · 0.36