mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
Default-initialise rct_g1_element, rct_g1_header (#17501)
This commit is contained in:
committed by
GitHub
parent
46b3687a2d
commit
94a1351100
@@ -79,20 +79,20 @@ struct GamePalette
|
||||
|
||||
struct rct_g1_element
|
||||
{
|
||||
uint8_t* offset; // 0x00
|
||||
int16_t width; // 0x04
|
||||
int16_t height; // 0x06
|
||||
int16_t x_offset; // 0x08
|
||||
int16_t y_offset; // 0x0A
|
||||
uint16_t flags; // 0x0C
|
||||
int32_t zoomed_offset; // 0x0E
|
||||
uint8_t* offset = nullptr; // 0x00
|
||||
int16_t width = 0; // 0x04
|
||||
int16_t height = 0; // 0x06
|
||||
int16_t x_offset = 0; // 0x08
|
||||
int16_t y_offset = 0; // 0x0A
|
||||
uint16_t flags = 0; // 0x0C
|
||||
int32_t zoomed_offset = 0; // 0x0E
|
||||
};
|
||||
|
||||
#pragma pack(push, 1)
|
||||
struct rct_g1_header
|
||||
{
|
||||
uint32_t num_entries;
|
||||
uint32_t total_size;
|
||||
uint32_t num_entries = 0;
|
||||
uint32_t total_size = 0;
|
||||
};
|
||||
assert_struct_size(rct_g1_header, 8);
|
||||
#pragma pack(pop)
|
||||
|
||||
Reference in New Issue
Block a user