Town components indicators

This commit is contained in:
2026-04-07 11:37:43 +03:00
parent 9f2f0be4a3
commit 4ba28fe512

View File

@@ -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());