diff options
author | frosch <frosch@openttd.org> | 2013-11-12 17:57:12 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-11-12 17:57:12 +0000 |
commit | 9a41aefcc4a75ca98dd73e022d058b52bbd2a26d (patch) | |
tree | 3629e7fd54b024dda142bd2fb2afadde9557949d /src/script/api/ai | |
parent | b1f41a0afb460071db2dbbfcb64140488f073382 (diff) | |
download | openttd-9a41aefcc4a75ca98dd73e022d058b52bbd2a26d.tar.xz |
(svn r25968) -Add: [Script] ScriptTown::TOWN_GROWTH_NONE to indicate no town growth via ScriptTown::SetGrowthRate and GetGrowthRate.
Diffstat (limited to 'src/script/api/ai')
-rw-r--r-- | src/script/api/ai/ai_town.hpp.sq | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/api/ai/ai_town.hpp.sq b/src/script/api/ai/ai_town.hpp.sq index c8ef39ed4..27f1ec72e 100644 --- a/src/script/api/ai/ai_town.hpp.sq +++ b/src/script/api/ai/ai_town.hpp.sq @@ -48,6 +48,7 @@ void SQAITown_Register(Squirrel *engine) SQAITown.DefSQConst(engine, ScriptTown::TOWN_SIZE_MEDIUM, "TOWN_SIZE_MEDIUM"); SQAITown.DefSQConst(engine, ScriptTown::TOWN_SIZE_LARGE, "TOWN_SIZE_LARGE"); SQAITown.DefSQConst(engine, ScriptTown::TOWN_SIZE_INVALID, "TOWN_SIZE_INVALID"); + SQAITown.DefSQConst(engine, ScriptTown::TOWN_GROWTH_NONE, "TOWN_GROWTH_NONE"); SQAITown.DefSQConst(engine, ScriptTown::TOWN_GROWTH_NORMAL, "TOWN_GROWTH_NORMAL"); SQAITown.DefSQStaticMethod(engine, &ScriptTown::GetTownCount, "GetTownCount", 1, "."); |