diff options
| author | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-07 22:44:12 -0400 |
|---|---|---|
| committer | Jonathan Bradley <jcb@pikum.xyz> | 2023-09-07 22:44:12 -0400 |
| commit | 9d6c681037eb4fb3c6d9eca6b1ff1d01d429614e (patch) | |
| tree | 5d5b8070a4a67a1004458d8588cd103323cb6950 /src/entities.hpp | |
| parent | 72c0e8e946c1d3e391986eeece474f3d2529f160 (diff) | |
entities and memory allocation checkpoint
Diffstat (limited to 'src/entities.hpp')
| -rw-r--r-- | src/entities.hpp | 21 |
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 */ |
