mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-11 07:18:11 -05:00
refactor: use new line character instead of std::endl
This commit is contained in:
@ -66,7 +66,7 @@ bool AssetLoaderPhysPreset::LoadFromInfoString(
|
||||
infoString, presetInfo.get(), zone->m_script_strings, memory, manager, phys_preset_fields, std::extent_v<decltype(phys_preset_fields)>);
|
||||
if (!converter.Convert())
|
||||
{
|
||||
std::cout << "Failed to parse phys preset: \"" << assetName << "\"" << std::endl;
|
||||
std::cout << "Failed to parse phys preset: \"" << assetName << "\"\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -103,7 +103,7 @@ bool AssetLoaderPhysPreset::LoadFromGdt(
|
||||
InfoString infoString;
|
||||
if (!infoString.FromGdtProperties(*gdtEntry))
|
||||
{
|
||||
std::cout << "Failed to read phys preset gdt entry: \"" << assetName << "\"" << std::endl;
|
||||
std::cout << "Failed to read phys preset gdt entry: \"" << assetName << "\"\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -126,7 +126,7 @@ bool AssetLoaderPhysPreset::LoadFromRaw(
|
||||
InfoString infoString;
|
||||
if (!infoString.FromStream(ObjConstants::INFO_STRING_PREFIX_PHYS_PRESET, *file.m_stream))
|
||||
{
|
||||
std::cout << "Failed to read phys preset raw file: \"" << fileName << "\"" << std::endl;
|
||||
std::cout << "Failed to read phys preset raw file: \"" << fileName << "\"\n";
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -62,7 +62,7 @@ bool InfoStringToStructConverter::ConvertBaseField(const cspField_t& field, cons
|
||||
|
||||
if (fx == nullptr)
|
||||
{
|
||||
std::cout << "Failed to load fx asset \"" << value << "\"" << std::endl;
|
||||
std::cout << "Failed to load fx asset \"" << value << "\"\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -84,7 +84,7 @@ bool InfoStringToStructConverter::ConvertBaseField(const cspField_t& field, cons
|
||||
|
||||
if (xmodel == nullptr)
|
||||
{
|
||||
std::cout << "Failed to load xmodel asset \"" << value << "\"" << std::endl;
|
||||
std::cout << "Failed to load xmodel asset \"" << value << "\"\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -106,7 +106,7 @@ bool InfoStringToStructConverter::ConvertBaseField(const cspField_t& field, cons
|
||||
|
||||
if (material == nullptr)
|
||||
{
|
||||
std::cout << "Failed to load material asset \"" << value << "\"" << std::endl;
|
||||
std::cout << "Failed to load material asset \"" << value << "\"\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -128,7 +128,7 @@ bool InfoStringToStructConverter::ConvertBaseField(const cspField_t& field, cons
|
||||
|
||||
if (tracer == nullptr)
|
||||
{
|
||||
std::cout << "Failed to load tracer asset \"" << value << "\"" << std::endl;
|
||||
std::cout << "Failed to load tracer asset \"" << value << "\"\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -145,7 +145,7 @@ bool InfoStringToStructConverter::ConvertBaseField(const cspField_t& field, cons
|
||||
|
||||
if (endPtr != &value[value.size()])
|
||||
{
|
||||
std::cout << "Failed to parse value \"" << value << "\" as mph" << std::endl;
|
||||
std::cout << "Failed to parse value \"" << value << "\" as mph\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -164,7 +164,7 @@ bool InfoStringToStructConverter::ConvertBaseField(const cspField_t& field, cons
|
||||
|
||||
if (collmap == nullptr)
|
||||
{
|
||||
std::cout << "Failed to load collmap asset \"" << value << "\"" << std::endl;
|
||||
std::cout << "Failed to load collmap asset \"" << value << "\"\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
@ -186,7 +186,7 @@ bool InfoStringToStructConverter::ConvertBaseField(const cspField_t& field, cons
|
||||
|
||||
if (sound == nullptr)
|
||||
{
|
||||
std::cout << "Failed to load sound asset \"" << value << "\"" << std::endl;
|
||||
std::cout << "Failed to load sound asset \"" << value << "\"\n";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user