rename EntityId to BuildingId

This commit is contained in:
2026-05-23 07:53:56 +02:00
parent dc4ebd5f2d
commit b57299fd2a
28 changed files with 273 additions and 274 deletions

View File

@@ -0,0 +1,9 @@
#pragma once
// Stable id for factory buildings, construction sites, and belts.
// Ships, stations, scrap, and the HQ proxy use entt::entity instead.
// Ids are allocated centrally by the Simulation, strictly increasing, never
// reused. 0 is reserved as the invalid id.
using BuildingId = long long;
constexpr BuildingId kInvalidBuildingId = 0;