1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 02:05:13 +01:00

Rename classes with snakes OpenRCT2/G*-M*

This commit is contained in:
Duncan
2023-01-19 15:13:23 +00:00
committed by GitHub
parent 859b071ddc
commit 23b6d1840e
30 changed files with 112 additions and 115 deletions

View File

@@ -278,14 +278,14 @@ bool MapCheckCapacityAndReorganise(const CoordsXY& loc, size_t numElements)
static void ClearElementsAt(const CoordsXY& loc);
static ScreenCoordsXY Translate3DTo2D(int32_t rotation, const CoordsXY& pos);
void TileElementIteratorBegin(tile_element_iterator* it)
void TileElementIteratorBegin(TileElementIterator* it)
{
it->x = 0;
it->y = 0;
it->element = MapGetFirstElementAt(TileCoordsXY{ 0, 0 });
}
int32_t TileElementIteratorNext(tile_element_iterator* it)
int32_t TileElementIteratorNext(TileElementIterator* it)
{
if (it->element == nullptr)
{
@@ -317,7 +317,7 @@ int32_t TileElementIteratorNext(tile_element_iterator* it)
return 0;
}
void TileElementIteratorRestartForTile(tile_element_iterator* it)
void TileElementIteratorRestartForTile(TileElementIterator* it)
{
it->element = nullptr;
}
@@ -1100,7 +1100,7 @@ void TileElementRemove(TileElement* tileElement)
*/
void MapRemoveAllRides()
{
tile_element_iterator it;
TileElementIterator it;
TileElementIteratorBegin(&it);
do