From 4ba28fe5120e5d6f15283c11f501747c3a310c07 Mon Sep 17 00:00:00 2001 From: Sergey Lapin Date: Tue, 7 Apr 2026 11:37:43 +0300 Subject: [PATCH] Town components indicators --- src/features/editScene/systems/EditorUISystem.cpp | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/src/features/editScene/systems/EditorUISystem.cpp b/src/features/editScene/systems/EditorUISystem.cpp index e98a242..fc33553 100644 --- a/src/features/editScene/systems/EditorUISystem.cpp +++ b/src/features/editScene/systems/EditorUISystem.cpp @@ -382,6 +382,21 @@ void EditorUISystem::renderEntityNode(flecs::entity entity, int depth) indicators += " [LODS]"; if (entity.has()) indicators += " [LOD]"; + // Town/District/Lot/CellGrid components + if (entity.has()) + indicators += " [Town]"; + if (entity.has()) + indicators += " [Dist]"; + if (entity.has()) + indicators += " [Lot]"; + if (entity.has()) + indicators += " [Grid]"; + if (entity.has()) + indicators += " [Roof]"; + if (entity.has()) + indicators += " [Room]"; + if (entity.has()) + indicators += " [Furn]"; snprintf(label, sizeof(label), "%s%s##%llu", name.c_str(), indicators.c_str(), (unsigned long long)entity.id());