|
OpenTTD GameScript API 20251101-master-g66b6d71e32
|
Class that handles some game related functions. More...
#include <script_game.hpp>
Public Types | |
| enum | LandscapeType { LT_TEMPERATE , LT_ARCTIC , LT_TROPIC , LT_TOYLAND } |
| Type of landscapes known in the game. More... | |
Static Public Member Functions | |
| static bool | Pause () |
| Pause the server. | |
| static bool | Unpause () |
| Unpause the server. | |
| static bool | IsPaused () |
| Check if the game is paused. | |
| static LandscapeType | GetLandscape () |
| Get the current landscape. | |
| static bool | IsMultiplayer () |
| Is this a multiplayer game? | |
Class that handles some game related functions.
|
static |
Get the current landscape.
|
static |
Is this a multiplayer game?
|
static |
Check if the game is paused.
|
static |
Pause the server.
|
static |
Unpause the server.