MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / CursorTick

Function CursorTick

src/gfx.cpp:1679–1684  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1677}
1678
1679void CursorTick()
1680{
1681 if (_cursor.animate_timeout != 0 && --_cursor.animate_timeout == 0) {
1682 SwitchAnimatedCursor();
1683 }
1684}
1685
1686/**
1687 * Set or unset the ZZZ cursor.

Callers 1

window.cppFile · 0.85

Calls 1

SwitchAnimatedCursorFunction · 0.85

Tested by

no test coverage detected