1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +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

@@ -51,7 +51,7 @@ static std::unique_ptr<IContext> localStartGame(const std::string& parkPath)
auto loadResult = importer->LoadSavedGame(parkPath.c_str(), false);
context->GetObjectManager().LoadObjects(loadResult.RequiredObjects);
MapAnimation::ClearAll();
MapAnimations::ClearAll();
// TODO: Have a separate GameState and exchange once loaded.
auto& gameState = getGameState();
importer->Import(gameState);
@@ -61,7 +61,7 @@ static std::unique_ptr<IContext> localStartGame(const std::string& parkPath)
ResetAllSpriteQuadrantPlacements();
LoadPalette();
EntityTweener::Get().Reset();
MapAnimation::MarkAllTiles();
MapAnimations::MarkAllTiles();
FixInvalidVehicleSpriteSizes();
gGameSpeed = 1;

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);