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:
@@ -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;
|
||||
|
||||
@@ -833,7 +833,7 @@ namespace OpenRCT2
|
||||
gCurrentLoadedPath = path;
|
||||
gFirstTimeSaving = true;
|
||||
GameFixSaveVars();
|
||||
MapAnimation::CreateAll();
|
||||
MapAnimation::MarkAllTiles();
|
||||
EntityTweener::Get().Reset();
|
||||
gScreenAge = 0;
|
||||
gLastAutoSaveUpdate = kAutosavePause;
|
||||
|
||||
@@ -2854,7 +2854,7 @@ bool NetworkBase::LoadMap(IStream* stream)
|
||||
importer->Import(gameState);
|
||||
|
||||
EntityTweener::Get().Reset();
|
||||
MapAnimation::CreateAll();
|
||||
MapAnimation::MarkAllTiles();
|
||||
|
||||
gLastAutoSaveUpdate = kAutosavePause;
|
||||
result = true;
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -67,7 +67,7 @@ static void GameInit(bool retainSpatialIndices)
|
||||
ResetAllSpriteQuadrantPlacements();
|
||||
LoadPalette();
|
||||
EntityTweener::Get().Reset();
|
||||
MapAnimation::CreateAll();
|
||||
MapAnimation::MarkAllTiles();
|
||||
FixInvalidVehicleSpriteSizes();
|
||||
|
||||
gGameSpeed = 1;
|
||||
|
||||
Reference in New Issue
Block a user