diff options
author | frosch <frosch@openttd.org> | 2012-05-26 14:16:12 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-05-26 14:16:12 +0000 |
commit | 5187c2b721f81a16fb5526df75df79e3994a855f (patch) | |
tree | 206a27d2e4db8b152248bf27307bd26f8bdd58a2 /src/script/api/game | |
parent | 01100053ff5308e0a07b1faa449255527cc12c31 (diff) | |
download | openttd-5187c2b721f81a16fb5526df75df79e3994a855f.tar.xz |
(svn r24286) -Add: [GS] Some more GSNews::NewsItem::NewsTypes.
Diffstat (limited to 'src/script/api/game')
-rw-r--r-- | src/script/api/game/game_news.hpp.sq | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/script/api/game/game_news.hpp.sq b/src/script/api/game/game_news.hpp.sq index 16f187204..70416f6b7 100644 --- a/src/script/api/game/game_news.hpp.sq +++ b/src/script/api/game/game_news.hpp.sq @@ -21,9 +21,13 @@ void SQGSNews_Register(Squirrel *engine) SQGSNews.PreRegister(engine); SQGSNews.AddConstructor<void (ScriptNews::*)(), 1>(engine, "x"); - SQGSNews.DefSQConst(engine, ScriptNews::NT_ECONOMY, "NT_ECONOMY"); - SQGSNews.DefSQConst(engine, ScriptNews::NT_SUBSIDIES, "NT_SUBSIDIES"); - SQGSNews.DefSQConst(engine, ScriptNews::NT_GENERAL, "NT_GENERAL"); + SQGSNews.DefSQConst(engine, ScriptNews::NT_ACCIDENT, "NT_ACCIDENT"); + SQGSNews.DefSQConst(engine, ScriptNews::NT_COMPANY_INFO, "NT_COMPANY_INFO"); + SQGSNews.DefSQConst(engine, ScriptNews::NT_ECONOMY, "NT_ECONOMY"); + SQGSNews.DefSQConst(engine, ScriptNews::NT_ADVICE, "NT_ADVICE"); + SQGSNews.DefSQConst(engine, ScriptNews::NT_ACCEPTANCE, "NT_ACCEPTANCE"); + SQGSNews.DefSQConst(engine, ScriptNews::NT_SUBSIDIES, "NT_SUBSIDIES"); + SQGSNews.DefSQConst(engine, ScriptNews::NT_GENERAL, "NT_GENERAL"); SQGSNews.DefSQStaticMethod(engine, &ScriptNews::Create, "Create", 4, ".i.i"); |