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

Rename snake_case functions in openrct2/src folder

Co-authored-by: duncanspumpkin <duncans_pumpkin@hotmail.co.uk>
This commit is contained in:
Hielke Morsink
2023-01-17 13:24:51 +01:00
committed by GitHub
parent bf5f7e8e71
commit 6b7dc8fcdb
227 changed files with 1040 additions and 1040 deletions

View File

@@ -59,7 +59,7 @@ void MapAnimationCreate(int32_t type, const CoordsXYZ& loc)
}
else
{
log_error("Exceeded the maximum number of animations");
LOG_ERROR("Exceeded the maximum number of animations");
}
}
}
@@ -191,7 +191,7 @@ static bool MapAnimationInvalidateSmallScenery(const CoordsXYZ& loc)
if (sceneryEntry->HasFlag(SMALL_SCENERY_FLAG_IS_CLOCK))
{
// Peep, looking at scenery
if (!(gCurrentTicks & 0x3FF) && game_is_not_paused())
if (!(gCurrentTicks & 0x3FF) && GameIsNotPaused())
{
int32_t direction = tileElement->GetDirection();
auto quad = EntityTileList<Peep>(CoordsXY{ loc } - CoordsDirectionDelta[direction]);
@@ -330,7 +330,7 @@ static bool MapAnimationInvalidateTrackOnRidePhoto(const CoordsXYZ& loc)
if (tileElement->AsTrack()->GetTrackType() == TrackElemType::OnRidePhoto)
{
MapInvalidateTileZoom1({ loc, loc.z, tileElement->GetClearanceZ() });
if (game_is_paused())
if (GameIsPaused())
{
return false;
}
@@ -497,7 +497,7 @@ static bool MapAnimationInvalidateWallDoor(const CoordsXYZ& loc)
if (wallEntry == nullptr || !(wallEntry->flags & WALL_SCENERY_IS_DOOR))
continue;
if (game_is_paused())
if (GameIsPaused())
{
return false;
}