1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-30 10:15:36 +01:00

Rename snake_case Class names (Remaining Bits) (#19237)

* Rename snake_case Class names

* Clang format

* Fix build issues
This commit is contained in:
Duncan
2023-01-21 19:57:17 +00:00
committed by GitHub
parent 09b1074d08
commit e09f27df3c
160 changed files with 2014 additions and 2015 deletions

View File

@@ -138,7 +138,7 @@ GameActions::Result TrackRemoveAction::Query() const
}
const auto& ted = GetTrackElementDescriptor(trackType);
auto sequenceIndex = tileElement->AsTrack()->GetSequenceIndex();
const rct_preview_track* trackBlock = ted.GetBlockForSequence(sequenceIndex);
const PreviewTrack* trackBlock = ted.GetBlockForSequence(sequenceIndex);
if (trackBlock == nullptr)
{
LOG_WARNING("Track block %d not found for track type %d.", sequenceIndex, trackType);
@@ -327,7 +327,7 @@ GameActions::Result TrackRemoveAction::Execute() const
}
const auto& ted = GetTrackElementDescriptor(trackType);
auto sequenceIndex = tileElement->AsTrack()->GetSequenceIndex();
const rct_preview_track* trackBlock = ted.GetBlockForSequence(sequenceIndex);
const PreviewTrack* trackBlock = ted.GetBlockForSequence(sequenceIndex);
if (trackBlock == nullptr)
{
LOG_WARNING("Track block %d not found for track type %d.", sequenceIndex, trackType);