From a724a9924bb4b489370befce7dcf3c3a39c310bb Mon Sep 17 00:00:00 2001 From: zuu Date: Sun, 9 Jun 2013 13:37:04 +0000 Subject: (svn r25376) -Feature: Allow access to goal list and story book of other companies than your own --- src/script/api/game/game_window.hpp.sq | 3 +++ src/script/api/script_window.hpp | 2 ++ 2 files changed, 5 insertions(+) (limited to 'src/script') diff --git a/src/script/api/game/game_window.hpp.sq b/src/script/api/game/game_window.hpp.sq index d591f611a..750f70256 100644 --- a/src/script/api/game/game_window.hpp.sq +++ b/src/script/api/game/game_window.hpp.sq @@ -495,6 +495,7 @@ void SQGSWindow_Register(Squirrel *engine) SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GP_PROGRESS_BAR, "WID_GP_PROGRESS_BAR"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GP_PROGRESS_TEXT, "WID_GP_PROGRESS_TEXT"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GP_ABORT, "WID_GP_ABORT"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_CAPTION, "WID_GOAL_CAPTION"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_GOAL, "WID_GOAL_GOAL"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_PROGRESS, "WID_GOAL_PROGRESS"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_GOAL_SCROLLBAR, "WID_GOAL_SCROLLBAR"); @@ -1150,6 +1151,8 @@ void SQGSWindow_Register(Squirrel *engine) SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_STATIONS, "WID_TN_STATIONS"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_FINANCES, "WID_TN_FINANCES"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_COMPANIES, "WID_TN_COMPANIES"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_STORY, "WID_TN_STORY"); + SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_GOAL, "WID_TN_GOAL"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_GRAPHS, "WID_TN_GRAPHS"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_LEAGUE, "WID_TN_LEAGUE"); SQGSWindow.DefSQConst(engine, ScriptWindow::WID_TN_INDUSTRIES, "WID_TN_INDUSTRIES"); diff --git a/src/script/api/script_window.hpp b/src/script/api/script_window.hpp index 3654f0fac..0d78ab5a3 100644 --- a/src/script/api/script_window.hpp +++ b/src/script/api/script_window.hpp @@ -2341,6 +2341,8 @@ public: WID_TN_STATIONS = ::WID_TN_STATIONS, ///< Station menu. WID_TN_FINANCES = ::WID_TN_FINANCES, ///< Finance menu. WID_TN_COMPANIES = ::WID_TN_COMPANIES, ///< Company menu. + WID_TN_STORY = ::WID_TN_STORY, ///< Story menu. + WID_TN_GOAL = ::WID_TN_GOAL, ///< Goal menu. WID_TN_GRAPHS = ::WID_TN_GRAPHS, ///< Graph menu. WID_TN_LEAGUE = ::WID_TN_LEAGUE, ///< Company league menu. WID_TN_INDUSTRIES = ::WID_TN_INDUSTRIES, ///< Industry menu. -- cgit v1.2.3-54-g00ecf