Added barebones ECS prototype

This commit is contained in:
sippeangelo
2015-12-01 16:47:54 +01:00
parent 6ca1977e78
commit a5affd2dc2
7 changed files with 588 additions and 1 deletions
+15
View File
@@ -0,0 +1,15 @@
#include "../Common.h"
struct ComponentInfo
{
struct Meta_t
{
std::string Annotation;
int Allocation = 0;
};
std::string Name;
std::unordered_map<std::string, std::string> FieldTypes;
std::unordered_map<std::string, unsigned int> FieldOffsets;
Meta_t Meta;
};