src/bridge_gui.cpp
changeset 6990 136a08baf0ed
parent 6950 14ecb0acdfb4
child 6991 bf9cd2a47774
equal deleted inserted replaced
6989:1768ca0091cb 6990:136a08baf0ed
    20 	uint count;
    20 	uint count;
    21 	TileIndex start_tile;
    21 	TileIndex start_tile;
    22 	TileIndex end_tile;
    22 	TileIndex end_tile;
    23 	byte type;
    23 	byte type;
    24 	byte indexes[MAX_BRIDGES];
    24 	byte indexes[MAX_BRIDGES];
    25 	int32 costs[MAX_BRIDGES];
    25 	Money costs[MAX_BRIDGES];
    26 } _bridgedata;
    26 } _bridgedata;
    27 
    27 
    28 void CcBuildBridge(bool success, TileIndex tile, uint32 p1, uint32 p2)
    28 void CcBuildBridge(bool success, TileIndex tile, uint32 p1, uint32 p2)
    29 {
    29 {
    30 	if (success) SndPlayTileFx(SND_27_BLACKSMITH_ANVIL, tile);
    30 	if (success) SndPlayTileFx(SND_27_BLACKSMITH_ANVIL, tile);