Codechange: Rename TownEffect to TownAcceptanceEffect.
This makes it clearer that TownEffect only affects acceptance behaviour.
This commit is contained in:

committed by
Peter Nelson

parent
782cbe95d6
commit
60dcf3b5e2
@@ -73,8 +73,8 @@ struct Town : TownPool::PoolItem<&_town_pool> {
|
||||
int16_t ratings[MAX_COMPANIES]; ///< ratings of each company for this town
|
||||
|
||||
TransportedCargoStat<uint32_t> supplied[NUM_CARGO]; ///< Cargo statistics about supplied cargo.
|
||||
TransportedCargoStat<uint16_t> received[NUM_TE]; ///< Cargo statistics about received cargotypes.
|
||||
uint32_t goal[NUM_TE]; ///< Amount of cargo required for the town to grow.
|
||||
TransportedCargoStat<uint16_t> received[NUM_TAE]; ///< Cargo statistics about received cargotypes.
|
||||
uint32_t goal[NUM_TAE]; ///< Amount of cargo required for the town to grow.
|
||||
|
||||
std::string text; ///< General text with additional information.
|
||||
|
||||
@@ -232,7 +232,7 @@ HouseZonesBits GetTownRadiusGroup(const Town *t, TileIndex tile);
|
||||
void SetTownRatingTestMode(bool mode);
|
||||
TownActions GetMaskOfTownActions(CompanyID cid, const Town *t);
|
||||
bool GenerateTowns(TownLayout layout);
|
||||
const CargoSpec *FindFirstCargoWithTownEffect(TownEffect effect);
|
||||
const CargoSpec *FindFirstCargoWithTownAcceptanceEffect(TownAcceptanceEffect effect);
|
||||
|
||||
extern const byte _town_action_costs[TACT_COUNT];
|
||||
|
||||
|
Reference in New Issue
Block a user