summaryrefslogtreecommitdiff
path: root/src/economy_func.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-21 22:50:51 +0000
committerrubidium <rubidium@openttd.org>2007-12-21 22:50:51 +0000
commit6a9e77e0796a62a62e95ba5870f26b51a6b66c77 (patch)
tree92a4b604ccb6ae352038348f78b52b1f91cfd691 /src/economy_func.h
parent1b53dbf9cc91f99db84a81c1f7cfa4ed8a6a7779 (diff)
downloadopenttd-6a9e77e0796a62a62e95ba5870f26b51a6b66c77.tar.xz
(svn r11680) -Codechange: refactor more out of openttd.h and functions.h.
Diffstat (limited to 'src/economy_func.h')
-rw-r--r--src/economy_func.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/economy_func.h b/src/economy_func.h
index 4a2520696..04d79ac8d 100644
--- a/src/economy_func.h
+++ b/src/economy_func.h
@@ -6,6 +6,8 @@
#define ECONOMY_FUNC_H
#include "economy_type.h"
+#include "cargo_type.h"
+#include "vehicle_type.h"
struct Player;
@@ -19,6 +21,8 @@ extern Subsidy _subsidies[MAX_PLAYERS];
/* 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);
Pair SetupSubsidyDecodeParam(const Subsidy *s, bool mode);