diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 21:05:46 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 21:05:46 +0000 |
commit | 2ae87e72131a8e88327dbb0b5b286accddafe05d (patch) | |
tree | ec755c0d0c31cbcb470d0df2625db8614efca6b2 /src/game/game_instance.cpp | |
parent | 9b6b2cabc187f3cb72a53d396418ab1b9ebd2933 (diff) | |
download | openttd-2ae87e72131a8e88327dbb0b5b286accddafe05d.tar.xz |
(svn r23634) -Add: support language files for GameScript (Rubidium)
Diffstat (limited to 'src/game/game_instance.cpp')
-rw-r--r-- | src/game/game_instance.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp index 81870603b..e4971238a 100644 --- a/src/game/game_instance.cpp +++ b/src/game/game_instance.cpp @@ -19,6 +19,7 @@ #include "game_config.hpp" #include "game_info.hpp" #include "game_instance.hpp" +#include "game_text.hpp" #include "game.hpp" /* Convert all Game related classes to Squirrel data. @@ -180,6 +181,7 @@ void GameInstance::RegisterAPI() SQGSWaypointList_Vehicle_Register(this->engine); SQGSWindow_Register(this->engine); + RegisterGameTranslation(this->engine); } int GameInstance::GetSetting(const char *name) |