OpenTTD GameScript API
20240906-master-gd5ff6b4156
|
Class that manipulates the user's viewport. More...
Static Public Member Functions | |
static void | ScrollTo (TileIndex tile) |
Scroll the viewport to the given tile, where the tile will be in the center of the screen. More... | |
static bool | ScrollEveryoneTo (TileIndex tile) |
Scroll the viewport of all players to the given tile, where the tile will be in the center of the screen. More... | |
static bool | ScrollCompanyClientsTo (GSCompany::CompanyID company, TileIndex tile) |
Scroll the viewports of all players in the company to the given tile, where the tile will be in the center of the screen. More... | |
static bool | ScrollClientTo (GSClient::ClientID client, TileIndex tile) |
Scroll the viewport of the client to the given tile, where the tile will be in the center of the screen. More... | |
Class that manipulates the user's viewport.
|
static |
Scroll the viewport of the client to the given tile, where the tile will be in the center of the screen.
client | The client to scroll the viewport of. |
tile | The tile to put in the center of the screen. |
|
static |
Scroll the viewports of all players in the company to the given tile, where the tile will be in the center of the screen.
company | The company which players to scroll the viewport of. |
tile | The tile to put in the center of the screen. |
|
static |
Scroll the viewport of all players to the given tile, where the tile will be in the center of the screen.
tile | The tile to put in the center of the screen. |
|
static |
Scroll the viewport to the given tile, where the tile will be in the center of the screen.
tile | The tile to put in the center of the screen. |