From e0ffe4faf268298f3a20427cd87462c70e3d9bc2 Mon Sep 17 00:00:00 2001 From: truebrain Date: Mon, 19 Dec 2011 21:01:03 +0000 Subject: (svn r23627) -Add: ScriptNews::Create, to create custom news messages (GameScript only) --- src/game/game_instance.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game') diff --git a/src/game/game_instance.cpp b/src/game/game_instance.cpp index 998788b61..438ccc019 100644 --- a/src/game/game_instance.cpp +++ b/src/game/game_instance.cpp @@ -53,6 +53,7 @@ #include "../script/api/game/game_log.hpp.sq" #include "../script/api/game/game_map.hpp.sq" #include "../script/api/game/game_marine.hpp.sq" +#include "../script/api/game/game_news.hpp.sq" #include "../script/api/game/game_rail.hpp.sq" #include "../script/api/game/game_railtypelist.hpp.sq" #include "../script/api/game/game_road.hpp.sq" @@ -141,6 +142,7 @@ void GameInstance::RegisterAPI() SQGSLog_Register(this->engine); SQGSMap_Register(this->engine); SQGSMarine_Register(this->engine); + SQGSNews_Register(this->engine); SQGSRail_Register(this->engine); SQGSRailTypeList_Register(this->engine); SQGSRoad_Register(this->engine); -- cgit v1.2.3-54-g00ecf