LMS 2012
|
Go to the source code of this file.
Data Structures | |
struct | SOUND_GLOBALS |
Macros | |
#define | STEP_SIZE_TABLE_ENTRIES 89 |
#define | INDEX_TABLE_ENTRIES 16 |
#define | SND_LEVEL_1 13 |
#define | SND_LEVEL_2 25 |
#define | SND_LEVEL_3 38 |
#define | SND_LEVEL_4 50 |
#define | SND_LEVEL_5 63 |
#define | SND_LEVEL_6 75 |
#define | SND_LEVEL_7 88 |
#define | TONE_LEVEL_1 8 |
#define | TONE_LEVEL_2 16 |
#define | TONE_LEVEL_3 24 |
#define | TONE_LEVEL_4 32 |
#define | TONE_LEVEL_5 40 |
#define | TONE_LEVEL_6 48 |
#define | TONE_LEVEL_7 56 |
#define | TONE_LEVEL_8 64 |
#define | TONE_LEVEL_9 72 |
#define | TONE_LEVEL_10 80 |
#define | TONE_LEVEL_11 88 |
#define | TONE_LEVEL_12 96 |
#define | FILEFORMAT_RAW_SOUND 0x0100 |
#define | FILEFORMAT_ADPCM_SOUND 0x0101 |
#define | SOUND_MODE_ONCE 0x00 |
#define | SOUND_LOOP 0x01 |
#define | SOUND_ADPCM_INIT_VALPREV 0x7F |
#define | SOUND_ADPCM_INIT_INDEX 20 |
#define | SoundInstance (*gSoundInstance) |
Enumerations | |
enum | { SOUND_STOPPED, SOUND_SETUP_FILE, SOUND_FILE_PLAYING, SOUND_FILE_LOOPING, SOUND_TONE_PLAYING, SOUND_TONE_LOOPING } |
Functions | |
RESULT | cSoundInit (void) |
RESULT | cSoundOpen (void) |
RESULT | cSoundUpdate (void) |
RESULT | cSoundClose (void) |
RESULT | cSoundExit (void) |
void | cSoundEntry (void) |
opSOUND byte code More... | |
void | cSoundReady (void) |
opSOUND_READY byte code More... | |
void | cSoundTest (void) |
opSOUND_TEST byte code More... | |
void | setSoundInstance (SOUND_GLOBALS *_Instance) |
SOUND_GLOBALS * | getSoundInstance () |
Variables | |
enum { ... } | SOUND_STATES |
const SWORD | StepSizeTable [STEP_SIZE_TABLE_ENTRIES] |
const SWORD | IndexTable [INDEX_TABLE_ENTRIES] |
SOUND_GLOBALS * | gSoundInstance |
#define SoundInstance (*gSoundInstance) |
anonymous enum |
SOUND_GLOBALS* getSoundInstance | ( | ) |
void setSoundInstance | ( | SOUND_GLOBALS * | _Instance | ) |
SOUND_GLOBALS* gSoundInstance |
const SWORD IndexTable[INDEX_TABLE_ENTRIES] |
enum { ... } SOUND_STATES |
const SWORD StepSizeTable[STEP_SIZE_TABLE_ENTRIES] |