mirror of
https://github.com/zeldaret/tmc
synced 2026-09-10 04:11:53 -04:00
Extract area metadata
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ typedef struct {
|
||||
u8 flag_bank;
|
||||
u8 queueBgm;
|
||||
} AreaHeader;
|
||||
extern AreaHeader gAreaMetadata[];
|
||||
extern const AreaHeader gAreaMetadata[];
|
||||
|
||||
typedef enum {
|
||||
AR_IS_OVERWORLD = 0x1,
|
||||
|
||||
+9
-8
@@ -290,14 +290,15 @@ typedef enum {
|
||||
} EGameMainState;
|
||||
|
||||
typedef struct {
|
||||
u8 _0;
|
||||
u8 _1;
|
||||
u8 _2;
|
||||
u8 _3;
|
||||
u8 _4;
|
||||
u16 _6;
|
||||
} struct_08127F94;
|
||||
extern struct_08127F94 gUnk_08127F94[];
|
||||
u8 minX;
|
||||
u8 minY;
|
||||
u8 maxX;
|
||||
u8 maxY;
|
||||
u8 windcrestId; /**< Id to set in gSave.windcrests when the user entered a room in the boundaries specified above.*/
|
||||
//u8 pad;
|
||||
u16 textIndex; /**< The text to show for this area.*/
|
||||
} OverworldLocation;
|
||||
extern const OverworldLocation gOverworldLocations[];
|
||||
|
||||
typedef struct {
|
||||
const Font* font;
|
||||
|
||||
+2
-2
@@ -207,8 +207,8 @@ typedef struct {
|
||||
u16 offsetY; /**< Scroll offset Y from the room origin. */
|
||||
u16 x; /**< X position of the actual event. */
|
||||
u16 y; /**< Y position of the actual event. */
|
||||
u16 _c; // see sub_080A6A80, related to _0 and _2 of gUnk_08127F94
|
||||
u16 _e; // see sub_080A6A80, related to _1 and _3 of gUnk_08127F94
|
||||
u16 _c; // see GetOverworldLocation, related to _0 and _2 of gOverworldLocations
|
||||
u16 _e; // see GetOverworldLocation, related to _1 and _3 of gOverworldLocations
|
||||
u8 condition; // TODO some sort of flag determining what type the bank&flag are? see sub_0801E8D4
|
||||
u8 bank; /**< @see LocalBanks */
|
||||
u16 flag;
|
||||
|
||||
+1
-1
@@ -44,7 +44,7 @@ typedef struct {
|
||||
/*0x009*/ u8 field_0x9[0x17];
|
||||
/*0x020*/ u16 field_0x20;
|
||||
/*0x022*/ u8 field_0x22[0x1e];
|
||||
/*0x040*/ u32 windcrests; /**< Windcrest flags. */
|
||||
/*0x040*/ u32 windcrests; /**< Windcrest flags. bits 0 - 0x10: Visited area of the overworld. Above 0x18: windcrest activated. */
|
||||
/*0x044*/ u8 filler44[0xC];
|
||||
/*0x050*/ u32 unk50;
|
||||
/*0x054*/ u8 filler54[0x8];
|
||||
|
||||
+2
-2
@@ -89,11 +89,11 @@ void sub_080A4DB8(u32);
|
||||
void sub_080A6290(void);
|
||||
void sub_080A66D0();
|
||||
void sub_080A67C4(u32);
|
||||
void sub_080A6FB4(u32, u32);
|
||||
void ShowAreaName(u32 id, u32 type);
|
||||
void sub_080A698C(u32 param_1, u32 param_2, u32 param_3, u32 param_4);
|
||||
u32 sub_080A6F40();
|
||||
s32 sub_080A69E0();
|
||||
struct_08127F94* sub_080A6A80(u32 param_1, u32 param_2);
|
||||
const OverworldLocation* GetOverworldLocation(u32 x, u32 y);
|
||||
void sub_080A6498(void);
|
||||
void sub_080A71F4(const ScreenTransitionData* exitTransition);
|
||||
void sub_080A6F6C(u32 textIndexOrPtr);
|
||||
|
||||
Reference in New Issue
Block a user