|
OpenTTD Source 20251117-master-g7398d2e290
|
Functions related to modal progress. More...
Go to the source code of this file.
Functions | |
| bool | HasModalProgress () |
| Check if we are currently in a modal progress state. | |
| void | SetModalProgress (bool state) |
| Set the modal progress state. | |
Functions related to modal progress.
Definition in file progress.h.
|
inline |
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(), HandleAutoscroll(), HandleKeypress(), HandleMouseEvents(), HandleToolbarHotkey(), InputLoop(), MayBeShown(), MainWindow::OnHotkey(), StateGameLoop(), and VideoDriver::Tick().
| 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 CleanupGeneration(), DoScanNewGRFFiles(), GenerateWorld(), and ScanNewGRFFiles().