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

Go to the source code of this file.

Data Structures

struct  AudioListItem
 
struct  NotePool
 
struct  VibratoState
 
struct  Portamento
 
struct  AdsrEnvelope
 
struct  AdpcmLoop
 
struct  AdpcmBook
 
struct  AudioBankSample
 
struct  AudioBankSound
 
struct  Instrument
 
struct  Drum
 
struct  AudioBank
 
struct  CtlEntry
 
struct  M64ScriptState
 
struct  SequencePlayer
 
struct  AdsrSettings
 
struct  AdsrState
 
struct  ReverbBitsData
 
union  ReverbBits
 
struct  ReverbInfo
 
struct  NoteAttributes
 
struct  SequenceChannel
 
struct  SequenceChannelLayer
 
struct  NoteSynthesisState
 
struct  NotePlaybackState
 
struct  NoteSubEu
 
struct  Note
 
struct  NoteSynthesisBuffers
 
struct  ReverbSettingsEU
 
struct  AudioSessionSettingsEU
 
struct  AudioSessionSettings
 
struct  AudioBufferParametersEU
 
struct  EuAudioCmd
 

Macros

#define SEQUENCE_PLAYERS   4
 
#define SEQUENCE_CHANNELS   48
 
#define SEQUENCE_LAYERS   64
 
#define LAYERS_MAX   4
 
#define CHANNELS_MAX   16
 
#define NO_LAYER   ((struct SequenceChannelLayer*) (-1))
 
#define MUTE_BEHAVIOR_STOP_SCRIPT   0x80
 
#define MUTE_BEHAVIOR_STOP_NOTES   0x40
 
#define MUTE_BEHAVIOR_SOFTEN   0x20
 
#define SEQUENCE_PLAYER_STATE_0   0
 
#define SEQUENCE_PLAYER_STATE_FADE_OUT   1
 
#define SEQUENCE_PLAYER_STATE_2   2
 
#define SEQUENCE_PLAYER_STATE_3   3
 
#define SEQUENCE_PLAYER_STATE_4   4
 
#define NOTE_PRIORITY_DISABLED   0
 
#define NOTE_PRIORITY_STOPPING   1
 
#define NOTE_PRIORITY_MIN   2
 
#define NOTE_PRIORITY_DEFAULT   3
 
#define TATUMS_PER_BEAT   48
 
#define CODEC_ADPCM   0
 
#define CODEC_S8   1
 
#define CODEC_SKIP   2
 
#define TEMPO_SCALE   TATUMS_PER_BEAT
 
#define US_FLOAT(x)   x##f
 
#define US_FLOAT2(x)   x
 
#define FLOAT_CAST(x)   (f32)(s32)(x)
 
#define stubbed_printf(...)
 
#define eu_stubbed_printf_0(msg)   stubbed_printf(msg)
 
#define eu_stubbed_printf_1(msg, a)   stubbed_printf(msg, a)
 
#define eu_stubbed_printf_2(msg, a, b)   stubbed_printf(msg, a, b)
 
#define eu_stubbed_printf_3(msg, a, b, c)   stubbed_printf(msg, a, b, c)
 

Macro Definition Documentation

◆ CHANNELS_MAX

#define CHANNELS_MAX   16

◆ CODEC_ADPCM

#define CODEC_ADPCM   0

◆ CODEC_S8

#define CODEC_S8   1

◆ CODEC_SKIP

#define CODEC_SKIP   2

◆ eu_stubbed_printf_0

#define eu_stubbed_printf_0 ( msg)    stubbed_printf(msg)

◆ eu_stubbed_printf_1

#define eu_stubbed_printf_1 ( msg,
a )   stubbed_printf(msg, a)

◆ eu_stubbed_printf_2

#define eu_stubbed_printf_2 ( msg,
a,
b )   stubbed_printf(msg, a, b)

◆ eu_stubbed_printf_3

#define eu_stubbed_printf_3 ( msg,
a,
b,
c )   stubbed_printf(msg, a, b, c)

◆ FLOAT_CAST

#define FLOAT_CAST ( x)    (f32)(s32)(x)

◆ LAYERS_MAX

#define LAYERS_MAX   4

◆ MUTE_BEHAVIOR_SOFTEN

#define MUTE_BEHAVIOR_SOFTEN   0x20

◆ MUTE_BEHAVIOR_STOP_NOTES

#define MUTE_BEHAVIOR_STOP_NOTES   0x40

◆ MUTE_BEHAVIOR_STOP_SCRIPT

#define MUTE_BEHAVIOR_STOP_SCRIPT   0x80

◆ NO_LAYER

#define NO_LAYER   ((struct SequenceChannelLayer*) (-1))

◆ NOTE_PRIORITY_DEFAULT

#define NOTE_PRIORITY_DEFAULT   3

◆ NOTE_PRIORITY_DISABLED

#define NOTE_PRIORITY_DISABLED   0

◆ NOTE_PRIORITY_MIN

#define NOTE_PRIORITY_MIN   2

◆ NOTE_PRIORITY_STOPPING

#define NOTE_PRIORITY_STOPPING   1

◆ SEQUENCE_CHANNELS

#define SEQUENCE_CHANNELS   48

◆ SEQUENCE_LAYERS

#define SEQUENCE_LAYERS   64

◆ SEQUENCE_PLAYER_STATE_0

#define SEQUENCE_PLAYER_STATE_0   0

◆ SEQUENCE_PLAYER_STATE_2

#define SEQUENCE_PLAYER_STATE_2   2

◆ SEQUENCE_PLAYER_STATE_3

#define SEQUENCE_PLAYER_STATE_3   3

◆ SEQUENCE_PLAYER_STATE_4

#define SEQUENCE_PLAYER_STATE_4   4

◆ SEQUENCE_PLAYER_STATE_FADE_OUT

#define SEQUENCE_PLAYER_STATE_FADE_OUT   1

◆ SEQUENCE_PLAYERS

#define SEQUENCE_PLAYERS   4

◆ stubbed_printf

#define stubbed_printf ( ...)

◆ TATUMS_PER_BEAT

#define TATUMS_PER_BEAT   48

◆ TEMPO_SCALE

#define TEMPO_SCALE   TATUMS_PER_BEAT

◆ US_FLOAT

#define US_FLOAT ( x)    x##f
Todo
US_FLOAT should probably be renamed to JP_DOUBLE since eu seems to use floats too

◆ US_FLOAT2

#define US_FLOAT2 ( x)    x