|
Digimon World 3 decomp
The European version, SLES_039.36
|
SOUNDTST.PRO: the debug sound test. More...
#include "engine/game.h"Go to the source code of this file.
Data Structures | |
| struct | SoundTestEntry |
| One line of a list: its name and what it plays (a sound bank for the bank list, a packed sound id for a bank's sound list); id 0 ends a list. More... | |
| struct | SoundTestWindows |
| The text windows the sound test owns (its task items) More... | |
| struct | SoundTest |
Functions | |
| void | SOUNDTST_updateScene (Task *task, Task **items) |
| The sound test's root task: starts the sound test; START goes back to the stage select (MODE_STAGE_SELECT) | |
| void | SOUNDTST_moveCursor (SoundTest *task, s32 delta, s32 *cursor, s32 *top, s32 count) |
| Moves a list's cursor by delta within its count, scrolling the eight lines shown to keep it in view. | |
| void | SOUNDTST_playSounds (SoundTest *task, SoundTestWindows *win) |
| The bank's sound list: cross plays the sound under the cursor for as long as it is held, square stops all sounds, triangle goes back to the banks. | |
| void | SOUNDTST_loadBank (SoundTest *task, SoundTestWindows *win) |
| Loads the bank picked, then goes on to its sounds. | |
| void | SOUNDTST_selectBank (SoundTest *task, SoundTestWindows *win) |
| The list of the sound banks (VAB) to load: cross picks the one under the cursor. | |
| void | SOUNDTST_updateSoundTest (SoundTest *task, SoundTestWindows *win) |
| The sound test's task: sets up the screen and its windows, then picks a bank, loads it and plays its sounds; when killed, goes back to the stage select. | |
| Task * | SOUNDTST_createSoundTest (void) |
| Creates the sound test. | |
Variables | |
| const char | SOUNDTST_STR_CURSOR [] |
| ">", padded to a word: the padding isn't zeros but what the assembler left there, which differs between the versions; the size leaves out the closing NUL | |
SOUNDTST.PRO: the debug sound test.
Definition in file sound_test.h.
The sound test's root task: starts the sound test; START goes back to the stage select (MODE_STAGE_SELECT)
< STAGSLCT, the debug stage select
Definition at line 613 of file sound_test.c.
Referenced by SOUNDTST_start().
Moves a list's cursor by delta within its count, scrolling the eight lines shown to keep it in view.
Definition at line 639 of file sound_test.c.
Referenced by SOUNDTST_playSounds(), and SOUNDTST_selectBank().
| void SOUNDTST_playSounds | ( | SoundTest * | task, |
| SoundTestWindows * | win | ||
| ) |
The bank's sound list: cross plays the sound under the cursor for as long as it is held, square stops all sounds, triangle goes back to the banks.
Definition at line 655 of file sound_test.c.
Referenced by SOUNDTST_updateSoundTest().
| void SOUNDTST_loadBank | ( | SoundTest * | task, |
| SoundTestWindows * | win | ||
| ) |
Loads the bank picked, then goes on to its sounds.
Definition at line 701 of file sound_test.c.
Referenced by SOUNDTST_updateSoundTest().
| void SOUNDTST_selectBank | ( | SoundTest * | task, |
| SoundTestWindows * | win | ||
| ) |
The list of the sound banks (VAB) to load: cross picks the one under the cursor.
Definition at line 721 of file sound_test.c.
Referenced by SOUNDTST_updateSoundTest().
| void SOUNDTST_updateSoundTest | ( | SoundTest * | task, |
| SoundTestWindows * | win | ||
| ) |
The sound test's task: sets up the screen and its windows, then picks a bank, loads it and plays its sounds; when killed, goes back to the stage select.
< STAGSLCT, the debug stage select
Definition at line 758 of file sound_test.c.
Referenced by SOUNDTST_createSoundTest().
| Task * SOUNDTST_createSoundTest | ( | void | ) |
Creates the sound test.
Definition at line 803 of file sound_test.c.
Referenced by SOUNDTST_updateScene().
|
extern |
">", padded to a word: the padding isn't zeros but what the assembler left there, which differs between the versions; the size leaves out the closing NUL
Definition at line 810 of file sound_test.c.
Referenced by SOUNDTST_updateSoundTest().