1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2025-12-24 00:03:11 +01:00

Fix address comments in TileElement.h

This commit is contained in:
Sadret
2020-11-04 17:41:38 +01:00
committed by GitHub
parent ef51cfb29c
commit 0b99943a3f

View File

@@ -384,9 +384,9 @@ struct SmallSceneryElement : TileElementBase
{
private:
ObjectEntryIndex entryIndex; // 4
uint8_t age; // 5
uint8_t colour_1; // 6
uint8_t colour_2; // 7
uint8_t age; // 6
uint8_t colour_1; // 7
uint8_t colour_2; // 8
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
uint8_t pad_09[7];
@@ -454,7 +454,7 @@ private:
colour_t colour_2; // 07
colour_t colour_3; // 08
BannerIndex banner_index; // 09
uint8_t animation; // 0A 0b_dfff_ft00 d = direction, f = frame num, t = across track flag (not used)
uint8_t animation; // 0B 0b_dfff_ft00 d = direction, f = frame num, t = across track flag (not used)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
uint8_t pad_0C[4];
@@ -528,13 +528,12 @@ assert_struct_size(EntranceElement, 16);
struct BannerElement : TileElementBase
{
private:
BannerIndex index; // 4
uint8_t position; // 5
BannerIndex index; // 4
uint8_t position; // 6
uint8_t AllowedEdges; // 7
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
uint8_t AllowedEdges; // 6
uint8_t unused; // 7
uint8_t pad_09[7];
uint8_t pad_08[8];
#pragma clang diagnostic pop
public:
Banner* GetBanner() const;