Changeset - r17267:4f82ca9bd495
[Not reviewed]
master
0 14 0
rubidium - 13 years ago 2011-02-07 22:29:47
rubidium@openttd.org
(svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h
14 files changed with 15 insertions and 15 deletions:
0 comments (0 inline, 0 general)
src/animated_tile.cpp
Show inline comments
 
@@ -8,13 +8,14 @@
 
 */
 

	
 
/** @file animated_tile.cpp Everything related to animated tiles. */
 

	
 
#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;
 
/** The number of animated tiles in the current state. */
 
uint _animated_tile_count = 0;
 
/** The number of slots for animated tiles allocated currently. */
src/disaster_cmd.cpp
Show inline comments
 
@@ -31,13 +31,13 @@
 
#include "command_func.h"
 
#include "news_func.h"
 
#include "town.h"
 
#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"
 
#include "roadveh.h"
 
#include "ai/ai.hpp"
 
#include "company_base.h"
src/functions.h
Show inline comments
 
@@ -17,10 +17,7 @@
 
/* clear_land.cpp */
 
void DrawHillyLandTile(const TileInfo *ti);
 
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 */
src/newgrf_animation_base.h
Show inline comments
 
@@ -11,13 +11,13 @@
 

	
 
/* No inclusion guards as this file must only be included from .cpp files. */
 

	
 
#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"
 

	
 
/**
 
 * Helper class for a unified approach to NewGRF animation.
 
 * @tparam Tbase       Instantiation of this class.
src/pathfinder/npf/npf.cpp
Show inline comments
 
@@ -9,13 +9,13 @@
 

	
 
/** @file npf.cpp Implementation of the NPF pathfinder. */
 

	
 
#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"
 
#include "../pathfinder_type.h"
 
#include "../follow_track.hpp"
 
#include "aystar.h"
src/pathfinder/yapf/yapf_rail.cpp
Show inline comments
 
@@ -13,13 +13,13 @@
 

	
 
#include "yapf.hpp"
 
#include "yapf_cache.h"
 
#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
 

	
 
#if DEBUG_YAPF_CACHE
 
template <typename Tpf> void DumpState(Tpf &pf1, Tpf &pf2)
 
{
src/pbs.cpp
Show inline comments
 
@@ -7,13 +7,13 @@
 
 * 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 pbs.cpp PBS support routines */
 

	
 
#include "stdafx.h"
 
#include "functions.h"
 
#include "viewport_func.h"
 
#include "vehicle_func.h"
 
#include "pathfinder/follow_track.hpp"
 

	
 
/**
 
 * Get the reserved trackbits for any tile, regardless of type.
 
 * @param t the tile
src/saveload/afterload.cpp
Show inline comments
 
@@ -15,13 +15,13 @@
 
#include "../depot_base.h"
 
#include "../window_func.h"
 
#include "../fios.h"
 
#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"
 
#include "../string_func.h"
 
#include "../date_func.h"
 
#include "../roadveh.h"
src/signal.cpp
Show inline comments
 
@@ -11,13 +11,13 @@
 

	
 
#include "stdafx.h"
 
#include "debug.h"
 
#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"
 

	
 

	
 
/** these are the maximums used for updating signal blocks */
 
static const uint SIG_TBU_SIZE    =  64; ///< number of signals entering to block
src/station.cpp
Show inline comments
 
@@ -10,13 +10,13 @@
 
/** @file station.cpp Implementation of the station base class. */
 

	
 
#include "stdafx.h"
 
#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"
 
#include "news_func.h"
 
#include "aircraft.h"
 
#include "vehiclelist.h"
src/terraform_cmd.cpp
Show inline comments
 
@@ -10,13 +10,13 @@
 
/** @file terraform_cmd.cpp Commands related to terraforming. */
 

	
 
#include "stdafx.h"
 
#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"
 
#include "company_base.h"
 
#include "company_func.h"
 

	
src/train_cmd.cpp
Show inline comments
 
@@ -19,13 +19,13 @@
 
#include "company_func.h"
 
#include "vehicle_gui.h"
 
#include "newgrf_sound.h"
 
#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"
 
#include "ai/ai.hpp"
 
#include "newgrf_station.h"
 
#include "effectvehicle_func.h"
src/viewport_func.h
Show inline comments
 
@@ -71,7 +71,9 @@ bool ScrollMainWindowToTile(TileIndex ti
 
bool ScrollMainWindowTo(int x, int y, int z = -1, bool instant = false);
 

	
 
void UpdateAllVirtCoords();
 

	
 
extern Point _tile_fract_coords;
 

	
 
void MarkTileDirtyByTile(TileIndex tile);
 

	
 
#endif /* VIEWPORT_FUNC_H */
src/waypoint_cmd.cpp
Show inline comments
 
@@ -16,13 +16,13 @@
 
#include "landscape.h"
 
#include "bridge_map.h"
 
#include "town.h"
 
#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"
 
#include "string_func.h"
 
#include "company_func.h"
 
#include "newgrf_station.h"
0 comments (0 inline, 0 general)