OpenTTD Source  20241109-master-g5e4f8db7d6
progress.cpp File Reference

Functions for modal progress windows. More...

#include "stdafx.h"
#include "progress.h"
#include "safeguards.h"

Go to the source code of this file.

Functions

void SetModalProgress (bool state)
 Set the modal progress state. More...
 

Variables

bool _in_modal_progress = false
 Are we in a modal progress or not?
 

Detailed Description

Functions for modal progress windows.

Definition in file progress.cpp.

Function Documentation

◆ SetModalProgress()

void SetModalProgress ( bool  state)

Set the modal progress state.

Parameters
stateThe new state; are we modal or not?

Definition at line 22 of file progress.cpp.

References _in_modal_progress.

Referenced by CleanupGeneration(), GenerateWorld(), and ScanNewGRFFiles().