(svn r22568) -Change: Add a list of persistent storages to the Town class.

This commit is contained in:
terkhen
2011-06-12 20:49:07 +00:00
parent 00e5c1df18
commit 7ffc8c0173
2 changed files with 21 additions and 2 deletions

View File

@@ -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. */