1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Remove snake_case from Class names OpenRCT2/Ride*-S* (#19232)

* Remove snake_case from Class names OpenRCT2/Ride*-S*

* Clang format
This commit is contained in:
Duncan
2023-01-20 20:58:55 +00:00
committed by GitHub
parent cf9aad7885
commit 7d08372c80
71 changed files with 271 additions and 277 deletions

View File

@@ -34,13 +34,13 @@ protected:
void TestEncodeDecode(uint8_t encoding_type)
{
// Encode
sawyercoding_chunk_header chdr_in;
SawyerCodingChunkHeader chdr_in;
chdr_in.encoding = encoding_type;
chdr_in.length = sizeof(randomdata);
uint8_t* encodedDataBuffer = new uint8_t[BUFFER_SIZE];
size_t encodedDataSize = SawyerCodingWriteChunkBuffer(
encodedDataBuffer, reinterpret_cast<const uint8_t*>(randomdata), chdr_in);
ASSERT_GT(encodedDataSize, sizeof(sawyercoding_chunk_header));
ASSERT_GT(encodedDataSize, sizeof(SawyerCodingChunkHeader));
// Decode
OpenRCT2::MemoryStream ms(encodedDataBuffer, encodedDataSize);
@@ -56,8 +56,8 @@ protected:
void TestDecode(const uint8_t* data, size_t size)
{
auto expectedLength = size - sizeof(sawyercoding_chunk_header);
auto chdr_in = reinterpret_cast<const sawyercoding_chunk_header*>(data);
auto expectedLength = size - sizeof(SawyerCodingChunkHeader);
auto chdr_in = reinterpret_cast<const SawyerCodingChunkHeader*>(data);
ASSERT_EQ(chdr_in->length, expectedLength);
OpenRCT2::MemoryStream ms(data, size);