src/bridge_map.h
branchNewGRF_ports
changeset 10994 cd9968b6f96b
parent 10724 68a692eacf22
equal deleted inserted replaced
10991:d8811e327d12 10994:cd9968b6f96b
   198 static inline void MakeRailBridgeRamp(TileIndex t, Owner o, BridgeType bridgetype, DiagDirection d, RailType r)
   198 static inline void MakeRailBridgeRamp(TileIndex t, Owner o, BridgeType bridgetype, DiagDirection d, RailType r)
   199 {
   199 {
   200 	MakeBridgeRamp(t, o, bridgetype, d, TRANSPORT_RAIL, r);
   200 	MakeBridgeRamp(t, o, bridgetype, d, TRANSPORT_RAIL, r);
   201 }
   201 }
   202 
   202 
       
   203 /**
       
   204  * Make a bridge ramp for aqueducts.
       
   205  * @param t          the tile to make a bridge ramp
       
   206  * @param o          the new owner of the bridge ramp
       
   207  * @param d          the direction this ramp must be facing
       
   208  */
       
   209 static inline void MakeAqueductBridgeRamp(TileIndex t, Owner o, DiagDirection d)
       
   210 {
       
   211 	MakeBridgeRamp(t, o, 0, d, TRANSPORT_WATER, 0);
       
   212 }
   203 
   213 
   204 #endif /* BRIDGE_MAP_H */
   214 #endif /* BRIDGE_MAP_H */