summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 20:58:59 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 20:58:59 +0000
commit55de5d336c2b82aa2393a28e09b64f72f4661a25 (patch)
treee22b50238bfb53086c4e27e0d8487f9e332f7b6f /src/game
parent5ff98b45c1f9097f521c95cfa46728e1f39a8f6d (diff)
downloadopenttd-55de5d336c2b82aa2393a28e09b64f72f4661a25.tar.xz
(svn r23618) -Add: ScriptGame::Pause, ScriptGame::Unpause, and ScriptGame::GetLandscape (GameScript only)
Diffstat (limited to 'src/game')
-rw-r--r--src/game/game_instance.cpp2
1 files changed, 2 insertions, 0 deletions
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);