OpenTTD Source: src/progress.cpp File Reference

OpenTTD Source 14.0-beta1

Functions | Variables
progress.cpp File Reference
`#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

  state | The 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().