From d9dc3559296661249f9e5f1c3d0a8320cbf8fc29 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 29 May 2025 16:11:37 -0400 Subject: pke: ecs: BucketContainer > pk_bkt_arr_t & cleanup --- src/ecs.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/ecs.hpp') diff --git a/src/ecs.hpp b/src/ecs.hpp index 7be6eac..91202c4 100644 --- a/src/ecs.hpp +++ b/src/ecs.hpp @@ -26,14 +26,12 @@ void ECS_HandleCollision(CompInstance *lhs, CompInstance *rhs); CompGrBinds *ECS_CreateGrBinds(Entity_Base *); CompGrBinds *ECS_GetGrBinds(GrBindsHandle grBindsHandle); void ECS_GetGrBinds(Entity_Base *entity, pk_arr_t &arr); -uint64_t ECS_GetGrBinds_BucketCount(); -CompGrBinds *ECS_GetGrBinds(pk_handle_bucket_index_T bucketIndex, pk_handle_item_index_T &itemCount); +pk_bkt_arr *ECS_GetGrBinds(); CompInstance *ECS_CreateInstance(Entity_Base *entity, pk_uuid uuid, CompGrBinds *entityTypeGrBinds, InstPos *instance_pos); CompInstance *ECS_GetInstance(InstanceHandle instanceHandle); void ECS_GetInstances(Entity_Base *entity, pk_arr_t &arr); void ECS_UpdateInstance(CompInstance *instance, const InstPos &instPos, bool overridePhysics = false); -uint64_t ECS_GetInstances_BucketCount(); -CompInstance *ECS_GetInstances(pk_handle_bucket_index_T bucketIndex, pk_handle_item_index_T &itemCount); +pk_bkt_arr *ECS_GetInstances(); #endif /* PKE_ECS_HPP */ -- cgit v1.2.3