(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user