Sp3 5 ecs #135
|
@ -439,7 +439,7 @@ namespace SHADE
|
||||||
{
|
{
|
||||||
if ((templateIDs[i] == oID))
|
if ((templateIDs[i] == oID))
|
||||||
{
|
{
|
||||||
assert("This Component is owned by another group");
|
SHLOG_WARNING("Component type already owned by another component group");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,7 +88,8 @@ namespace SHADE
|
||||||
if (!entityVec[eIndex])
|
if (!entityVec[eIndex])
|
||||||
{
|
{
|
||||||
//There is still an entity stored there.Something went wrong
|
//There is still an entity stored there.Something went wrong
|
||||||
assert("FATAL ERROR: Entity Creation error. Entity Index Conflict");
|
SHLOG_CRITICAL("FATAL ERROR: Entity Creation error. Entity index conflict.")
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
//Reset it to a newly constructed entity
|
//Reset it to a newly constructed entity
|
||||||
|
|
|
@ -119,7 +119,7 @@ namespace SHADE
|
||||||
if (!entityVec[eIndex])
|
if (!entityVec[eIndex])
|
||||||
{
|
{
|
||||||
//There is still an entity stored there.Something went wrong
|
//There is still an entity stored there.Something went wrong
|
||||||
assert("FATAL ERROR: Entity Creation error. Entity Index Conflict");
|
SHLOG_CRITICAL("FATAL ERROR: Entity Creation error. Entity index conflict.")
|
||||||
}
|
}
|
||||||
|
|
||||||
//Reset it to a newly constructed entity
|
//Reset it to a newly constructed entity
|
||||||
|
|
|
@ -29,7 +29,7 @@ namespace SHADE
|
||||||
{
|
{
|
||||||
system.second->Init();
|
system.second->Init();
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
std::cout << system.first << " Init" << std::endl;
|
SHLOG_INFO("{} Init", system.first);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,8 @@ namespace SHADE
|
||||||
|
|
||||||
if (systemContainer.find(id) == systemContainer.end())
|
if (systemContainer.find(id) == systemContainer.end())
|
||||||
{
|
{
|
||||||
std::cout << "System Manager error: System Version " << version << " does not exit." << std::endl;
|
SHLOG_WARNING("System Manager warning: System Version {} does not exist. Returning as nullptr", version)
|
||||||
|
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue