From e6e7f56c9bba3b2191583c4c1d0599370d1f00c7 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 20 Mar 2025 15:30:13 -0400 Subject: pke: replace PkeArray with pk_arr_t --- src/ecs.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/ecs.hpp') diff --git a/src/ecs.hpp b/src/ecs.hpp index 8cfdb4c..eea7758 100644 --- a/src/ecs.hpp +++ b/src/ecs.hpp @@ -1,7 +1,6 @@ #ifndef PKE_ECS_HPP #define PKE_ECS_HPP -#include "array.hpp" #include "dynamic-array.hpp" #include "pk.h" #include "components.hpp" @@ -24,13 +23,13 @@ void ECS_HandleCollision(CompInstance *lhs, CompInstance *rhs); CompGrBinds *ECS_CreateGrBinds(Entity_Base *); CompGrBinds *ECS_GetGrBinds(GrBindsHandle grBindsHandle); -void ECS_GetGrBinds(Entity_Base *entity, PkeArray &arr); +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); CompInstance *ECS_CreateInstance(Entity_Base *entity, CompGrBinds *entityTypeGrBinds); CompInstance *ECS_GetInstance(InstanceHandle instanceHandle); -void ECS_GetInstances(Entity_Base *entity, PkeArray &arr); +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); -- cgit v1.2.3