From 57adc97733fc0cc226f7d8f71c7e6b62dab690e0 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 21 Nov 2004 10:49:40 +0000 Subject: (svn r724) Remove restriction that a tile can only accept 3 cargo types. This especially enables houses to accept passengers, mail, goods AND food. Add string templates for up to 5 cargo types for the tile info window. If more are needed just add them. Simplify (de-uglify) the logic for cargo acceptence for houses and split the goods/food table into two. The acceptance is unmodified, but accepting goods AND food is now trivially possible. The exact amounts have to be decided. This is based on Celestar's changes in the map branch plus some further bits that will be merged there soon. --- tunnelbridge_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tunnelbridge_cmd.c') diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c index 6fcf71d68..744b0e08b 100644 --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -1208,7 +1208,7 @@ static uint GetSlopeTileh_TunnelBridge(TileInfo *ti) { } -static void GetAcceptedCargo_TunnelBridge(uint tile, AcceptedCargo *ac) +static void GetAcceptedCargo_TunnelBridge(uint tile, AcceptedCargo ac) { /* not used */ } -- cgit v1.2.3-54-g00ecf