mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-23 15:52:55 +01:00
Rename snake_case functions in openrct2/src folder
Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
@@ -63,7 +63,7 @@ static void GameInit(bool retainSpatialIndices)
|
||||
if (!retainSpatialIndices)
|
||||
ResetEntitySpatialIndices();
|
||||
|
||||
reset_all_sprite_quadrant_placements();
|
||||
ResetAllSpriteQuadrantPlacements();
|
||||
ScenerySetDefaultPlacementConfiguration();
|
||||
LoadPalette();
|
||||
EntityTweener::Get().Reset();
|
||||
@@ -140,7 +140,7 @@ static void CompareStates(MemoryStream& importBuffer, MemoryStream& exportBuffer
|
||||
{
|
||||
if (importBuffer.GetLength() != exportBuffer.GetLength())
|
||||
{
|
||||
log_warning(
|
||||
LOG_WARNING(
|
||||
"Inconsistent export size! Import Size: %llu bytes, Export Size: %llu bytes",
|
||||
static_cast<unsigned long long>(importBuffer.GetLength()),
|
||||
static_cast<unsigned long long>(exportBuffer.GetLength()));
|
||||
@@ -171,13 +171,13 @@ static void CompareStates(MemoryStream& importBuffer, MemoryStream& exportBuffer
|
||||
|
||||
if (res != cmpData.spriteChanges.end())
|
||||
{
|
||||
log_warning("Snapshot data differences. %s", snapshots->GetCompareDataText(cmpData).c_str());
|
||||
LOG_WARNING("Snapshot data differences. %s", snapshots->GetCompareDataText(cmpData).c_str());
|
||||
FAIL();
|
||||
}
|
||||
}
|
||||
catch (const std::runtime_error& err)
|
||||
{
|
||||
log_warning("Snapshot data failed to be read. Snapshot not compared. %s", err.what());
|
||||
LOG_WARNING("Snapshot data failed to be read. Snapshot not compared. %s", err.what());
|
||||
FAIL();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user