1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-29 01:35:06 +01:00

Refactor object and network constants to kCamelCase

This commit is contained in:
Harry Hopkinson
2024-08-11 21:21:24 +01:00
committed by GitHub
parent 8ebacc1821
commit 4744c7416d
26 changed files with 106 additions and 111 deletions

View File

@@ -28,7 +28,7 @@
using namespace OpenRCT2;
using namespace OpenRCT2::Audio;
constexpr size_t DEFAULT_BYTES_PER_TICK = 1378;
constexpr size_t kDefaultBytesPerTick = 1378;
void MusicObject::Load()
{
@@ -62,13 +62,13 @@ void MusicObject::Load()
}
else
{
track.BytesPerTick = DEFAULT_BYTES_PER_TICK;
track.BytesPerTick = kDefaultBytesPerTick;
track.Size = track.Asset.GetSize();
}
}
else
{
track.BytesPerTick = DEFAULT_BYTES_PER_TICK;
track.BytesPerTick = kDefaultBytesPerTick;
track.Size = track.Asset.GetSize();
}
}