summaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 21:05:46 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 21:05:46 +0000
commit2ae87e72131a8e88327dbb0b5b286accddafe05d (patch)
treeec755c0d0c31cbcb470d0df2625db8614efca6b2 /src/game/game.hpp
parent9b6b2cabc187f3cb72a53d396418ab1b9ebd2933 (diff)
downloadopenttd-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.hpp5
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);