changeset 17275:9efba2c3774d draft

(svn r22015) -Codechange: move yet another pair of methods from functions.h
author rubidium <rubidium@openttd.org>
date Mon, 07 Feb 2011 22:22:20 +0000
parents 8409d573b661
children 6a57b4737132
files src/command.cpp src/economy.cpp src/functions.h src/texteff.hpp
diffstat 4 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/command.cpp
+++ b/src/command.cpp
@@ -19,7 +19,7 @@
 #include "newgrf_storage.h"
 #include "strings_func.h"
 #include "gfx_func.h"
-#include "functions.h"
+#include "texteff.hpp"
 #include "town.h"
 #include "date_func.h"
 #include "company_func.h"
--- a/src/economy.cpp
+++ b/src/economy.cpp
@@ -31,7 +31,6 @@
 #include "object.h"
 #include "group.h"
 #include "strings_func.h"
-#include "functions.h"
 #include "window_func.h"
 #include "date_func.h"
 #include "vehicle_func.h"
--- a/src/functions.h
+++ b/src/functions.h
@@ -23,7 +23,4 @@
 /* misc functions */
 void MarkTileDirtyByTile(TileIndex tile);
 
-void ShowCostOrIncomeAnimation(int x, int y, int z, Money cost);
-void ShowFeederIncomeAnimation(int x, int y, int z, Money cost);
-
 #endif /* FUNCTIONS_H */
--- a/src/texteff.hpp
+++ b/src/texteff.hpp
@@ -12,6 +12,7 @@
 #ifndef TEXTEFF_HPP
 #define TEXTEFF_HPP
 
+#include "economy_type.h"
 #include "gfx_type.h"
 #include "strings_type.h"
 
@@ -39,4 +40,7 @@
 void UpdateFillingPercent(TextEffectID te_id, uint8 percent, StringID colour);
 void HideFillingPercent(TextEffectID *te_id);
 
+void ShowCostOrIncomeAnimation(int x, int y, int z, Money cost);
+void ShowFeederIncomeAnimation(int x, int y, int z, Money cost);
+
 #endif /* TEXTEFF_HPP */