summaryrefslogtreecommitdiff
path: root/src/entities.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/entities.hpp')
-rw-r--r--src/entities.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/entities.hpp b/src/entities.hpp
index 5e80616..005c83c 100644
--- a/src/entities.hpp
+++ b/src/entities.hpp
@@ -9,13 +9,14 @@
#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'};
+ const char *modelFile = nullptr;
+ const char *entityTypeCode = nullptr;
EntityHandle entityHandle = EntityHandle_MAX;
VkPipelineLayoutCreateInfo *vkPipelineLayoutCreateInfo = nullptr;
};
void EntityType_Init();
void EntityType_Load(EntityType et);
+void EntityType_Teardown();
#endif /* PKE_ENTITIES_HPP */