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

Function isTypeCullableTree

src/OpenLoco/src/Paint/Paint.cpp:893–903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891 }
892
893 static bool isTypeCullableTree(const Ui::ViewportInteraction::InteractionItem type)
894 {
895 switch (type)
896 {
897 case Ui::ViewportInteraction::InteractionItem::industryTree:
898 case Ui::ViewportInteraction::InteractionItem::tree:
899 return true;
900 default:
901 return false;
902 }
903 }
904
905 static bool shouldTryCullPaintStruct(const PaintStruct& ps, const Ui::ViewportFlags viewFlags)
906 {

Callers 1

shouldTryCullPaintStructFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected