summaryrefslogtreecommitdiff
path: root/src/script/api/game
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-19 21:01:12 +0000
committertruebrain <truebrain@openttd.org>2011-12-19 21:01:12 +0000
commit5858c534202ef45039293e3a6020993621cc55a8 (patch)
tree1d85a0b818eeed481a6a2e18a88dedc74ea40495 /src/script/api/game
parente0ffe4faf268298f3a20427cd87462c70e3d9bc2 (diff)
downloadopenttd-5858c534202ef45039293e3a6020993621cc55a8.tar.xz
(svn r23628) -Add: ScriptSubsidy::Create, to create subsidies (GameScript only)
Diffstat (limited to 'src/script/api/game')
-rw-r--r--src/script/api/game/game_subsidy.hpp.sq1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game/game_subsidy.hpp.sq b/src/script/api/game/game_subsidy.hpp.sq
index bba8abce5..2d636f74d 100644
--- a/src/script/api/game/game_subsidy.hpp.sq
+++ b/src/script/api/game/game_subsidy.hpp.sq
@@ -27,6 +27,7 @@ void SQGSSubsidy_Register(Squirrel *engine)
SQGSSubsidy.DefSQStaticMethod(engine, &ScriptSubsidy::IsValidSubsidy, "IsValidSubsidy", 2, ".i");
SQGSSubsidy.DefSQStaticMethod(engine, &ScriptSubsidy::IsAwarded, "IsAwarded", 2, ".i");
+ SQGSSubsidy.DefSQStaticMethod(engine, &ScriptSubsidy::Create, "Create", 6, ".iiiii");
SQGSSubsidy.DefSQStaticMethod(engine, &ScriptSubsidy::GetAwardedTo, "GetAwardedTo", 2, ".i");
SQGSSubsidy.DefSQStaticMethod(engine, &ScriptSubsidy::GetExpireDate, "GetExpireDate", 2, ".i");
SQGSSubsidy.DefSQStaticMethod(engine, &ScriptSubsidy::GetCargoType, "GetCargoType", 2, ".i");