diff options
author | truebrain <truebrain@openttd.org> | 2011-12-19 20:59:19 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-19 20:59:19 +0000 |
commit | afcf07ac8a0d5adede1b412600042a9f3b482648 (patch) | |
tree | 7fec6be73ba17fd98c3dee69e65d0a15aa7feaed /src/town.h | |
parent | c7c1deaf41a2ce8cfa30ea2eaf1ef808e6529eae (diff) | |
download | openttd-afcf07ac8a0d5adede1b412600042a9f3b482648.tar.xz |
(svn r23620) -Add: ScriptTown::SetCargoGoal and ScriptTown::SetGrowthRate (GameScript only)
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/town.h b/src/town.h index c081f435f..35e3b84c8 100644 --- a/src/town.h +++ b/src/town.h @@ -37,6 +37,7 @@ static const uint INVALID_TOWN = 0xFFFF; static const uint TOWN_GROWTH_WINTER = 0xFFFFFFFE; ///< The town only needs this cargo in the winter (any amount) static const uint TOWN_GROWTH_DESERT = 0xFFFFFFFF; ///< The town needs the cargo for growth when on desert (any amount) +static const uint16 TOWN_GROW_RATE_CUSTOM = 0x8000; ///< If this mask is applied to Town::grow_counter, the grow_counter will not be calculated by the system (but assumed to be set by scripts) typedef Pool<Town, TownID, 64, 64000> TownPool; extern TownPool _town_pool; |