diff options
author | terkhen <terkhen@openttd.org> | 2011-06-12 20:49:07 +0000 |
---|---|---|
committer | terkhen <terkhen@openttd.org> | 2011-06-12 20:49:07 +0000 |
commit | 7ffc8c0173cea7b364636e4a0686e72947095a9a (patch) | |
tree | cccfb5c175f777666dd567f18618759161d6e24b /src/town.h | |
parent | 00e5c1df18449992cc974b99c61a44d1385bf4a7 (diff) | |
download | openttd-7ffc8c0173cea7b364636e4a0686e72947095a9a.tar.xz |
(svn r22568) -Change: Add a list of persistent storages to the Town class.
Diffstat (limited to 'src/town.h')
-rw-r--r-- | src/town.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/town.h b/src/town.h index 0f6229a89..c61f31522 100644 --- a/src/town.h +++ b/src/town.h @@ -17,6 +17,8 @@ #include "command_type.h" #include "town_map.h" #include "subsidy_type.h" +#include "newgrf_storage.h" +#include <list> template <typename T> struct BuildingCounts { @@ -105,6 +107,8 @@ struct Town : TownPool::PoolItem<&_town_pool> { bool larger_town; TownLayoutByte layout; ///< town specific road layout + std::list<PersistentStorage *> psa_list; + PartOfSubsidyByte part_of_subsidy; ///< NOSAVE: is this town a source/destination of a subsidy? /* NOSAVE: UpdateTownRadius updates this given the house count. */ |