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_core.cpp | |
parent | 9b6b2cabc187f3cb72a53d396418ab1b9ebd2933 (diff) | |
download | openttd-2ae87e72131a8e88327dbb0b5b286accddafe05d.tar.xz |
(svn r23634) -Add: support language files for GameScript (Rubidium)
Diffstat (limited to 'src/game/game_core.cpp')
-rw-r--r-- | src/game/game_core.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/game_core.cpp b/src/game/game_core.cpp index ac24853da..2816a6223 100644 --- a/src/game/game_core.cpp +++ b/src/game/game_core.cpp @@ -22,6 +22,7 @@ #include "game_scanner.hpp" #include "game_config.hpp" #include "game_instance.hpp" +#include "game_info.hpp" /* static */ uint Game::frame_counter = 0; /* static */ GameInfo *Game::info = NULL; @@ -29,6 +30,11 @@ /* static */ GameScannerInfo *Game::scanner_info = NULL; /* static */ GameScannerLibrary *Game::scanner_library = NULL; +/* static */ const char *Game::GetMainScript() +{ + return Game::info->GetMainScript(); +} + /* static */ void Game::GameLoop() { if (_networking && !_network_server) return; |