OpenTTD AI API
20241117-master-ga6c526cfa0
|
Class that handles all NewGRF related functions. More...
Static Public Member Functions | |
static bool | IsLoaded (int grfid) |
Check if a NewGRF with a given grfid is loaded. More... | |
static int | GetVersion (int grfid) |
Get the version of a loaded NewGRF. More... | |
static string | GetName (int grfid) |
Get the name of a loaded NewGRF. More... | |
Class that handles all NewGRF related functions.
|
static |
Get the name of a loaded NewGRF.
grfid | The NewGRF to query. |
|
static |
Get the version of a loaded NewGRF.
grfid | The NewGRF to query. |
|
static |
Check if a NewGRF with a given grfid is loaded.
grfid | The grfid to check. |