summaryrefslogtreecommitdiff
path: root/src/station_func.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-06-27 21:06:58 +0000
committerfrosch <frosch@openttd.org>2009-06-27 21:06:58 +0000
commita288e4d82ff85819aa49061d66ee7e0cfd87e802 (patch)
treedcb119ed56cd690290a226e44feaf430ff4f14de /src/station_func.h
parent9b070b5405d11c74d89a747e912e627e39850f7c (diff)
downloadopenttd-a288e4d82ff85819aa49061d66ee7e0cfd87e802.tar.xz
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
Diffstat (limited to 'src/station_func.h')
-rw-r--r--src/station_func.h4
1 files changed, 2 insertions, 2 deletions
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);