mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-16 12:32:29 +01:00
Rename MapAnimation::CreateAll to MarkAllTiles
This commit is contained in:
@@ -328,7 +328,7 @@ namespace OpenRCT2::Title
|
|||||||
parkImporter->Import(gameState);
|
parkImporter->Import(gameState);
|
||||||
ReportProgress(100);
|
ReportProgress(100);
|
||||||
|
|
||||||
MapAnimation::CreateAll();
|
MapAnimation::MarkAllTiles();
|
||||||
}
|
}
|
||||||
PrepareParkForPlayback();
|
PrepareParkForPlayback();
|
||||||
_initialLoadCommand = false;
|
_initialLoadCommand = false;
|
||||||
@@ -384,7 +384,7 @@ namespace OpenRCT2::Title
|
|||||||
parkImporter->Import(gameState);
|
parkImporter->Import(gameState);
|
||||||
ReportProgress(100);
|
ReportProgress(100);
|
||||||
|
|
||||||
MapAnimation::CreateAll();
|
MapAnimation::MarkAllTiles();
|
||||||
}
|
}
|
||||||
PrepareParkForPlayback();
|
PrepareParkForPlayback();
|
||||||
_initialLoadCommand = false;
|
_initialLoadCommand = false;
|
||||||
|
|||||||
@@ -833,7 +833,7 @@ namespace OpenRCT2
|
|||||||
gCurrentLoadedPath = path;
|
gCurrentLoadedPath = path;
|
||||||
gFirstTimeSaving = true;
|
gFirstTimeSaving = true;
|
||||||
GameFixSaveVars();
|
GameFixSaveVars();
|
||||||
MapAnimation::CreateAll();
|
MapAnimation::MarkAllTiles();
|
||||||
EntityTweener::Get().Reset();
|
EntityTweener::Get().Reset();
|
||||||
gScreenAge = 0;
|
gScreenAge = 0;
|
||||||
gLastAutoSaveUpdate = kAutosavePause;
|
gLastAutoSaveUpdate = kAutosavePause;
|
||||||
|
|||||||
@@ -2854,7 +2854,7 @@ bool NetworkBase::LoadMap(IStream* stream)
|
|||||||
importer->Import(gameState);
|
importer->Import(gameState);
|
||||||
|
|
||||||
EntityTweener::Get().Reset();
|
EntityTweener::Get().Reset();
|
||||||
MapAnimation::CreateAll();
|
MapAnimation::MarkAllTiles();
|
||||||
|
|
||||||
gLastAutoSaveUpdate = kAutosavePause;
|
gLastAutoSaveUpdate = kAutosavePause;
|
||||||
result = true;
|
result = true;
|
||||||
|
|||||||
@@ -470,7 +470,7 @@ void MapAnimation::CreateTemporary(const CoordsXYZ& coords, const TemporaryType
|
|||||||
_temporaryMapAnimations.insert(TemporaryMapAnimation{ coords, type });
|
_temporaryMapAnimations.insert(TemporaryMapAnimation{ coords, type });
|
||||||
}
|
}
|
||||||
|
|
||||||
void MapAnimation::CreateAll()
|
void MapAnimation::MarkAllTiles()
|
||||||
{
|
{
|
||||||
TileElementIterator it;
|
TileElementIterator it;
|
||||||
TileElementIteratorBegin(&it);
|
TileElementIteratorBegin(&it);
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ namespace OpenRCT2::MapAnimation
|
|||||||
|
|
||||||
void Create(const CoordsXY coords);
|
void Create(const CoordsXY coords);
|
||||||
void CreateTemporary(const CoordsXYZ& coords, const TemporaryType type);
|
void CreateTemporary(const CoordsXYZ& coords, const TemporaryType type);
|
||||||
void CreateAll();
|
void MarkAllTiles();
|
||||||
void UpdateAll();
|
void UpdateAll();
|
||||||
void ClearAll();
|
void ClearAll();
|
||||||
void ShiftAll(const CoordsXY amount);
|
void ShiftAll(const CoordsXY amount);
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ static std::unique_ptr<IContext> localStartGame(const std::string& parkPath)
|
|||||||
ResetAllSpriteQuadrantPlacements();
|
ResetAllSpriteQuadrantPlacements();
|
||||||
LoadPalette();
|
LoadPalette();
|
||||||
EntityTweener::Get().Reset();
|
EntityTweener::Get().Reset();
|
||||||
MapAnimation::CreateAll();
|
MapAnimation::MarkAllTiles();
|
||||||
FixInvalidVehicleSpriteSizes();
|
FixInvalidVehicleSpriteSizes();
|
||||||
|
|
||||||
gGameSpeed = 1;
|
gGameSpeed = 1;
|
||||||
|
|||||||
@@ -67,7 +67,7 @@ static void GameInit(bool retainSpatialIndices)
|
|||||||
ResetAllSpriteQuadrantPlacements();
|
ResetAllSpriteQuadrantPlacements();
|
||||||
LoadPalette();
|
LoadPalette();
|
||||||
EntityTweener::Get().Reset();
|
EntityTweener::Get().Reset();
|
||||||
MapAnimation::CreateAll();
|
MapAnimation::MarkAllTiles();
|
||||||
FixInvalidVehicleSpriteSizes();
|
FixInvalidVehicleSpriteSizes();
|
||||||
|
|
||||||
gGameSpeed = 1;
|
gGameSpeed = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user