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.hpp | |
parent | 9b6b2cabc187f3cb72a53d396418ab1b9ebd2933 (diff) | |
download | openttd-2ae87e72131a8e88327dbb0b5b286accddafe05d.tar.xz |
(svn r23634) -Add: support language files for GameScript (Rubidium)
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r-- | src/game/game.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/game/game.hpp b/src/game/game.hpp index 9e13bc5b6..50d97b50c 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -91,6 +91,11 @@ public: */ static class GameInstance *GetInstance() { return Game::instance; } + /** + * Get the current active mainscript. + */ + static const char *GetMainScript(); + #if defined(ENABLE_NETWORK) /** Wrapper function for GameScanner::HasGame */ static bool HasGame(const struct ContentInfo *ci, bool md5sum); |