|
OpenTTD Source 20260211-master-g04436b7401
|
Implementation of GameInfo. More...
#include "../stdafx.h"#include "../script/squirrel_class.hpp"#include "game_info.hpp"#include "game_scanner.hpp"#include "../debug.h"#include "../safeguards.h"Go to the source code of this file.
Functions | |
| static bool | CheckAPIVersion (const std::string &api_version) |
| Check if the API version provided by the Game is supported. | |
| template<> | |
| SQInteger | PushClassName< GameInfo, ScriptType::GS > (HSQUIRRELVM vm) |
Implementation of GameInfo.
Definition in file game_info.cpp.
|
static |
Check if the API version provided by the Game is supported.
| api_version | The API version as provided by the Game. |
true if the given version is supported by this version of OpenTTD. Definition at line 24 of file game_info.cpp.
References GameInfo::ApiVersions.
| SQInteger PushClassName< GameInfo, ScriptType::GS > | ( | HSQUIRRELVM | vm | ) |
Definition at line 29 of file game_info.cpp.