summaryrefslogtreecommitdiff
path: root/src/economy.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-21 21:50:46 +0000
committerrubidium <rubidium@openttd.org>2007-12-21 21:50:46 +0000
commit9e9cfe6e59de14f7df9ab505f9bf5ef3d827545d (patch)
treed864de233dd5965735564d85017cf7abf0875933 /src/economy.cpp
parent65754b8d12099be586967a4bba5b82a484628b18 (diff)
downloadopenttd-9e9cfe6e59de14f7df9ab505f9bf5ef3d827545d.tar.xz
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
Diffstat (limited to 'src/economy.cpp')
-rw-r--r--src/economy.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/economy.cpp b/src/economy.cpp
index d2a4f8878..7d0684611 100644
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -15,9 +15,8 @@
#include "station.h"
#include "vehicle.h"
#include "gfx.h"
-#include "command.h"
+#include "command_func.h"
#include "saveload.h"
-#include "economy.h"
#include "industry.h"
#include "town.h"
#include "network/network.h"
@@ -89,6 +88,10 @@ const ScoreInfo _score_info[] = {
};
int _score_part[MAX_PLAYERS][SCORE_END];
+Economy _economy;
+Subsidy _subsidies[MAX_PLAYERS];
+Prices _price;
+uint16 _price_frac[NUM_PRICES];
Money CalculateCompanyValue(const Player* p)
{