Mario Kart 64
Loading...
Searching...
No Matches
external.h File Reference
#include <common_structs.h>
#include "camera.h"
Include dependency graph for external.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Sound
 
struct  Unk_800E9F7C
 
struct  Unk_8018EFD8
 
struct  SoundCharacteristics
 
struct  Unk_800EA06C
 
struct  struct_D_801930D0_inner
 
struct  struct_D_801930D0_entry
 
struct  ChannelVolumeScaleFade
 
struct  UnkStruct8018EF18
 
struct  struct_D_80192CA8_entry
 

Macros

#define ADSR_STATE_DISABLED   0
 
#define ADSR_STATE_INITIAL   1
 
#define ADSR_STATE_START_LOOP   2
 
#define ADSR_STATE_LOOP   3
 
#define ADSR_STATE_FADE   4
 
#define ADSR_STATE_HANG   5
 
#define ADSR_STATE_DECAY   6
 
#define ADSR_STATE_RELEASE   7
 
#define ADSR_STATE_SUSTAIN   8
 
#define ADSR_ACTION_RELEASE   0x10
 
#define ADSR_ACTION_DECAY   0x20
 
#define ADSR_ACTION_HANG   0x40
 
#define ADSR_DISABLE   0
 
#define ADSR_HANG   -1
 
#define ADSR_GOTO   -2
 
#define ADSR_RESTART   -3
 
#define SEQUENCE_ARGS(priority, seqId)   ((priority << 8) | seqId)
 
#define SOUND_MODE_STEREO   0
 
#define SOUND_MODE_MONO   3
 
#define SOUND_MODE_HEADSET   1
 
#define SEQ_PLAYER_LEVEL   0
 
#define SEQ_PLAYER_ENV   1
 
#define SEQ_PLAYER_SFX   2
 
#define SOUND_BANK_UNK0   0
 
#define SOUND_BANK_UNK1   1
 
#define SOUND_BANK_UNK2   2
 
#define SOUND_BANK_UNK3   3
 
#define SOUND_BANK_UNK4   4
 
#define SOUND_BANK_UNK5   5
 
#define SOUND_BANK_COUNT   6
 

Macro Definition Documentation

◆ ADSR_ACTION_DECAY

#define ADSR_ACTION_DECAY   0x20

◆ ADSR_ACTION_HANG

#define ADSR_ACTION_HANG   0x40

◆ ADSR_ACTION_RELEASE

#define ADSR_ACTION_RELEASE   0x10

◆ ADSR_DISABLE

#define ADSR_DISABLE   0

◆ ADSR_GOTO

#define ADSR_GOTO   -2

◆ ADSR_HANG

#define ADSR_HANG   -1

◆ ADSR_RESTART

#define ADSR_RESTART   -3

◆ ADSR_STATE_DECAY

#define ADSR_STATE_DECAY   6

◆ ADSR_STATE_DISABLED

#define ADSR_STATE_DISABLED   0

◆ ADSR_STATE_FADE

#define ADSR_STATE_FADE   4

◆ ADSR_STATE_HANG

#define ADSR_STATE_HANG   5

◆ ADSR_STATE_INITIAL

#define ADSR_STATE_INITIAL   1

◆ ADSR_STATE_LOOP

#define ADSR_STATE_LOOP   3

◆ ADSR_STATE_RELEASE

#define ADSR_STATE_RELEASE   7

◆ ADSR_STATE_START_LOOP

#define ADSR_STATE_START_LOOP   2

◆ ADSR_STATE_SUSTAIN

#define ADSR_STATE_SUSTAIN   8

◆ SEQ_PLAYER_ENV

#define SEQ_PLAYER_ENV   1

◆ SEQ_PLAYER_LEVEL

#define SEQ_PLAYER_LEVEL   0

◆ SEQ_PLAYER_SFX

#define SEQ_PLAYER_SFX   2

◆ SEQUENCE_ARGS

#define SEQUENCE_ARGS ( priority,
seqId )   ((priority << 8) | seqId)

◆ SOUND_BANK_COUNT

#define SOUND_BANK_COUNT   6

◆ SOUND_BANK_UNK0

#define SOUND_BANK_UNK0   0

◆ SOUND_BANK_UNK1

#define SOUND_BANK_UNK1   1

◆ SOUND_BANK_UNK2

#define SOUND_BANK_UNK2   2

◆ SOUND_BANK_UNK3

#define SOUND_BANK_UNK3   3

◆ SOUND_BANK_UNK4

#define SOUND_BANK_UNK4   4

◆ SOUND_BANK_UNK5

#define SOUND_BANK_UNK5   5

◆ SOUND_MODE_HEADSET

#define SOUND_MODE_HEADSET   1

◆ SOUND_MODE_MONO

#define SOUND_MODE_MONO   3

◆ SOUND_MODE_STEREO

#define SOUND_MODE_STEREO   0