From 55de5d336c2b82aa2393a28e09b64f72f4661a25 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 20:58:59 +0000 Subject: (svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only) --- src/game/game_instance.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game') diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp index 87cb2e68c..9d9129b41 100644 --- a/src/game/game_instance.cpp +++ b/src/game/game_instance.cpp @@ -40,6 +40,7 @@ #include "../script/api/game/game_error.hpp.sq" #include "../script/api/game/game_event.hpp.sq" #include "../script/api/game/game_execmode.hpp.sq" +#include "../script/api/game/game_game.hpp.sq" #include "../script/api/game/game_gamesettings.hpp.sq" #include "../script/api/game/game_industry.hpp.sq" #include "../script/api/game/game_industrylist.hpp.sq" @@ -109,6 +110,7 @@ void GameInstance::RegisterAPI() SQGSEvent_Register(this->engine); SQGSEventController_Register(this->engine); SQGSExecMode_Register(this->engine); + SQGSGame_Register(this->engine); SQGSGameSettings_Register(this->engine); SQGSIndustry_Register(this->engine); SQGSIndustryList_Register(this->engine); -- cgit v1.2.3-54-g00ecf