MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / DrawWaterDepot

Function DrawWaterDepot

src/water_cmd.cpp:879–883  ·  view source on GitHub ↗

Draw a ship depot tile. */

Source from the content-addressed store, hash-verified

877
878/** Draw a ship depot tile. */
879static void DrawWaterDepot(const TileInfo *ti)
880{
881 DrawWaterClassGround(ti);
882 DrawWaterTileStruct(ti, _shipdepot_display_data[GetShipDepotAxis(ti->tile)][to_underlying(GetShipDepotPart(ti->tile))].seq, 0, 0, GetCompanyPalette(GetTileOwner(ti->tile)), CF_END);
883}
884
885static void DrawRiverWater(const TileInfo *ti)
886{

Callers 1

DrawTile_WaterFunction · 0.85

Calls 7

DrawWaterClassGroundFunction · 0.85
DrawWaterTileStructFunction · 0.85
GetShipDepotAxisFunction · 0.85
to_underlyingFunction · 0.85
GetShipDepotPartFunction · 0.85
GetCompanyPaletteFunction · 0.85
GetTileOwnerFunction · 0.85

Tested by

no test coverage detected