summaryrefslogtreecommitdiff
path: root/src/ecs.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ecs.hpp')
-rw-r--r--src/ecs.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ecs.hpp b/src/ecs.hpp
index 6a8ad8f..8cfdb4c 100644
--- a/src/ecs.hpp
+++ b/src/ecs.hpp
@@ -6,8 +6,6 @@
#include "pk.h"
#include "components.hpp"
-#include "glm/vec3.hpp"
-
extern DynArray<Entity_Base *> EntitiesToBeRemoved;
extern DynArray<Entity_Base *> EntitiesWithExcessInstances;
@@ -28,13 +26,13 @@ CompGrBinds *ECS_CreateGrBinds(Entity_Base *);
CompGrBinds *ECS_GetGrBinds(GrBindsHandle grBindsHandle);
void ECS_GetGrBinds(Entity_Base *entity, PkeArray<CompGrBinds *> &arr);
uint64_t ECS_GetGrBinds_BucketCount();
-CompGrBinds *ECS_GetGrBinds(uint64_t bucketIndex, uint64_t &itemCount);
+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_UpdateInstance(CompInstance *instance, const InstPos &instPos, bool overridePhysics = false);
uint64_t ECS_GetInstances_BucketCount();
-CompInstance *ECS_GetInstances(uint64_t bucketIndex, uint64_t &itemCount);
+CompInstance *ECS_GetInstances(pk_handle_bucket_index_T bucketIndex, pk_handle_item_index_T &itemCount);
#endif /* PKE_ECS_HPP */