diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:51 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:57:51 +0000 |
commit | 5ff98b45c1f9097f521c95cfa46728e1f39a8f6d (patch) | |
tree | 0d77bfbaf5ca7406b93994b211fbdb5ace243b2f /src/script/api/game | |
parent | e53b2f2ab0ef24298e3bb511367b344b88a4a4c0 (diff) | |
download | openttd-5ff98b45c1f9097f521c95cfa46728e1f39a8f6d.tar.xz |
(svn r23617) -Add: ScriptTown::ExpandTown, to grow a town (GameScript only)
Diffstat (limited to 'src/script/api/game')
-rw-r--r-- | src/script/api/game/game_town.hpp.sq | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/game/game_town.hpp.sq b/src/script/api/game/game_town.hpp.sq index ef20b0418..cd8e6731e 100644 --- a/src/script/api/game/game_town.hpp.sq +++ b/src/script/api/game/game_town.hpp.sq @@ -55,6 +55,7 @@ void SQGSTown_Register(Squirrel *engine) SQGSTown.DefSQStaticMethod(engine, &ScriptTown::IsCity, "IsCity", 2, ".i"); SQGSTown.DefSQStaticMethod(engine, &ScriptTown::GetRoadReworkDuration, "GetRoadReworkDuration", 2, ".i"); SQGSTown.DefSQStaticMethod(engine, &ScriptTown::GetExclusiveRightsDuration, "GetExclusiveRightsDuration", 2, ".i"); + SQGSTown.DefSQStaticMethod(engine, &ScriptTown::ExpandTown, "ExpandTown", 3, ".ii"); SQGSTown.DefSQStaticMethod(engine, &ScriptTown::GetRating, "GetRating", 3, ".ii"); SQGSTown.DefSQStaticMethod(engine, &ScriptTown::GetAllowedNoise, "GetAllowedNoise", 2, ".i"); SQGSTown.DefSQStaticMethod(engine, &ScriptTown::GetRoadLayout, "GetRoadLayout", 2, ".i"); |