summaryrefslogtreecommitdiff
path: root/src/script/api/game
diff options
context:
space:
mode:
authorzuu <zuu@openttd.org>2013-11-16 17:41:57 +0000
committerzuu <zuu@openttd.org>2013-11-16 17:41:57 +0000
commit6fc653d2d729d8a5c0efeba9f588e6523c3ea13d (patch)
tree76a9ebd0678eee9121a811696a8de6e1f6cb5681 /src/script/api/game
parentf10d2417d8922f7243bcd7e4582bb1a329f6b86c (diff)
downloadopenttd-6fc653d2d729d8a5c0efeba9f588e6523c3ea13d.tar.xz
(svn r26012) -Add: new goal type that show a story page when clicked
Diffstat (limited to 'src/script/api/game')
-rw-r--r--src/script/api/game/game_goal.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game/game_goal.hpp.sq b/src/script/api/game/game_goal.hpp.sq
index 1833bb182..7d8a3bf5e 100644
--- a/src/script/api/game/game_goal.hpp.sq
+++ b/src/script/api/game/game_goal.hpp.sq
@@ -27,6 +27,7 @@ void SQGSGoal_Register(Squirrel *engine)
SQGSGoal.DefSQConst(engine, ScriptGoal::GT_INDUSTRY, "GT_INDUSTRY");
SQGSGoal.DefSQConst(engine, ScriptGoal::GT_TOWN, "GT_TOWN");
SQGSGoal.DefSQConst(engine, ScriptGoal::GT_COMPANY, "GT_COMPANY");
+ SQGSGoal.DefSQConst(engine, ScriptGoal::GT_STORY_PAGE, "GT_STORY_PAGE");
SQGSGoal.DefSQConst(engine, ScriptGoal::QT_QUESTION, "QT_QUESTION");
SQGSGoal.DefSQConst(engine, ScriptGoal::QT_INFORMATION, "QT_INFORMATION");
SQGSGoal.DefSQConst(engine, ScriptGoal::QT_WARNING, "QT_WARNING");