Code standardtization pass. Fixed a bunch of warnings.

This commit is contained in:
Antoine Pilote
2023-03-04 17:50:02 -05:00
parent dfd8c0c57d
commit 8be7695d1e
28 changed files with 133 additions and 106 deletions

View File

@@ -72,6 +72,8 @@ namespace Nuake {
if (name == b.Name)
return b;
}
assert(false && "Brush entity not found!");
}
FGDPointEntity& GetPointEntity(const std::string& name)
@@ -81,6 +83,8 @@ namespace Nuake {
if (name == p.Name)
return p;
}
assert(false && "Point entity not found!");
}
EntityType GetTypeOfEntity(const std::string& className)

View File

@@ -84,6 +84,8 @@ namespace Nuake {
line += "]";
FileSystem::WriteLine(line);
return true;
}
bool FGDSerializer::SerializeBrush(FGDBrushEntity fgdClass)