Convert contents of EntityRegistry.h to camelCase (#27019)

This commit is contained in:
Harry Hopkinson authored and GitHub committed 2026-08-29 22:24:54 +00:00
1 parent b92dd1d78c
commit 0fb70602d3
99 files changed
+469 -469

No files matched your search

+4 -4
View File
@@ -257,7 +257,7 @@ static void FixPeepsWithInvalidRideReference()
if (!peepsToRemove.empty())
{
// Some broken saves have broken spatial indexes
getGameState().entities.ResetEntitySpatialIndices();
getGameState().entities.resetEntitySpatialIndices();
}
for (auto ptr : peepsToRemove)
@@ -368,7 +368,7 @@ void GameLoadInit()
{
GameActions::ClearQueue();
}
getGameState().entities.ResetEntitySpatialIndices();
getGameState().entities.resetEntitySpatialIndices();
ResetAllSpriteQuadrantPlacements();
gWindowUpdateTicks = 0;
@@ -437,7 +437,7 @@ void ResetAllSpriteQuadrantPlacements()
{
for (EntityId::UnderlyingType i = 0; i < kMaxEntities; i++)
{
auto* spr = getGameState().entities.GetEntity(EntityId::FromUnderlying(i));
auto* spr = getGameState().entities.getEntity(EntityId::FromUnderlying(i));
if (spr != nullptr && spr->type != EntityType::null)
{
spr->moveTo(spr->getLocation());
@@ -736,7 +736,7 @@ void GameLoadOrQuitNoSavePrompt()
}
default:
GameUnloadScripts();
getGameState().entities.ResetAllEntities();
getGameState().entities.resetAllEntities();
GetContext()->Finish();
break;
}