From 3b798599b63067c2e92aa49906ea66a07ae8de44 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 30 Sep 2008 20:39:50 +0000 Subject: (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. --- src/economy_func.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/economy_func.h') diff --git a/src/economy_func.h b/src/economy_func.h index f458ad1c6..11f10207a 100644 --- a/src/economy_func.h +++ b/src/economy_func.h @@ -15,23 +15,21 @@ #include "player_type.h" #include "station_type.h" -struct Player; - void ResetPriceBaseMultipliers(); void SetPriceBaseMultiplier(uint price, byte factor); void ResetEconomy(); extern const ScoreInfo _score_info[]; -extern int _score_part[MAX_PLAYERS][SCORE_END]; +extern int _score_part[MAX_COMPANIES][SCORE_END]; extern Economy _economy; -extern Subsidy _subsidies[MAX_PLAYERS]; +extern Subsidy _subsidies[MAX_COMPANIES]; /* Prices and also the fractional part. */ extern Prices _price; extern uint16 _price_frac[NUM_PRICES]; extern Money _cargo_payment_rates[NUM_CARGO]; extern uint16 _cargo_payment_rates_frac[NUM_CARGO]; -int UpdateCompanyRatingAndValue(Player *p, bool update); +int UpdateCompanyRatingAndValue(Company *c, bool update); Pair SetupSubsidyDecodeParam(const Subsidy *s, bool mode); void DeleteSubsidyWithTown(TownID index); void DeleteSubsidyWithIndustry(IndustryID index); -- cgit v1.2.3-54-g00ecf