20 LOG_INFO(
"Initialize ComponentManager!",
"");
33 LOG_DEBUG(
"Releasing remaining entities of type '{}' ...", cc.second->GetComponentContainerTypeName());
38 LOG_INFO(
"Release ComponentManager!",
"");
79 for (
auto i = oldSize; i < newSize; ++i)
89 assert(this->
m_EntityComponentMap[entityId.
index][componentTypeId] == componentId &&
"FATAL: Entity Component ID mapping corruption!");
#define COMPONENT_LUT_GROW
#define DEFINE_LOGGER(name)
#define LOG_INFO(format,...)
#define LOG_DEBUG(format,...)
void UnmapEntityComponent(EntityId entityId, ComponentId componentId, ComponentTypeId componentTypeId)
ComponentContainerRegistry m_ComponentContainerRegistry
void ReleaseComponentId(ComponentId id)
EntityComponentMap m_EntityComponentMap
ComponentLookupTable m_ComponentLUT
void MapEntityComponent(EntityId entityId, ComponentId componentId, ComponentTypeId componentTypeId)
ComponentId AqcuireComponentId(IComponent *component)
static const ComponentId INVALID_COMPONENT_ID