From 9d6c681037eb4fb3c6d9eca6b1ff1d01d429614e Mon Sep 17 00:00:00 2001 From: Jonathan Bradley Date: Thu, 7 Sep 2023 22:44:12 -0400 Subject: entities and memory allocation checkpoint --- src/entities.hpp | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/entities.hpp (limited to 'src/entities.hpp') diff --git a/src/entities.hpp b/src/entities.hpp new file mode 100644 index 0000000..5e80616 --- /dev/null +++ b/src/entities.hpp @@ -0,0 +1,21 @@ +#ifndef PKE_ENTITIES_HPP +#define PKE_ENTITIES_HPP + +#include "vendor/cgltf-include.hpp" +#include "ecs.hpp" +#include "components.hpp" +#include "asset-manager.hpp" +#include "memory.hpp" +#include "window.hpp" + +struct EntityType { + char *modelFile = nullptr; + char entityTypeCode[16] = {'\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0','\0'}; + EntityHandle entityHandle = EntityHandle_MAX; + VkPipelineLayoutCreateInfo *vkPipelineLayoutCreateInfo = nullptr; +}; + +void EntityType_Init(); +void EntityType_Load(EntityType et); + +#endif /* PKE_ENTITIES_HPP */ -- cgit v1.2.3