summaryrefslogtreecommitdiff
path: root/src/ecs.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2025-01-14 18:17:54 -0500
committerJonathan Bradley <jcb@pikum.xyz>2025-01-14 18:17:54 -0500
commit5a7b4a65a1d93744e4a5e6cc6df4244f61b81f68 (patch)
tree4b59cb1d6e513c1caefdc7e4c35955741bcfe206 /src/ecs.hpp
parent80a67230fe192287503092a3d256aea3a494409c (diff)
chore: fix compiler warnings + extra includes
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 */