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

Function HasModalProgress

src/progress.h:17–21  ·  view source on GitHub ↗

* Check if we are currently in a modal progress state. * @return Are we in the modal state? */

Source from the content-addressed store, hash-verified

15 * @return Are we in the modal state?
16 */
17inline bool HasModalProgress()
18{
19 extern bool _in_modal_progress;
20 return _in_modal_progress;
21}
22
23void SetModalProgress(bool state);
24

Callers 14

StateGameLoopFunction · 0.85
GameLoopFunction · 0.85
MayBeShownFunction · 0.85
HandleToolbarHotkeyFunction · 0.85
HandleKeypressFunction · 0.85
HandleAutoscrollFunction · 0.85
MouseLoopFunction · 0.85
HandleMouseEventsFunction · 0.85
InputLoopFunction · 0.85
GenerateWorldFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected