mirror of
https://github.com/zeldaret/oot.git
synced 2025-10-20 05:30:26 +00:00
Pause docs: Songs playback (#2220)
* Pause docs: Songs playback * `VREG(21-25)` -> `VREG(21) to VREG(25)` * comments on quest-song related main states * make `sPlayedSongBtns` `+1`-sized to account for trailing INVALID button note in a 8-btn-notes song
This commit is contained in:
parent
a09ea76025
commit
e331805c0a
4 changed files with 192 additions and 159 deletions
|
@ -87,14 +87,14 @@ typedef enum PauseState {
|
|||
typedef enum PauseMainState {
|
||||
/* 0 */ PAUSE_MAIN_STATE_IDLE,
|
||||
/* 1 */ PAUSE_MAIN_STATE_SWITCHING_PAGE,
|
||||
/* 2 */ PAUSE_MAIN_STATE_2,
|
||||
/* 2 */ PAUSE_MAIN_STATE_SONG_PLAYBACK, // The song is being played back to the player.
|
||||
/* 3 */ PAUSE_MAIN_STATE_3,
|
||||
/* 4 */ PAUSE_MAIN_STATE_4,
|
||||
/* 5 */ PAUSE_MAIN_STATE_5,
|
||||
/* 6 */ PAUSE_MAIN_STATE_6,
|
||||
/* 4 */ PAUSE_MAIN_STATE_SONG_PROMPT_INIT, // Start the prompt for the player to play the song.
|
||||
/* 5 */ PAUSE_MAIN_STATE_SONG_PROMPT, // Waiting for the player to play the song.
|
||||
/* 6 */ PAUSE_MAIN_STATE_SONG_PROMPT_DONE, // The song prompt is done, the player either played the song successfully or made a mistake.
|
||||
/* 7 */ PAUSE_MAIN_STATE_7,
|
||||
/* 8 */ PAUSE_MAIN_STATE_8,
|
||||
/* 9 */ PAUSE_MAIN_STATE_9
|
||||
/* 8 */ PAUSE_MAIN_STATE_IDLE_CURSOR_ON_SONG, // Like PAUSE_MAIN_STATE_IDLE, but the quest page is active and the cursor is positioned on a song.
|
||||
/* 9 */ PAUSE_MAIN_STATE_SONG_PLAYBACK_START // Start playing the song back to the player.
|
||||
} PauseMainState;
|
||||
|
||||
// Sub-states of PAUSE_STATE_SAVE_PROMPT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue