| 44 | } |
| 45 | |
| 46 | void GameInstance::RegisterAPI() |
| 47 | { |
| 48 | ScriptInstance::RegisterAPI(); |
| 49 | |
| 50 | /* Register all classes */ |
| 51 | SQGS_RegisterAll(*this->engine); |
| 52 | |
| 53 | if (!this->LoadCompatibilityScripts(GAME_DIR, GameInfo::ApiVersions)) this->Died(); |
| 54 | |
| 55 | if (this->IsAlive()) RegisterGameTranslation(*this->engine); |
| 56 | } |
| 57 | |
| 58 | int GameInstance::GetSetting(const std::string &name) |
| 59 | { |
nothing calls this directly
no test coverage detected