Digimon World 3 decomp
The European version, SLES_039.36
Loading...
Searching...
No Matches
sound_test.h File Reference

SOUNDTST.PRO: the debug sound test. More...

#include "engine/game.h"
Include dependency graph for sound_test.h:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

SOUNDTST.PRO: the debug sound test.

Definition in file sound_test.h.

Function Documentation

◆ SOUNDTST_updateScene()

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)

< STAGSLCT, the debug stage select

Definition at line 613 of file sound_test.c.

Referenced by SOUNDTST_start().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SOUNDTST_moveCursor()

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.

Definition at line 639 of file sound_test.c.

Referenced by SOUNDTST_playSounds(), and SOUNDTST_selectBank().

Here is the caller graph for this function:

◆ SOUNDTST_playSounds()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SOUNDTST_loadBank()

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().

Here is the caller graph for this function:

◆ SOUNDTST_selectBank()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ 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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SOUNDTST_createSoundTest()

Task * SOUNDTST_createSoundTest ( void  )

Creates the sound test.

Definition at line 803 of file sound_test.c.

Referenced by SOUNDTST_updateScene().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ SOUNDTST_STR_CURSOR

const char SOUNDTST_STR_CURSOR[]
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().