From 5a7b4a65a1d93744e4a5e6cc6df4244f61b81f68 Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Tue, 14 Jan 2025 18:17:54 -0500 Subject: chore: fix compiler warnings + extra includes --- src/ecs.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/ecs.hpp') 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 EntitiesToBeRemoved; extern DynArray EntitiesWithExcessInstances; @@ -28,13 +26,13 @@ CompGrBinds *ECS_CreateGrBinds(Entity_Base *); CompGrBinds *ECS_GetGrBinds(GrBindsHandle grBindsHandle); void ECS_GetGrBinds(Entity_Base *entity, PkeArray &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 &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 */ -- cgit v1.2.3