equal
deleted
inserted
replaced
6 #define RAIL_H |
6 #define RAIL_H |
7 |
7 |
8 #include "gfx.h" |
8 #include "gfx.h" |
9 #include "rail_type.h" |
9 #include "rail_type.h" |
10 #include "track_type.h" |
10 #include "track_type.h" |
11 #include "tile.h" |
|
12 #include "variables.h" |
11 #include "variables.h" |
13 |
12 |
14 /** This struct contains all the info that is needed to draw and construct tracks. |
13 /** This struct contains all the info that is needed to draw and construct tracks. |
15 */ |
14 */ |
16 struct RailtypeInfo { |
15 struct RailtypeInfo { |
226 void DrawCatenary(const TileInfo *ti); |
225 void DrawCatenary(const TileInfo *ti); |
227 void DrawCatenaryOnTunnel(const TileInfo *ti); |
226 void DrawCatenaryOnTunnel(const TileInfo *ti); |
228 |
227 |
229 Foundation GetRailFoundation(Slope tileh, TrackBits bits); |
228 Foundation GetRailFoundation(Slope tileh, TrackBits bits); |
230 |
229 |
231 void FloodHalftile(TileIndex t); |
|
232 |
|
233 int32 SettingsDisableElrail(int32 p1); ///< _patches.disable_elrail callback |
230 int32 SettingsDisableElrail(int32 p1); ///< _patches.disable_elrail callback |
234 |
231 |
235 #endif /* RAIL_H */ |
232 #endif /* RAIL_H */ |