diff options
author | rubidium <rubidium@openttd.org> | 2011-02-07 22:29:47 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-02-07 22:29:47 +0000 |
commit | faf5d899f7c162e1b8762ba5a781ea13fa58330f (patch) | |
tree | ee16420cdb29e9b606b0e4f4fdf6fd91ce7ee63e | |
parent | 68ace1b79bb712b471eb0d19ade19b20a7ad271d (diff) | |
download | openttd-faf5d899f7c162e1b8762ba5a781ea13fa58330f.tar.xz |
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
-rw-r--r-- | src/animated_tile.cpp | 3 | ||||
-rw-r--r-- | src/disaster_cmd.cpp | 2 | ||||
-rw-r--r-- | src/functions.h | 3 | ||||
-rw-r--r-- | src/newgrf_animation_base.h | 2 | ||||
-rw-r--r-- | src/pathfinder/npf/npf.cpp | 2 | ||||
-rw-r--r-- | src/pathfinder/yapf/yapf_rail.cpp | 2 | ||||
-rw-r--r-- | src/pbs.cpp | 2 | ||||
-rw-r--r-- | src/saveload/afterload.cpp | 2 | ||||
-rw-r--r-- | src/signal.cpp | 2 | ||||
-rw-r--r-- | src/station.cpp | 2 | ||||
-rw-r--r-- | src/terraform_cmd.cpp | 2 | ||||
-rw-r--r-- | src/train_cmd.cpp | 2 | ||||
-rw-r--r-- | src/viewport_func.h | 2 | ||||
-rw-r--r-- | src/waypoint_cmd.cpp | 2 |
14 files changed, 15 insertions, 15 deletions
diff --git a/src/animated_tile.cpp b/src/animated_tile.cpp index 3b572d11e..8995275e9 100644 --- a/src/animated_tile.cpp +++ b/src/animated_tile.cpp @@ -11,7 +11,8 @@ #include "stdafx.h" #include "core/alloc_func.hpp" -#include "functions.h" +#include "tile_cmd.h" +#include "viewport_func.h" /** The table/list with animated tiles. */ TileIndex *_animated_tile_list = NULL; diff --git a/src/disaster_cmd.cpp b/src/disaster_cmd.cpp index a0998a55d..9c4accc94 100644 --- a/src/disaster_cmd.cpp +++ b/src/disaster_cmd.cpp @@ -34,7 +34,7 @@ #include "company_func.h" #include "strings_func.h" #include "date_func.h" -#include "functions.h" +#include "viewport_func.h" #include "vehicle_func.h" #include "sound_func.h" #include "effectvehicle_func.h" diff --git a/src/functions.h b/src/functions.h index 42cdcd240..164ae3fe8 100644 --- a/src/functions.h +++ b/src/functions.h @@ -20,7 +20,4 @@ void DrawClearLandTile(const TileInfo *ti, byte set); void DrawClearLandFence(const TileInfo *ti); void TileLoopClearHelper(TileIndex tile); -/* misc functions */ -void MarkTileDirtyByTile(TileIndex tile); - #endif /* FUNCTIONS_H */ diff --git a/src/newgrf_animation_base.h b/src/newgrf_animation_base.h index 26f0d67b7..a2c0cdafd 100644 --- a/src/newgrf_animation_base.h +++ b/src/newgrf_animation_base.h @@ -14,7 +14,7 @@ #include "animated_tile_func.h" #include "core/random_func.hpp" #include "date_func.h" -#include "functions.h" +#include "viewport_func.h" #include "newgrf_animation_type.h" #include "newgrf_callbacks.h" diff --git a/src/pathfinder/npf/npf.cpp b/src/pathfinder/npf/npf.cpp index 4f277cdcc..f8ab9c2f0 100644 --- a/src/pathfinder/npf/npf.cpp +++ b/src/pathfinder/npf/npf.cpp @@ -12,7 +12,7 @@ #include "../../stdafx.h" #include "../../debug.h" #include "../../network/network.h" -#include "../../functions.h" +#include "../../viewport_func.h" #include "../../ship.h" #include "../../roadstop_base.h" #include "../pathfinder_func.h" diff --git a/src/pathfinder/yapf/yapf_rail.cpp b/src/pathfinder/yapf/yapf_rail.cpp index 293c2cc4f..d6776f75d 100644 --- a/src/pathfinder/yapf/yapf_rail.cpp +++ b/src/pathfinder/yapf/yapf_rail.cpp @@ -16,7 +16,7 @@ #include "yapf_node_rail.hpp" #include "yapf_costrail.hpp" #include "yapf_destrail.hpp" -#include "../../functions.h" +#include "../../viewport_func.h" #define DEBUG_YAPF_CACHE 0 diff --git a/src/pbs.cpp b/src/pbs.cpp index dbf7c0d55..5c6a0fbcb 100644 --- a/src/pbs.cpp +++ b/src/pbs.cpp @@ -10,7 +10,7 @@ /** @file pbs.cpp PBS support routines */ #include "stdafx.h" -#include "functions.h" +#include "viewport_func.h" #include "vehicle_func.h" #include "pathfinder/follow_track.hpp" diff --git a/src/saveload/afterload.cpp b/src/saveload/afterload.cpp index abb2115b0..f73ef2189 100644 --- a/src/saveload/afterload.cpp +++ b/src/saveload/afterload.cpp @@ -18,7 +18,7 @@ #include "../gamelog_internal.h" #include "../network/network.h" #include "../gfxinit.h" -#include "../functions.h" +#include "../viewport_func.h" #include "../industry.h" #include "../clear_map.h" #include "../vehicle_func.h" diff --git a/src/signal.cpp b/src/signal.cpp index caba2d592..d991d6233 100644 --- a/src/signal.cpp +++ b/src/signal.cpp @@ -14,7 +14,7 @@ #include "station_map.h" #include "tunnelbridge_map.h" #include "vehicle_func.h" -#include "functions.h" +#include "viewport_func.h" #include "train.h" #include "company_base.h" diff --git a/src/station.cpp b/src/station.cpp index cafdf51f2..9f59d72f8 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -13,7 +13,7 @@ #include "company_func.h" #include "company_base.h" #include "roadveh.h" -#include "functions.h" +#include "viewport_func.h" #include "window_func.h" #include "date_func.h" #include "command_func.h" diff --git a/src/terraform_cmd.cpp b/src/terraform_cmd.cpp index 66d8282af..7ce117469 100644 --- a/src/terraform_cmd.cpp +++ b/src/terraform_cmd.cpp @@ -13,7 +13,7 @@ #include "command_func.h" #include "tunnel_map.h" #include "bridge_map.h" -#include "functions.h" +#include "viewport_func.h" #include "economy_func.h" #include "genworld.h" #include "object_base.h" diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 506845d59..61cd3ca5e 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -22,7 +22,7 @@ #include "newgrf_text.h" #include "group.h" #include "strings_func.h" -#include "functions.h" +#include "viewport_func.h" #include "window_func.h" #include "vehicle_func.h" #include "sound_func.h" diff --git a/src/viewport_func.h b/src/viewport_func.h index df4f8abce..7faa173a1 100644 --- a/src/viewport_func.h +++ b/src/viewport_func.h @@ -74,4 +74,6 @@ void UpdateAllVirtCoords(); extern Point _tile_fract_coords; +void MarkTileDirtyByTile(TileIndex tile); + #endif /* VIEWPORT_FUNC_H */ diff --git a/src/waypoint_cmd.cpp b/src/waypoint_cmd.cpp index b50d4c552..da64f5aba 100644 --- a/src/waypoint_cmd.cpp +++ b/src/waypoint_cmd.cpp @@ -19,7 +19,7 @@ #include "waypoint_base.h" #include "pathfinder/yapf/yapf_cache.h" #include "strings_func.h" -#include "functions.h" +#include "viewport_func.h" #include "window_func.h" #include "date_func.h" #include "vehicle_func.h" |