diff options
author | frosch <frosch@openttd.org> | 2010-01-14 22:56:54 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2010-01-14 22:56:54 +0000 |
commit | ed83388faa6936c96cdc389a8f9d8bee30e9ad84 (patch) | |
tree | 10808808941bbd6520e93ee51460075a5d554476 /src/station_func.h | |
parent | f89d6bea0ef8d198027c7bcaed5c457aaa228330 (diff) | |
download | openttd-ed83388faa6936c96cdc389a8f9d8bee30e9ad84.tar.xz |
(svn r18802) -Codechange: Deduplicate drawing-code for depots and stations/waypoints.
Diffstat (limited to 'src/station_func.h')
-rw-r--r-- | src/station_func.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/station_func.h b/src/station_func.h index ecc794a80..acc124339 100644 --- a/src/station_func.h +++ b/src/station_func.h @@ -19,6 +19,7 @@ #include "tile_type.h" #include "cargo_type.h" #include "vehicle_type.h" +#include "transparency.h" void ModifyStationRatingAround(TileIndex tile, Owner owner, int amount, uint radius); @@ -35,6 +36,8 @@ void UpdateStationAcceptance(Station *st, bool show_msg); const DrawTileSprites *GetStationTileLayout(StationType st, byte gfx); void StationPickerDrawSprite(int x, int y, StationType st, RailType railtype, RoadType roadtype, int image); +void DrawStationTileSeq(const struct TileInfo *ti, const DrawTileSprites *dts, TransparencyOption to, int32 total_offset, uint32 relocation, SpriteID default_palette); + bool HasStationInUse(StationID station, CompanyID company); RoadStop *GetRoadStopByTile(TileIndex tile, RoadStopType type); |