Sp3 5 ecs #135

Merged
maverickdgg merged 4 commits from SP3-5-ECS into main 2022-10-31 15:10:53 +08:00
5 changed files with 5 additions and 7 deletions
Showing only changes of commit 5aee22a5e3 - Show all commits

View File

@ -439,7 +439,7 @@ namespace SHADE
{
if ((templateIDs[i] == oID))
{
SHLOG_WARNING("Component type already owned by another component group");
assert("This Component is owned by another group");
}
}
}

View File

@ -88,8 +88,7 @@ namespace SHADE
if (!entityVec[eIndex])
{
//There is still an entity stored there.Something went wrong
SHLOG_CRITICAL("FATAL ERROR: Entity Creation error. Entity index conflict.")
assert("FATAL ERROR: Entity Creation error. Entity Index Conflict");
}
//Reset it to a newly constructed entity

View File

@ -119,7 +119,7 @@ namespace SHADE
if (!entityVec[eIndex])
{
//There is still an entity stored there.Something went wrong
SHLOG_CRITICAL("FATAL ERROR: Entity Creation error. Entity index conflict.")
assert("FATAL ERROR: Entity Creation error. Entity Index Conflict");
}
//Reset it to a newly constructed entity

View File

@ -29,7 +29,7 @@ namespace SHADE
{
system.second->Init();
#ifdef _DEBUG
SHLOG_INFO("{} Init", system.first);
std::cout << system.first << " Init" << std::endl;
#endif
}
}

View File

@ -94,8 +94,7 @@ namespace SHADE
if (systemContainer.find(id) == systemContainer.end())
{
SHLOG_WARNING("System Manager warning: System Version {} does not exist. Returning as nullptr", version)
std::cout << "System Manager error: System Version " << version << " does not exit." << std::endl;
return nullptr;
}