MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / isTypeCullableRoad

Function isTypeCullableRoad

src/OpenLoco/src/Paint/Paint.cpp:850–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

848 }
849
850 static bool isTypeCullableRoad(const Ui::ViewportInteraction::InteractionItem type)
851 {
852 switch (type)
853 {
854 case Ui::ViewportInteraction::InteractionItem::roadStation:
855 case Ui::ViewportInteraction::InteractionItem::road:
856 case Ui::ViewportInteraction::InteractionItem::roadExtra:
857 return true;
858 default:
859 return false;
860 }
861 }
862
863 static bool isTypeCullableScenery(const Ui::ViewportInteraction::InteractionItem type)
864 {

Callers 1

shouldTryCullPaintStructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected