mirror of https://github.com/OpenTTD/OpenTTD.git
(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.
This commit is contained in:
parent
e4ef359f47
commit
7db6c7db38
|
@ -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;
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#define ENGINE_H
|
||||
|
||||
#include "oldpool.h"
|
||||
#include "rail.h"
|
||||
#include "rail_type.h"
|
||||
#include "sound.h"
|
||||
#include "vehicle.h"
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -514,4 +514,4 @@ static inline bool IsStraightRoadTrackdir(Trackdir dir)
|
|||
return (dir & 0x06) == 0;
|
||||
}
|
||||
|
||||
#endif /* RAIL_H */
|
||||
#endif /* TRACK_FUNC_H */
|
||||
|
|
|
@ -122,4 +122,4 @@ template <> struct EnumPropsT<TrackdirBits> : MakeEnumPropsT<TrackdirBits, uint1
|
|||
typedef TinyEnumT<TrackdirBits> TrackdirBitsShort;
|
||||
DECLARE_ENUM_AS_BIT_SET(TrackdirBits);
|
||||
|
||||
#endif /* RAIL_H */
|
||||
#endif /* TRACK_TYPE_H */
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue