diff options
Diffstat (limited to 'src/components.hpp')
| -rw-r--r-- | src/components.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components.hpp b/src/components.hpp index 326b0e6..f4e7c7f 100644 --- a/src/components.hpp +++ b/src/components.hpp @@ -28,6 +28,7 @@ constexpr LevelHandle LevelHandle_MAX = LevelHandle{ pk_handle_MAX_constexpr }; struct Entity_Base { EntityHandle handle = EntityHandle_MAX; EntityHandle parentHandle = EntityHandle_MAX; + pk_uuid uuid = pk_uuid_max; bool isMarkedForRemoval = false; }; @@ -65,6 +66,7 @@ struct CompInstance { EntityHandle entHandle = EntityHandle_MAX; GrBindsHandle grBindsHandle = GrBindsHandle_MAX; InstanceHandle instanceHandle = InstanceHandle_MAX; + pk_uuid uuid = pk_uuid_max; uint32_t index = ECS_UNSET_VAL_32; PhysicsCollision physicsLayer = PhysicsCollision{1}; PhysicsCollision physicsMask = PhysicsCollision{1}; |
