Town components indicators
This commit is contained in:
@@ -382,6 +382,21 @@ void EditorUISystem::renderEntityNode(flecs::entity entity, int depth)
|
||||
indicators += " [LODS]";
|
||||
if (entity.has<LodComponent>())
|
||||
indicators += " [LOD]";
|
||||
// Town/District/Lot/CellGrid components
|
||||
if (entity.has<TownComponent>())
|
||||
indicators += " [Town]";
|
||||
if (entity.has<DistrictComponent>())
|
||||
indicators += " [Dist]";
|
||||
if (entity.has<LotComponent>())
|
||||
indicators += " [Lot]";
|
||||
if (entity.has<CellGridComponent>())
|
||||
indicators += " [Grid]";
|
||||
if (entity.has<RoofComponent>())
|
||||
indicators += " [Roof]";
|
||||
if (entity.has<RoomComponent>())
|
||||
indicators += " [Room]";
|
||||
if (entity.has<FurnitureTemplateComponent>())
|
||||
indicators += " [Furn]";
|
||||
|
||||
snprintf(label, sizeof(label), "%s%s##%llu", name.c_str(),
|
||||
indicators.c_str(), (unsigned long long)entity.id());
|
||||
|
||||
Reference in New Issue
Block a user