src/bridge_map.h
branchNewGRF_ports
changeset 10994 cd9968b6f96b
parent 10724 68a692eacf22
--- a/src/bridge_map.h	Tue Jun 17 10:32:49 2008 +0000
+++ b/src/bridge_map.h	Tue Jun 17 13:22:13 2008 +0000
@@ -200,5 +200,15 @@
 	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 */