|
OpenTTD Source
13.2.1
|
Go to the source code of this file.
Functions | |
| static bool | HasModalProgress () |
| Check if we are currently in a modal progress state. More... | |
| void | SetModalProgress (bool state) |
| Set the modal progress state. More... | |
Functions related to modal progress.
Definition in file progress.h.
|
inlinestatic |
Check if we are currently in a modal progress state.
Definition at line 17 of file progress.h.
References _in_modal_progress.
Referenced by GenerateWorld(), HandleKeypress(), HandleMouseEvents(), HandleToolbarHotkey(), InputLoop(), MayBeShown(), and StateGameLoop().
| void SetModalProgress | ( | bool | state | ) |
Set the modal progress state.
| state | The new state; are we modal or not? |
Definition at line 22 of file progress.cpp.
References _in_modal_progress.
Referenced by GenerateWorld(), and ScanNewGRFFiles().