Changeset - r8103:aabc526ce61d
[Not reviewed]
master
0 11 0
rubidium - 16 years ago 2007-12-18 20:58:12
rubidium@openttd.org
(svn r11664) -Codechange: use more specific ("rail_type.h" instead of "rail.h" that includes way more than only "rail_type.h") includes at some places.
11 files changed with 11 insertions and 8 deletions:
0 comments (0 inline, 0 general)
src/autoreplace_gui.cpp
Show inline comments
 
@@ -16,6 +16,7 @@
 
#include "vehicle_gui.h"
 
#include "newgrf_engine.h"
 
#include "group.h"
 
#include "rail.h"
 

	
 

	
 
static RailType _railtype_selected_in_replace_gui;
src/bridge_map.h
Show inline comments
 
@@ -8,7 +8,7 @@
 
#include "direction_func.h"
 
#include "macros.h"
 
#include "map.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "road_map.h"
 
#include "tile.h"
 

	
src/elrail.cpp
Show inline comments
 
@@ -53,7 +53,7 @@
 
#include "functions.h" /* We should REALLY get rid of this goddamn file, as it is butt-ugly */
 
#include "variables.h" /* ... same here */
 
#include "landscape.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "debug.h"
 
#include "tunnel_map.h"
 
#include "road_map.h"
src/engine.h
Show inline comments
 
@@ -6,7 +6,7 @@
 
#define ENGINE_H
 

	
 
#include "oldpool.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "sound.h"
 
#include "vehicle.h"
 

	
src/newgrf.cpp
Show inline comments
 
@@ -48,6 +48,7 @@
 
#include "table/landscape_sprite.h"
 
#include "gfxinit.h"
 
#include "fios.h"
 
#include "rail.h"
 

	
 
/* TTDPatch extended GRF format codec
 
 * (c) Petr Baudis 2004 (GPL'd)
src/newgrf_house.cpp
Show inline comments
 
@@ -10,6 +10,7 @@
 
#include "viewport.h"
 
#include "landscape.h"
 
#include "date.h"
 
#include "tile.h"
 
#include "town.h"
 
#include "town_map.h"
 
#include "sound.h"
src/pathfind.cpp
Show inline comments
 
@@ -12,7 +12,7 @@
 
#include "map.h"
 
#include "tile.h"
 
#include "pathfind.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "debug.h"
 
#include "tunnel_map.h"
 
#include "variables.h"
src/player.h
Show inline comments
 
@@ -7,7 +7,7 @@
 

	
 
#include "oldpool.h"
 
#include "aystar.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "road_func.h"
 
#include "engine.h"
 
#include "livery.h"
src/track_func.h
Show inline comments
 
@@ -514,4 +514,4 @@ static inline bool IsStraightRoadTrackdi
 
	return (dir & 0x06) == 0;
 
}
 

	
 
#endif /* RAIL_H */
 
#endif /* TRACK_FUNC_H */
src/track_type.h
Show inline comments
 
@@ -122,4 +122,4 @@ template <> struct EnumPropsT<TrackdirBi
 
typedef TinyEnumT<TrackdirBits> TrackdirBitsShort;
 
DECLARE_ENUM_AS_BIT_SET(TrackdirBits);
 

	
 
#endif /* RAIL_H */
 
#endif /* TRACK_TYPE_H */
src/vehicle.cpp
Show inline comments
 
@@ -28,7 +28,7 @@
 
#include "vehicle_gui.h"
 
#include "depot.h"
 
#include "station.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "train.h"
 
#include "aircraft.h"
 
#include "industry_map.h"
0 comments (0 inline, 0 general)