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:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user