15 #include "../script/script_info.hpp" int version
Version of the script.
static void RegisterAPI(Squirrel *engine)
Register the functions of this class.
bool is_developer_only
Is the script selectable by non-developers?
All static information from an Game like name, version, etc.
All static information from an Game library like name, version, etc.
static SQInteger Constructor(HSQUIRRELVM vm)
Create an Game, using this GameInfo as start-template.
All static information from an Script like name, version, etc.
int min_loadable_version
The Game can load savegame data if the version is equal or greater than this.
bool CanLoadFromVersion(int version) const
Check if we can start this Game.
const char * category
The category this library is in.
const char * GetAPIVersion() const
Get the API version this Game is written for.
const char * api_version
API version used by this Game.
const char * GetCategory() const
Get the category this library is in.
class Squirrel * engine
Engine used to register for Squirrel.
bool IsDeveloperOnly() const
Can this script be selected by developers only?