Skip to content

Commit

Permalink
Fix room_data struct
Browse files Browse the repository at this point in the history
  • Loading branch information
Frostbyte0x70 committed Nov 1, 2024
1 parent 01a1d42 commit f1ceec7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions headers/types/dungeon_mode/dungeon_mode.h
Original file line number Diff line number Diff line change
Expand Up @@ -832,14 +832,14 @@ ASSERT_SIZE(struct tile, 20);
struct room_data {
uint8_t room_id;
undefined field_0x1; // Initialized to 0
struct position bottom_right_corner; // 0x2
struct position top_left_corner; // 0x6
struct position top_left_corner; // 0x2
struct position bottom_right_corner; // 0x6
undefined field_0xa; // Doesn't get initialized, likely padding
undefined field_0xb; // Doesn't get initialized, likely padding
undefined4 field_0xc; // Initialized to (bottom_right_corner.x - 1) * 0x1C
undefined4 field_0x10; // Initialized to (bottom_right_corner.y - 1) * 0x1C
undefined4 field_0x14; // Initialized to (top_left_corner.x + 1) * 0x1C
undefined4 field_0x18; // Initialized to (top_left_corner.y + 1) * 0x1C
undefined4 field_0xc; // Initialized to (top_left_corner.x - 1) * 0x1C
undefined4 field_0x10; // Initialized to (top_left_corner.y - 1) * 0x1C
undefined4 field_0x14; // Initialized to (bottom_right_corner.x + 1) * 0x1C
undefined4 field_0x18; // Initialized to (bottom_right_corner.y + 1) * 0x1C
};
ASSERT_SIZE(struct room_data, 28);

Expand Down

0 comments on commit f1ceec7

Please sign in to comment.