22 lines
395 B
C++
22 lines
395 B
C++
#include <Entity/entity_common.h>
|
|
|
|
#include <Entity/Entity.h>
|
|
#include <Entity/entity_types.h>
|
|
|
|
// clang-format off
|
|
#define AS_STR(name) #name
|
|
const char* kEntity_type_names[] = {
|
|
ENTITY_TYPE_LIST(AS_STR)
|
|
"Count"
|
|
};
|
|
#undef AS_STR
|
|
|
|
#define AS_CLASS(name) name::kind
|
|
const Class* kEntity_type_class_ptr[]
|
|
{
|
|
ENTITY_TYPE_LIST(AS_CLASS)
|
|
nullptr
|
|
};
|
|
#undef AS_CLASS
|
|
// clang-format on
|