From a288e4d82ff85819aa49061d66ee7e0cfd87e802 Mon Sep 17 00:00:00 2001 From: frosch Date: Sat, 27 Jun 2009 21:06:58 +0000 Subject: (svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays. --- src/station_func.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/station_func.h') diff --git a/src/station_func.h b/src/station_func.h index ec7af7dd4..1f1ea408b 100644 --- a/src/station_func.h +++ b/src/station_func.h @@ -22,8 +22,8 @@ void FindStationsAroundTiles(TileIndex tile, int w_prod, int h_prod, StationList void ShowStationViewWindow(StationID station); void UpdateAllStationVirtCoord(); -void GetProductionAroundTiles(CargoArray produced, TileIndex tile, int w, int h, int rad); -void GetAcceptanceAroundTiles(CargoArray acceptance, TileIndex tile, int w, int h, int rad); +CargoArray GetProductionAroundTiles(TileIndex tile, int w, int h, int rad); +CargoArray GetAcceptanceAroundTiles(TileIndex tile, int w, int h, int rad); const DrawTileSprites *GetStationTileLayout(StationType st, byte gfx); void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, RoadType roadtype, int image); -- cgit v1.2.3-54-g00ecf