(svn r22568) -Change: Add a list of persistent storages to the Town class.
This commit is contained in:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user