OpenTTD GameScript API
20240419-master-g7848e80f71
|
Class that handles all NewGRF related functions. More...
Static Public Member Functions | |
static bool | IsLoaded (SQInteger grfid) |
Check if a NewGRF with a given grfid is loaded. More... | |
static SQInteger | GetVersion (SQInteger grfid) |
Get the version of a loaded NewGRF. More... | |
static std::optional< std::string > | GetName (SQInteger 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. |