diff options
Diffstat (limited to 'src/ecs.hpp')
| -rw-r--r-- | src/ecs.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<CompGrBinds *> &arr); +void ECS_GetGrBinds(Entity_Base *entity, pk_arr_t<CompGrBinds *> &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<CompInstance *> &arr); +void ECS_GetInstances(Entity_Base *entity, pk_arr_t<CompInstance *> &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); |
