summaryrefslogtreecommitdiff
path: root/src/ecs.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-03-20 15:30:13 -0400
committerJonathan Bradley <jcb@pikum.xyz>2025-03-21 11:06:05 -0400
commite6e7f56c9bba3b2191583c4c1d0599370d1f00c7 (patch)
tree27476da693d9e75d920a698d57b74699f9f81c7a /src/ecs.hpp
parent9b39b4c8eab360e087423f06ecffb694a3b98b23 (diff)
pke: replace PkeArray with pk_arr_t
Diffstat (limited to 'src/ecs.hpp')
-rw-r--r--src/ecs.hpp5
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);