summaryrefslogtreecommitdiff
path: root/src/economy_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/economy_func.h')
-rw-r--r--src/economy_func.h8
1 files changed, 3 insertions, 5 deletions
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);