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
 
@@ -13,12 +13,13 @@
 
#include "gui.h"
 
#include "command.h"
 
#include "variables.h"
 
#include "vehicle_gui.h"
 
#include "newgrf_engine.h"
 
#include "group.h"
 
#include "rail.h"
 

	
 

	
 
static RailType _railtype_selected_in_replace_gui;
 

	
 
static bool _rebuild_left_list;
 
static bool _rebuild_right_list;
src/bridge_map.h
Show inline comments
 
@@ -5,13 +5,13 @@
 
#ifndef BRIDGE_MAP_H
 
#define BRIDGE_MAP_H
 

	
 
#include "direction_func.h"
 
#include "macros.h"
 
#include "map.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "road_map.h"
 
#include "tile.h"
 

	
 

	
 
/**
 
 * Checks if this is a bridge, instead of a tunnel
src/elrail.cpp
Show inline comments
 
@@ -50,13 +50,13 @@
 
#include "station_map.h"
 
#include "tile.h"
 
#include "viewport.h"
 
#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"
 
#include "bridge_map.h"
 
#include "bridge.h"
 
#include "rail_map.h"
src/engine.h
Show inline comments
 
@@ -3,13 +3,13 @@
 
/** @file engine.h */
 

	
 
#ifndef ENGINE_H
 
#define ENGINE_H
 

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

	
 
enum RailVehicleTypes {
 
	RAILVEH_SINGLEHEAD,  ///< indicates a "standalone" locomotive
 
	RAILVEH_MULTIHEAD,   ///< indicates a combination of two locomotives
src/newgrf.cpp
Show inline comments
 
@@ -45,12 +45,13 @@
 
#include "newgrf_commons.h"
 
#include "newgrf_townname.h"
 
#include "newgrf_industries.h"
 
#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)
 
 * Changes by Florian octo Forster are (c) by the OpenTTD development team.
 
 *
 
 * Contains portions of documentation by TTDPatch team.
src/newgrf_house.cpp
Show inline comments
 
@@ -7,12 +7,13 @@
 
#include "functions.h"
 
#include "variables.h"
 
#include "debug.h"
 
#include "viewport.h"
 
#include "landscape.h"
 
#include "date.h"
 
#include "tile.h"
 
#include "town.h"
 
#include "town_map.h"
 
#include "sound.h"
 
#include "sprite.h"
 
#include "strings.h"
 
#include "table/strings.h"
src/pathfind.cpp
Show inline comments
 
@@ -9,13 +9,13 @@
 
#include "depot.h"
 
#include "functions.h"
 
#include "landscape.h"
 
#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"
 
#include "depot.h"
 
#include "tunnelbridge_map.h"
 

	
src/player.h
Show inline comments
 
@@ -4,13 +4,13 @@
 

	
 
#ifndef PLAYER_H
 
#define PLAYER_H
 

	
 
#include "oldpool.h"
 
#include "aystar.h"
 
#include "rail.h"
 
#include "rail_type.h"
 
#include "road_func.h"
 
#include "engine.h"
 
#include "livery.h"
 
#include "genworld.h"
 
#include "gfx.h"
 

	
src/track_func.h
Show inline comments
 
@@ -511,7 +511,7 @@ static inline bool IsReversingRoadTrackd
 
 */
 
static inline bool IsStraightRoadTrackdir(Trackdir dir)
 
{
 
	return (dir & 0x06) == 0;
 
}
 

	
 
#endif /* RAIL_H */
 
#endif /* TRACK_FUNC_H */
src/track_type.h
Show inline comments
 
@@ -119,7 +119,7 @@ enum TrackdirBits {
 

	
 
/** Define basic enum properties */
 
template <> struct EnumPropsT<TrackdirBits> : MakeEnumPropsT<TrackdirBits, uint16, TRACKDIR_BIT_NONE, TRACKDIR_BIT_MASK, INVALID_TRACKDIR_BIT> {};
 
typedef TinyEnumT<TrackdirBits> TrackdirBitsShort;
 
DECLARE_ENUM_AS_BIT_SET(TrackdirBits);
 

	
 
#endif /* RAIL_H */
 
#endif /* TRACK_TYPE_H */
src/vehicle.cpp
Show inline comments
 
@@ -25,13 +25,13 @@
 
#include "engine.h"
 
#include "sound.h"
 
#include "debug.h"
 
#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"
 
#include "station_map.h"
 
#include "water_map.h"
 
#include "network/network.h"
0 comments (0 inline, 0 general)