1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-10 17:42:29 +01:00

Rename MapAnimation::CreateAll to MarkAllTiles

This commit is contained in:
mix
2025-05-23 04:25:12 +01:00
parent b6537a4799
commit 7df1a8602c
7 changed files with 8 additions and 8 deletions

View File

@@ -328,7 +328,7 @@ namespace OpenRCT2::Title
parkImporter->Import(gameState);
ReportProgress(100);
MapAnimation::CreateAll();
MapAnimation::MarkAllTiles();
}
PrepareParkForPlayback();
_initialLoadCommand = false;
@@ -384,7 +384,7 @@ namespace OpenRCT2::Title
parkImporter->Import(gameState);
ReportProgress(100);
MapAnimation::CreateAll();
MapAnimation::MarkAllTiles();
}
PrepareParkForPlayback();
_initialLoadCommand = false;

View File

@@ -833,7 +833,7 @@ namespace OpenRCT2
gCurrentLoadedPath = path;
gFirstTimeSaving = true;
GameFixSaveVars();
MapAnimation::CreateAll();
MapAnimation::MarkAllTiles();
EntityTweener::Get().Reset();
gScreenAge = 0;
gLastAutoSaveUpdate = kAutosavePause;

View File

@@ -2854,7 +2854,7 @@ bool NetworkBase::LoadMap(IStream* stream)
importer->Import(gameState);
EntityTweener::Get().Reset();
MapAnimation::CreateAll();
MapAnimation::MarkAllTiles();
gLastAutoSaveUpdate = kAutosavePause;
result = true;

View File

@@ -470,7 +470,7 @@ void MapAnimation::CreateTemporary(const CoordsXYZ& coords, const TemporaryType
_temporaryMapAnimations.insert(TemporaryMapAnimation{ coords, type });
}
void MapAnimation::CreateAll()
void MapAnimation::MarkAllTiles()
{
TileElementIterator it;
TileElementIteratorBegin(&it);

View File

@@ -21,7 +21,7 @@ namespace OpenRCT2::MapAnimation
void Create(const CoordsXY coords);
void CreateTemporary(const CoordsXYZ& coords, const TemporaryType type);
void CreateAll();
void MarkAllTiles();
void UpdateAll();
void ClearAll();
void ShiftAll(const CoordsXY amount);

View File

@@ -61,7 +61,7 @@ static std::unique_ptr<IContext> localStartGame(const std::string& parkPath)
ResetAllSpriteQuadrantPlacements();
LoadPalette();
EntityTweener::Get().Reset();
MapAnimation::CreateAll();
MapAnimation::MarkAllTiles();
FixInvalidVehicleSpriteSizes();
gGameSpeed = 1;

View File

@@ -67,7 +67,7 @@ static void GameInit(bool retainSpatialIndices)
ResetAllSpriteQuadrantPlacements();
LoadPalette();
EntityTweener::Get().Reset();
MapAnimation::CreateAll();
MapAnimation::MarkAllTiles();
FixInvalidVehicleSpriteSizes();
gGameSpeed = 1;