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

Function DrawRailTileSeqInGUI

src/sprite.h:105–108  ·  view source on GitHub ↗

* Draw tile sprite sequence in GUI with railroad specifics. * @param total_offset Spriteoffset from normal rail to current railtype. * @param newgrf_offset Startsprite of the Action1 to use. */

Source from the content-addressed store, hash-verified

103 * @param newgrf_offset Startsprite of the Action1 to use.
104 */
105inline void DrawRailTileSeqInGUI(int x, int y, const DrawTileSprites *dts, int32_t total_offset, uint32_t newgrf_offset, PaletteID default_palette)
106{
107 DrawCommonTileSeqInGUI(x, y, dts, total_offset, newgrf_offset, default_palette, false);
108}
109
110/**
111 * Draw TTD sprite sequence on tile.

Callers 4

DrawTrainDepotSpriteFunction · 0.85
DrawStationTileFunction · 0.85
StationPickerDrawSpriteFunction · 0.85
DrawRoadDepotSpriteFunction · 0.85

Calls 1

DrawCommonTileSeqInGUIFunction · 0.85

Tested by

no test coverage detected