src/rail.h
changeset 8604 8afdd9877afd
parent 8597 87f03bc9c8e4
child 8609 8c0c3e9dd6a0
equal deleted inserted replaced
8603:88c5ce6a5215 8604:8afdd9877afd
     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 */