From 2ae87e72131a8e88327dbb0b5b286accddafe05d Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 21:05:46 +0000 Subject: (svn r23634) -Add: support language files for GameScript (Rubidium) --- src/game/game.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/game/game.hpp') 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); -- cgit v1.2.3-54-g00ecf