1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-22 23:33:04 +01:00

Rename MapAnimation namespace to MapAnimations

This commit is contained in:
mix
2025-05-23 22:08:09 +01:00
parent d847c37fc8
commit 78c2b85b1d
21 changed files with 47 additions and 47 deletions

View File

@@ -67,7 +67,7 @@ static void GameInit(bool retainSpatialIndices)
ResetAllSpriteQuadrantPlacements();
LoadPalette();
EntityTweener::Get().Reset();
MapAnimation::MarkAllTiles();
MapAnimations::MarkAllTiles();
FixInvalidVehicleSpriteSizes();
gGameSpeed = 1;
@@ -83,7 +83,7 @@ static bool ImportS6(MemoryStream& stream, std::unique_ptr<IContext>& context, b
auto loadResult = importer->LoadFromStream(&stream, false);
objManager.LoadObjects(loadResult.RequiredObjects);
MapAnimation::ClearAll();
MapAnimations::ClearAll();
// TODO: Have a separate GameState and exchange once loaded.
auto& gameState = getGameState();
importer->Import(gameState);