mirror of
https://github.com/zeldaret/oot.git
synced 2025-10-17 12:09:55 +00:00
Pause doc: World map points (#2141)
* Pause doc: World map points * bss * `WORLD_MAP_POINT_HYLIA_LAKESIDE` -> `_LAKE_HYLIA`
This commit is contained in:
parent
87c304afcb
commit
3a9ebfbbad
11 changed files with 326 additions and 150 deletions
|
@ -96,6 +96,28 @@ typedef enum PauseMainState {
|
|||
/* 9 */ PAUSE_MAIN_STATE_9
|
||||
} PauseMainState;
|
||||
|
||||
typedef enum WorldMapPoint {
|
||||
/* 0 */ WORLD_MAP_POINT_HAUNTED_WASTELAND,
|
||||
/* 1 */ WORLD_MAP_POINT_GERUDOS_FORTRESS,
|
||||
/* 2 */ WORLD_MAP_POINT_GERUDO_VALLEY,
|
||||
/* 3 */ WORLD_MAP_POINT_LAKE_HYLIA,
|
||||
/* 4 */ WORLD_MAP_POINT_LON_LON_RANCH,
|
||||
/* 5 */ WORLD_MAP_POINT_MARKET,
|
||||
/* 6 */ WORLD_MAP_POINT_HYRULE_FIELD,
|
||||
/* 7 */ WORLD_MAP_POINT_DEATH_MOUNTAIN,
|
||||
/* 8 */ WORLD_MAP_POINT_KAKARIKO_VILLAGE,
|
||||
/* 9 */ WORLD_MAP_POINT_LOST_WOODS,
|
||||
/* 10 */ WORLD_MAP_POINT_KOKIRI_FOREST,
|
||||
/* 11 */ WORLD_MAP_POINT_ZORAS_DOMAIN,
|
||||
/* 12 */ WORLD_MAP_POINT_MAX
|
||||
} WorldMapPoint;
|
||||
|
||||
typedef enum WorldMapPointState {
|
||||
/* 0 */ WORLD_MAP_POINT_STATE_HIDE,
|
||||
/* 1 */ WORLD_MAP_POINT_STATE_SHOW,
|
||||
/* 2 */ WORLD_MAP_POINT_STATE_HIGHLIGHT
|
||||
} WorldMapPointState;
|
||||
|
||||
typedef struct PauseContext {
|
||||
/* 0x0000 */ View view;
|
||||
/* 0x0128 */ u8* iconItemSegment;
|
||||
|
@ -161,7 +183,7 @@ typedef struct PauseContext {
|
|||
/* 0x0260 */ s16 cursorColorSet; // 0 = white; 4 = yellow; 8 = green
|
||||
/* 0x0262 */ s16 promptChoice; // save/continue choice: 0 = yes; 4 = no
|
||||
/* 0x0264 */ s16 ocarinaSongIdx;
|
||||
/* 0x0266 */ u8 worldMapPoints[20]; // 0 = hidden; 1 = displayed; 2 = highlighted
|
||||
/* 0x0266 */ u8 worldMapPoints[20]; // indices: `WorldMapPoint` enum, values: `WorldMapPointState` enum
|
||||
/* 0x027A */ u8 tradeQuestLocation;
|
||||
/* 0x027C */ SkelAnime playerSkelAnime;
|
||||
} PauseContext; // size = 0x2C0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue