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

Function blink

plugins/dig.cpp:2156–2158  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2154}
2155
2156static bool blink(int delay) {
2157 return (Core::getInstance().p->getTickCount()/delay) % 2 == 0;
2158}
2159
2160static void paintScreenWarmDamp(bool aquifer_mode = false, bool show_damp = false) {
2161 TRACE(log).print("entering paintScreenDampWarm aquifer_mode={}, show_damp={}\n", aquifer_mode, show_damp);

Callers 2

paintScreenWarmDampFunction · 0.85
paintScreenDesignatedFunction · 0.85

Calls 1

getTickCountMethod · 0.80

Tested by

no test coverage detected