diff options
author | rubidium <rubidium@openttd.org> | 2008-06-11 13:54:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-06-11 13:54:01 +0000 |
commit | ee843728bf7e40b23b194520803dcd74cac1d25a (patch) | |
tree | 93d0cf5e2656fbaec389d945c2682c766b5756c8 /src/bridge_map.h | |
parent | 2475d0010b9095de32a3104492f1139c224f1f86 (diff) | |
download | openttd-ee843728bf7e40b23b194520803dcd74cac1d25a.tar.xz |
(svn r13464) -Codechange: support NewGRF Action 0x05, type 12.
Diffstat (limited to 'src/bridge_map.h')
-rw-r--r-- | src/bridge_map.h | 10 |
1 files changed, 10 insertions, 0 deletions
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 */ |