diff options
author | rubidium <rubidium@openttd.org> | 2011-02-07 22:38:02 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-07 22:38:02 +0000 |
commit | 0395aab420756b9e0a271011c754d4c70cc0c06f (patch) | |
tree | bc97f87fe0d9f1d95777f973f6474fa7c1220b71 /src | |
parent | bc3ce1e53bbc7c52138859053431f8d13a343096 (diff) | |
download | openttd-0395aab420756b9e0a271011c754d4c70cc0c06f.tar.xz |
(svn r22019) -Codechange: s/functions.h/clear_func.h/
Diffstat (limited to 'src')
-rw-r--r-- | src/clear_cmd.cpp | 2 | ||||
-rw-r--r-- | src/clear_func.h (renamed from src/functions.h) | 9 | ||||
-rw-r--r-- | src/object_cmd.cpp | 2 | ||||
-rw-r--r-- | src/station_cmd.cpp | 2 | ||||
-rw-r--r-- | src/tree_cmd.cpp | 2 | ||||
-rw-r--r-- | src/tunnelbridge_cmd.cpp | 2 |
6 files changed, 9 insertions, 10 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp index 42226a845..5106113d3 100644 --- a/src/clear_cmd.cpp +++ b/src/clear_cmd.cpp @@ -15,7 +15,7 @@ #include "landscape.h" #include "genworld.h" #include "landscape_type.h" -#include "functions.h" +#include "clear_func.h" #include "economy_func.h" #include "viewport_func.h" #include "water.h" diff --git a/src/functions.h b/src/clear_func.h index 164ae3fe8..e85a5d1ae 100644 --- a/src/functions.h +++ b/src/clear_func.h @@ -7,17 +7,16 @@ * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>. */ -/** @file functions.h Some generic functions that actually shouldn't be here. */ +/** @file clear_func.h Functions related to clear (MP_CLEAR) land. */ -#ifndef FUNCTIONS_H -#define FUNCTIONS_H +#ifndef CLEAR_FUNC_H +#define CLEAR_FUNC_H #include "tile_cmd.h" -/* clear_land.cpp */ void DrawHillyLandTile(const TileInfo *ti); void DrawClearLandTile(const TileInfo *ti, byte set); void DrawClearLandFence(const TileInfo *ti); void TileLoopClearHelper(TileIndex tile); -#endif /* FUNCTIONS_H */ +#endif /* CLEAR_FUNC_H */ diff --git a/src/object_cmd.cpp b/src/object_cmd.cpp index e6c19a60f..29163cab3 100644 --- a/src/object_cmd.cpp +++ b/src/object_cmd.cpp @@ -18,7 +18,7 @@ #include "bridge_map.h" #include "genworld.h" #include "autoslope.h" -#include "functions.h" +#include "clear_func.h" #include "water.h" #include "window_func.h" #include "company_gui.h" diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp index 6f7e6450a..d584b3131 100644 --- a/src/station_cmd.cpp +++ b/src/station_cmd.cpp @@ -29,7 +29,7 @@ #include "water.h" #include "station_gui.h" #include "strings_func.h" -#include "functions.h" +#include "clear_func.h" #include "window_func.h" #include "date_func.h" #include "vehicle_func.h" diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp index 59bebc659..ea1656a00 100644 --- a/src/tree_cmd.cpp +++ b/src/tree_cmd.cpp @@ -19,7 +19,7 @@ #include "town.h" #include "genworld.h" #include "transparency.h" -#include "functions.h" +#include "clear_func.h" #include "company_func.h" #include "sound_func.h" #include "water_map.h" diff --git a/src/tunnelbridge_cmd.cpp b/src/tunnelbridge_cmd.cpp index e27d62e17..0f09b7bcc 100644 --- a/src/tunnelbridge_cmd.cpp +++ b/src/tunnelbridge_cmd.cpp @@ -29,7 +29,7 @@ #include "tunnelbridge_map.h" #include "strings_func.h" #include "date_func.h" -#include "functions.h" +#include "clear_func.h" #include "vehicle_func.h" #include "sound_func.h" #include "tunnelbridge.h" |