summaryrefslogtreecommitdiff
path: root/src/entities.hpp
diff options
context:
space:
mode:
authorJonathan Bradley <jcb@pikum.xyz>2023-09-07 22:44:12 -0400
committerJonathan Bradley <jcb@pikum.xyz>2023-09-07 22:44:12 -0400
commit9d6c681037eb4fb3c6d9eca6b1ff1d01d429614e (patch)
tree5d5b8070a4a67a1004458d8588cd103323cb6950 /src/entities.hpp
parent72c0e8e946c1d3e391986eeece474f3d2529f160 (diff)
entities and memory allocation checkpoint
Diffstat (limited to 'src/entities.hpp')
-rw-r--r--src/entities.hpp21
1 files changed, 21 insertions, 0 deletions
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 */