diff src/economy.cpp @ 8116:9cc845deddfe draft

(svn r11677) -Codechange: move price and command related types/functions to their respective places.
author rubidium <rubidium@openttd.org>
date Fri, 21 Dec 2007 21:50:46 +0000 (2007-12-21)
parents 2d6af5d7a142
children b6ec923e9fa8
line wrap: on
line diff
--- 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 @@
 };
 
 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)
 {