diff options
author | rubidium <rubidium@openttd.org> | 2011-02-07 22:22:20 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-07 22:22:20 +0000 |
commit | 3745ff7338a7e3c9c4bff665f6952fd71c384ff8 (patch) | |
tree | 91491b041d4858820bdded74d71b9c39af1a45f3 | |
parent | ec9e0690eb33e3c66cc7c92054110e630d0827ff (diff) | |
download | openttd-3745ff7338a7e3c9c4bff665f6952fd71c384ff8.tar.xz |
(svn r22015) -Codechange: move yet another pair of methods from functions.h
-rw-r--r-- | src/command.cpp | 2 | ||||
-rw-r--r-- | src/economy.cpp | 1 | ||||
-rw-r--r-- | src/functions.h | 3 | ||||
-rw-r--r-- | src/texteff.hpp | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/command.cpp b/src/command.cpp index dd9867487..2dd369334 100644 --- 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" diff --git a/src/economy.cpp b/src/economy.cpp index 2b09a8d26..c9e55653a 100644 --- 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" diff --git a/src/functions.h b/src/functions.h index da7e21c19..42cdcd240 100644 --- a/src/functions.h +++ b/src/functions.h @@ -23,7 +23,4 @@ void TileLoopClearHelper(TileIndex tile); /* 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 */ diff --git a/src/texteff.hpp b/src/texteff.hpp index ca6a89288..b9762c3fe 100644 --- 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 @@ TextEffectID ShowFillingPercent(int x, int y, int z, uint8 percent, StringID col 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 */ |