OpenTTD GameScript API
20241123-master-g26ae50baf9
|
Class that handles some game related functions. More...
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. More... | |
static bool | Unpause () |
Unpause the server. More... | |
static bool | IsPaused () |
Check if the game is paused. More... | |
static LandscapeType | GetLandscape () |
Get the current landscape. More... | |
static bool | IsMultiplayer () |
Is this a multiplayer game? More... | |
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.