mirror of
https://github.com/zeldaret/oot.git
synced 2025-07-15 04:14:34 +00:00
Document pause states (excluding gameover) (#1483)
* Document PauseContext.state * Very light docs surrounding pause states * PAUSE_STATE_UNPAUSE -> PAUSE_STATE_RESUME_GAMEPLAY and comment on purpose in the enum * PAUSE_STATE_MAIN -> PAUSE_STATE_6 * format * Player_InitDrawPause -> Player_InitPauseDrawData
This commit is contained in:
parent
475b8a1eba
commit
d314cfe923
20 changed files with 174 additions and 139 deletions
|
@ -365,7 +365,7 @@ void Minimap_Draw(PlayState* play) {
|
|||
|
||||
OPEN_DISPS(play->state.gfxCtx, "../z_map_exp.c", 626);
|
||||
|
||||
if (play->pauseCtx.state < 4) {
|
||||
if (play->pauseCtx.state <= PAUSE_STATE_INIT) {
|
||||
switch (play->sceneId) {
|
||||
case SCENE_DEKU_TREE:
|
||||
case SCENE_DODONGOS_CAVERN:
|
||||
|
@ -523,7 +523,7 @@ void Map_Update(PlayState* play) {
|
|||
s16 floor;
|
||||
s16 i;
|
||||
|
||||
if ((play->pauseCtx.state == 0) && (play->pauseCtx.debugState == 0)) {
|
||||
if (!IS_PAUSED(&play->pauseCtx)) {
|
||||
switch (play->sceneId) {
|
||||
case SCENE_DEKU_TREE:
|
||||
case SCENE_DODONGOS_CAVERN:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue