summaryrefslogtreecommitdiff
path: root/src/game
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 21:05:57 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 21:05:57 +0000
commitb0ac529a6ff4e087520a14d2a0169f445952e7e0 (patch)
treef545f15ff52b6c1ad6279f7e028f2a058465d672 /src/game
parent2ae87e72131a8e88327dbb0b5b286accddafe05d (diff)
downloadopenttd-b0ac529a6ff4e087520a14d2a0169f445952e7e0.tar.xz
(svn r23635) -Add: introduce GSText, to allow translating GameScript text, even over network
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 e4971238a..7ab235cc7 100644
--- a/src/game/game_instance.cpp
+++ b/src/game/game_instance.cpp
@@ -67,6 +67,7 @@
#include "../script/api/game/game_subsidy.hpp.sq"
#include "../script/api/game/game_subsidylist.hpp.sq"
#include "../script/api/game/game_testmode.hpp.sq"
+#include "../script/api/game/game_text.hpp.sq"
#include "../script/api/game/game_tile.hpp.sq"
#include "../script/api/game/game_tilelist.hpp.sq"
#include "../script/api/game/game_town.hpp.sq"
@@ -161,6 +162,7 @@ void GameInstance::RegisterAPI()
SQGSSubsidy_Register(this->engine);
SQGSSubsidyList_Register(this->engine);
SQGSTestMode_Register(this->engine);
+ SQGSText_Register(this->engine);
SQGSTile_Register(this->engine);
SQGSTileList_Register(this->engine);
SQGSTileList_IndustryAccepting_Register(this->engine);