From 7f6382badd3ea4f2c21920c9951997d4b431d0a2 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 11 Jun 2008 13:54:01 +0000 Subject: (svn r13464) -Codechange: support NewGRF Action 0x05, type 12. --- src/bridge_map.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/bridge_map.h') diff --git a/src/bridge_map.h b/src/bridge_map.h index fd82fbdab..309fc0dd4 100644 --- a/src/bridge_map.h +++ b/src/bridge_map.h @@ -200,5 +200,15 @@ static inline void MakeRailBridgeRamp(TileIndex t, Owner o, BridgeType bridgetyp MakeBridgeRamp(t, o, bridgetype, d, TRANSPORT_RAIL, r); } +/** + * Make a bridge ramp for aqueducts. + * @param t the tile to make a bridge ramp + * @param o the new owner of the bridge ramp + * @param d the direction this ramp must be facing + */ +static inline void MakeAqueductBridgeRamp(TileIndex t, Owner o, DiagDirection d) +{ + MakeBridgeRamp(t, o, 0, d, TRANSPORT_WATER, 0); +} #endif /* BRIDGE_MAP_H */ -- cgit v1.2.3-54-g00ecf