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

Method DrawType

src/rail_gui.cpp:1848–1851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1846 }
1847
1848 void DrawType(int x, int y, int cls_id, int id) const override
1849 {
1850 DrawWaypointSprite(x, y, this->GetClassIndex(cls_id), id, _cur_railtype);
1851 }
1852
1853 void FillUsedItems(std::set<PickerItem> &items) override
1854 {

Callers

nothing calls this directly

Calls 2

DrawWaypointSpriteFunction · 0.85
GetClassIndexMethod · 0.80

Tested by

no test coverage detected