MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / ClearSelectedObject

Function ClearSelectedObject

src/openrct2/Editor.cpp:554–562  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

552 }
553
554 void ClearSelectedObject(ObjectType objectType, size_t index, uint32_t flags)
555 {
556 auto& list = _editorSelectedObjectFlags[EnumValue(objectType)];
557 if (list.size() <= index)
558 {
559 list.resize(index + 1);
560 }
561 list[index] &= ~flags;
562 }
563
564 void SetSelectedObject(ObjectType objectType, size_t index, uint32_t flags)
565 {

Callers 2

SetupInUseSelectionFlagsFunction · 0.85
ResearchRidesSetupFunction · 0.85

Calls 2

EnumValueFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected