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

Function DrawShipDepotSprite

src/water_cmd.cpp:979–985  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

977}
978
979void DrawShipDepotSprite(int x, int y, Axis axis, DepotPart part)
980{
981 const DrawTileSprites &dts = _shipdepot_display_data[axis][to_underlying(part)];
982
983 DrawSprite(dts.ground.sprite, dts.ground.pal, x, y);
984 DrawOrigTileSeqInGUI(x, y, &dts, GetCompanyPalette(_local_company));
985}
986
987
988static int GetSlopePixelZ_Water(TileIndex tile, uint x, uint y, bool)

Callers 1

DrawWidgetMethod · 0.85

Calls 4

to_underlyingFunction · 0.85
DrawSpriteFunction · 0.85
DrawOrigTileSeqInGUIFunction · 0.85
GetCompanyPaletteFunction · 0.85

Tested by

no test coverage detected