Mario Kart 64
Loading...
Searching...
No Matches
external.c File Reference
#include <ultra64.h>
#include <macros.h>
#include <mk64.h>
#include <defines.h>
#include "camera.h"
#include "math_util_2.h"
#include <sounds.h>
#include "audio/external.h"
#include "audio/load.h"
#include "audio/data.h"
#include "audio/port_eu.h"
#include "code_800029B0.h"
#include "code_80005FD0.h"
#include "code_80091750.h"
Include dependency graph for external.c:

Macros

#define AUDIO_LEFT_TYRE   BACK_LEFT
 
#define AUDIO_RIGHT_TYRE   BACK_RIGHT
 

Functions

void func_800C13F0 (void)
 
void audio_reset_session_eu (OSMesg presetId)
 
f32 func_800C1480 (u8 bank, u8 soundId)
 
s8 func_800C15D0 (u8 bank, u8 soundId, u8 channel)
 
f32 func_800C1934 (u8 bank, u8 soundId)
 
void func_800C19D0 (u8 arg0, u8 arg1, u8 arg2)
 
struct Unk_8018EFD8func_800C1C88 (u8 arg0, Vec3f position, f32 *velocity, f32 *arg3, u8 arg4, u32 soundBits)
 
void func_800C1DA4 (Camera *arg0, Vec3s rot, struct Unk_8018EFD8 *arg2)
 
void func_800C1E2C (Camera *camera, Vec3f velocity, struct Unk_8018EFD8 *arg2)
 
void func_800C1F8C (void)
 
Vec3ffunc_800C21E8 (Vec3f pos, u32 soundBits)
 
void func_800C2274 (u8 player)
 
void func_800C2474 (void)
 
void func_800C29B4 (u8 arg0, u16 arg1)
 
void func_800C3448 (u32 arg0)
 
void func_800C3478 (void)
 
u16 func_800C3508 (u8 player)
 
u8 func_800C357C (s32 arg0)
 
void func_800C35E8 (u8 arg0)
 
void func_800C3608 (u8 arg0, u8 arg1)
 
void func_800C36C4 (u8 arg0, u8 arg1, u8 arg2, u8 arg3)
 
void func_800C3F70 (void)
 
void func_800C400C (void)
 
void func_800C4084 (u16 bankMask)
 
void func_800C40F0 (u8 arg0)
 
void play_sound (u32 soundBits, Vec3f *position, u8 cameraId, f32 *arg3, f32 *arg4, s8 *arg5)
 
void func_800C41CC (u8 arg0, struct SoundCharacteristics *arg1)
 
void delete_sound_from_bank (u8 bankId, u8 soundId)
 
void func_800C5278 (u8 bankId)
 
void func_800C5384 (u8 arg0, Vec3f *arg1)
 
void func_800C54B8 (u8 arg0, Vec3f *arg1)
 
void func_800C550C (Vec3f *arg0)
 
void func_800C5578 (Vec3f *arg0, u32 soundBits)
 
void func_800C56F0 (u32 soundBits)
 
void func_800C5848 (void)
 
void fade_channel_volume_scale (u8 player, u8 targetScale, u16 fadeDuration)
 
void func_800C5968 (u8 arg0)
 
void func_800C59C4 (void)
 
void sound_init (void)
 
void func_800C5BD0 (void)
 
void func_800C5C40 (void)
 
void func_800C5CB8 (void)
 
void func_800C5D04 (u8 playerId)
 
void func_800C5E38 (u8 playerId)
 
void func_800C6108 (u8 playerId)
 
void func_800C64A0 (u8 playerId)
 
void func_800C6758 (u8 playerId)
 
void func_800C683C (u8 cameraId)
 
void func_800C70A8 (u8 playerId)
 
void func_800C76C0 (u8 playerId)
 
void func_800C847C (u8 playerId)
 
void func_800C86D8 (u8 playerId)
 
void func_800C8770 (u8 playerId)
 
void func_800C8920 (void)
 
void func_800C89E4 (void)
 
void func_800C8AE4 (void)
 
void func_800C8C7C (u8 arg0)
 
void func_800C8CCC ()
 
void play_sound2 (s32 soundBits)
 
void func_800C8EAC (u16 arg0)
 
void func_800C8EF8 (u16 arg0)
 
void func_800C8F44 (u8 arg0)
 
void func_800C8F80 (u8 arg0, u32 soundBits)
 
void func_800C9018 (u8 arg0, u32 soundBits)
 
void func_800C9060 (u8 playerId, u32 soundBits)
 
void func_800C90F4 (u8 playerId, u32 soundBits)
 
void func_800C9250 (u8 arg0)
 
void func_800C92CC (u8 playerId, u32 soundBits)
 
void func_800C94A4 (u8 playerId)
 
void func_800C97C4 (u8 arg0)
 
void func_800C98B8 (Vec3f position, Vec3f velocity, u32 soundBits)
 
void func_800C99E0 (Vec3f arg0, s32 soundBits)
 
void func_800C9A88 (u8 playerId)
 
void func_800C9D0C (u8 playerId)
 
void func_800C9D80 (Vec3f position, Vec3f velocity, u32 soundBits)
 
void func_800C9EF4 (Vec3f arg0, u32 soundBits)
 
void func_800C9F90 (u8 arg0)
 
void func_800CA008 (u8 arg0, u8 arg1)
 
void func_800CA0A0 ()
 
void func_800CA0B8 ()
 
void func_800CA0CC ()
 
void func_800CA0E4 (void)
 
void func_800CA118 (u8 arg0)
 
void func_800CA24C (u8 arg0)
 
void func_800CA270 ()
 
void func_800CA288 (u8 arg0, s8 arg1)
 
void func_800CA2B8 (u8 arg0)
 
void func_800CA2E4 (u8 arg0, s8 arg1)
 
void func_800CA30C (u8 arg0)
 
void func_800CA330 (u8 arg0)
 
void func_800CA388 (u8 arg0)
 
void func_800CA414 (u16 arg0, u16 arg1)
 
void func_800CA49C (u8 arg0)
 
void func_800CA59C (u8 playerId)
 
void func_800CA730 (u8 arg0)
 
void func_800CA984 (u8 arg0)
 
void func_800CAACC (u8 playerId)
 
void func_800CAB4C (u8 arg0)
 
void func_800CAC08 ()
 
void func_800CAC60 (UNUSED s32 arg0)
 
void func_800CAD40 (UNUSED s32 arg0)
 
void func_800CADD0 (u8 arg0, f32 arg1)
 
void func_800CAEC4 (u8 playerId, f32 arg1)
 
void func_800CAFC0 (u8 arg0)
 
void func_800CB064 (u8 arg0)
 
void func_800CB134 ()
 
void func_800CB14C ()
 
void func_800CB2C4 ()
 

Variables

s8 D_8018EF10
 
UnkStruct8018EF18 D_8018EF18 [16]
 
struct Unk_8018EFD8 D_8018EFD8 [50]
 
u8 D_8018FB90
 
u8 D_8018FB91
 
CameragCopyCamera [4]
 
Vec3f gVelocityCamera [4]
 
Vec3f gCameraLastPos [4]
 
u8 D_8018FC08
 
s16 D_8018FC10 [4][2]
 
struct Sound sSoundRequests [0x100]
 
struct SoundCharacteristics sSoundBanks [SOUND_BANK_COUNT][20]
 
u8 sSoundBankUsedListBack [SOUND_BANK_COUNT]
 
u8 sSoundBankFreeListFront [SOUND_BANK_COUNT]
 
u8 sNumSoundsInBank [SOUND_BANK_COUNT]
 
u8 D_80192AB8 [SOUND_BANK_COUNT][8][8]
 
u8 D_80192C38
 
ubool8 sSoundBankDisabled [SOUND_BANK_COUNT]
 
struct ChannelVolumeScaleFade D_80192C48 [SOUND_BANK_COUNT]
 
struct_D_80192CA8_entry D_80192CA8 [3][5]
 
u8 D_80192CC6 [3]
 
u32 D_80192CD0 [256]
 
struct_D_801930D0_entry D_801930D0 [3]
 
u8 D_800E9DA0 = 0
 
UNUSED s32 D_800E9DA4 [] = { 0, 0, 0, 0 }
 
s32 D_800E9DB4 [] = { 0, 0, 0, 0 }
 
f32 D_800E9DC4 [] = { 1.0f, 1.0f, 1.0f, 1.0f }
 
f32 D_800E9DD4 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9DE4 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9DF4 [] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }
 
s32 D_800E9E14 [] = { 0, 0, 0, 0 }
 
s32 D_800E9E24 [] = { 0, 0, 0, 0 }
 
s32 D_800E9E34 [] = { 0, 0, 0, 0, 0, 0, 0, 0 }
 
f32 D_800E9E54 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9E64 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
s32 D_800E9E74 [] = { 0, 0, 0, 0 }
 
s32 D_800E9E84 [] = { 0, 0, 0, 0 }
 
u32 D_800E9E94 [] = { 0, 0, 0, 0 }
 
s32 D_800E9EA4 [] = { 0, 0, 0, 0 }
 
f32 D_800E9EB4 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9EC4 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9ED4 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9EE4 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9EF4 [] = { 1.0f, 1.0f, 1.0f, 1.0f }
 
f32 D_800E9F04 [] = { 1.0f, 1.0f, 1.0f, 1.0f }
 
f32 D_800E9F14 [] = { 1.0f, 1.0f, 1.0f, 1.0f }
 
u8 D_800E9F24 [] = { 0, 0, 0, 0, 0, 0, 0, 0 }
 
u8 D_800E9F2C [NUM_PLAYERS] = { 0, 0, 0, 0, 0, 0, 0, 0 }
 
f32 D_800E9F34 [] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800E9F54 [] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }
 
u8 D_800E9F74 [] = { 0, 0, 0, 0 }
 
u8 D_800E9F78 [] = { 0, 0, 0, 0 }
 
struct Unk_800E9F7C D_800E9F7C []
 
struct Unk_800EA06C D_800EA06C []
 
u8 D_800EA0EC [] = { 0, 0, 0, 0 }
 
u8 D_800EA0F0 = 0
 
u8 D_800EA0F4 = 0
 
UNUSED Vec3f D_800EA0F8 = { 0.0f, 0.0f, 1.0f }
 
u8 D_800EA104 = 0
 
u8 D_800EA108 = 0
 
u8 D_800EA10C [] = { 0, 0, 0, 0 }
 
f32 D_800EA110 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800EA120 [] = { 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800EA130 [] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }
 
f32 D_800EA150 = 1.4f
 
u8 D_800EA154 [] = { 2, 2, 88, 90, 3, 48, 88, 48 }
 
u16 D_800EA15C = 0
 
u16 D_800EA160 = 0
 
u8 D_800EA164 = 0
 
s8 D_800EA168 = 0
 
s8 D_800EA16C = 0
 
u8 D_800EA170 [] = { 0, 0, 0, 0 }
 
u16 D_800EA174 = 0
 
f32 D_800EA178 = 1.0f
 
f32 D_800EA17C = 0.85f
 
u16 D_800EA180 = 0
 
u16 D_800EA184 = 0
 
u8 D_800EA188 [][6] = { { 4, 2, 2, 2, 2, 1 }, { 6, 2, 2, 2, 2, 1 }, { 8, 2, 2, 0, 1, 1 }, { 8, 2, 2, 0, 1, 1 } }
 
u8 D_800EA1A0 [][6] = { { 4, 1, 1, 2, 2, 1 }, { 3, 1, 1, 2, 2, 1 }, { 3, 1, 1, 0, 1, 1 }, { 3, 1, 1, 0, 1, 1 } }
 
u8 sSoundRequestCount = 0
 
u8 sNumProcessedSoundRequests = 0
 
u8 D_800EA1C0 = 0
 
u16 D_800EA1C4 = 0
 
Vec3f D_800EA1C8 = { 0.0f, 0.0f, 0.0f }
 
f32 D_800EA1D4 = 1.0f
 
u32 external_unused_u32_0 = 0x00000000
 
u8 D_800EA1DC = 0
 
u32 external_unused_u32_1 = 0x00000000
 
u8 D_800EA1E4 = 0
 
u8 D_800EA1E8 = 0
 
u8 D_800EA1EC = 0
 
u8 D_800EA1F0 [] = { 0, 1, 2, 3 }
 
u8 D_800EA1F4 [] = { 0, 0, 0, 0 }
 
char external_unused_string00 [] = "Error : Queue is not empty ( %x ) \n"
 
char external_unused_string01 [] = "specchg error\n"
 
char external_unused_string02 [] = "***** CAM MAX %d *****\n"
 
u8 D_800EA244 = 0
 
char external_unused_string03 [] = "entryout !!! %d\n"
 
char external_unused_string04 [] = "AFTER GOAL VOICE FLAME %d\n"
 
char external_unused_string05 [] = "*** Pause On ***\n"
 
char external_unused_string06 [] = "*** Pause Off ***\n"
 
char external_unused_string07 [] = "CALLED!! Na_ChangeSoundMode player %d\n"
 
char external_unused_string08 [] = "CALLED!! Na_ChangeSoundMode spec %d\n"
 
char external_unused_string09 [] = "Interfaced Spec Change player %d\n"
 
char external_unused_string10 [] = "Interfaced Spec Change spec %d\n"
 
UNUSED u32 external_unused_u32s [] = { 0xff000000, 0xff000000, 0x00000000 }
 
char external_unused_string11 [] = "FX MIX %d\n"
 
char external_unused_string12 [] = "************** Seq Fadeout ***************\n"
 
char external_unused_string13 [] = "SEQ FADE OUT TIME %d\n"
 

Macro Definition Documentation

◆ AUDIO_LEFT_TYRE

#define AUDIO_LEFT_TYRE   BACK_LEFT

◆ AUDIO_RIGHT_TYRE

#define AUDIO_RIGHT_TYRE   BACK_RIGHT

Function Documentation

◆ audio_reset_session_eu()

void audio_reset_session_eu ( OSMesg presetId)
Here is the call graph for this function:

◆ delete_sound_from_bank()

void delete_sound_from_bank ( u8 bankId,
u8 soundId )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fade_channel_volume_scale()

void fade_channel_volume_scale ( u8 player,
u8 targetScale,
u16 fadeDuration )
Here is the caller graph for this function:

◆ func_800C13F0()

void func_800C13F0 ( void )

◆ func_800C1480()

f32 func_800C1480 ( u8 bank,
u8 soundId )
Here is the caller graph for this function:

◆ func_800C15D0()

s8 func_800C15D0 ( u8 bank,
u8 soundId,
u8 channel )
Here is the caller graph for this function:

◆ func_800C1934()

f32 func_800C1934 ( u8 bank,
u8 soundId )
Here is the caller graph for this function:

◆ func_800C19D0()

void func_800C19D0 ( u8 arg0,
u8 arg1,
u8 arg2 )
Here is the call graph for this function:

◆ func_800C1C88()

struct Unk_8018EFD8 * func_800C1C88 ( u8 arg0,
Vec3f position,
f32 * velocity,
f32 * arg3,
u8 arg4,
u32 soundBits )
Here is the caller graph for this function:

◆ func_800C1DA4()

void func_800C1DA4 ( Camera * arg0,
Vec3s rot,
struct Unk_8018EFD8 * arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C1E2C()

void func_800C1E2C ( Camera * camera,
Vec3f velocity,
struct Unk_8018EFD8 * arg2 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C1F8C()

void func_800C1F8C ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C21E8()

Vec3f * func_800C21E8 ( Vec3f pos,
u32 soundBits )
Here is the caller graph for this function:

◆ func_800C2274()

void func_800C2274 ( u8 player)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C2474()

void func_800C2474 ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C29B4()

void func_800C29B4 ( u8 arg0,
u16 arg1 )
Here is the call graph for this function:

◆ func_800C3448()

void func_800C3448 ( u32 arg0)
Here is the caller graph for this function:

◆ func_800C3478()

void func_800C3478 ( void )
Here is the caller graph for this function:

◆ func_800C3508()

u16 func_800C3508 ( u8 player)
Here is the caller graph for this function:

◆ func_800C357C()

u8 func_800C357C ( s32 arg0)
Here is the caller graph for this function:

◆ func_800C35E8()

void func_800C35E8 ( u8 arg0)
Here is the caller graph for this function:

◆ func_800C3608()

void func_800C3608 ( u8 arg0,
u8 arg1 )
Here is the caller graph for this function:

◆ func_800C36C4()

void func_800C36C4 ( u8 arg0,
u8 arg1,
u8 arg2,
u8 arg3 )
Here is the caller graph for this function:

◆ func_800C3F70()

void func_800C3F70 ( void )
Here is the caller graph for this function:

◆ func_800C400C()

void func_800C400C ( void )
Here is the caller graph for this function:

◆ func_800C4084()

void func_800C4084 ( u16 bankMask)

◆ func_800C40F0()

void func_800C40F0 ( u8 arg0)
Here is the caller graph for this function:

◆ func_800C41CC()

void func_800C41CC ( u8 arg0,
struct SoundCharacteristics * arg1 )
Here is the caller graph for this function:

◆ func_800C5278()

void func_800C5278 ( u8 bankId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C5384()

void func_800C5384 ( u8 arg0,
Vec3f * arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C54B8()

void func_800C54B8 ( u8 arg0,
Vec3f * arg1 )
Here is the call graph for this function:

◆ func_800C550C()

void func_800C550C ( Vec3f * arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C5578()

void func_800C5578 ( Vec3f * arg0,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C56F0()

void func_800C56F0 ( u32 soundBits)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C5848()

void func_800C5848 ( void )
Here is the caller graph for this function:

◆ func_800C5968()

void func_800C5968 ( u8 arg0)
Here is the caller graph for this function:

◆ func_800C59C4()

void func_800C59C4 ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C5BD0()

void func_800C5BD0 ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C5C40()

void func_800C5C40 ( void )
Here is the call graph for this function:

◆ func_800C5CB8()

void func_800C5CB8 ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C5D04()

void func_800C5D04 ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C5E38()

void func_800C5E38 ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C6108()

void func_800C6108 ( u8 playerId)
Here is the caller graph for this function:

◆ func_800C64A0()

void func_800C64A0 ( u8 playerId)
Here is the caller graph for this function:

◆ func_800C6758()

void func_800C6758 ( u8 playerId)
Here is the caller graph for this function:

◆ func_800C683C()

void func_800C683C ( u8 cameraId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C70A8()

void func_800C70A8 ( u8 playerId)
Here is the caller graph for this function:

◆ func_800C76C0()

void func_800C76C0 ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C847C()

void func_800C847C ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C86D8()

void func_800C86D8 ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C8770()

void func_800C8770 ( u8 playerId)
Here is the caller graph for this function:

◆ func_800C8920()

void func_800C8920 ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C89E4()

void func_800C89E4 ( void )
Here is the caller graph for this function:

◆ func_800C8AE4()

void func_800C8AE4 ( void )
Here is the caller graph for this function:

◆ func_800C8C7C()

void func_800C8C7C ( u8 arg0)
Here is the caller graph for this function:

◆ func_800C8CCC()

void func_800C8CCC ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C8EAC()

void func_800C8EAC ( u16 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C8EF8()

void func_800C8EF8 ( u16 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C8F44()

void func_800C8F44 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C8F80()

void func_800C8F80 ( u8 arg0,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9018()

void func_800C9018 ( u8 arg0,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9060()

void func_800C9060 ( u8 playerId,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C90F4()

void func_800C90F4 ( u8 playerId,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9250()

void func_800C9250 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C92CC()

void func_800C92CC ( u8 playerId,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C94A4()

void func_800C94A4 ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C97C4()

void func_800C97C4 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C98B8()

void func_800C98B8 ( Vec3f position,
Vec3f velocity,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C99E0()

void func_800C99E0 ( Vec3f arg0,
s32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9A88()

void func_800C9A88 ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9D0C()

void func_800C9D0C ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9D80()

void func_800C9D80 ( Vec3f position,
Vec3f velocity,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9EF4()

void func_800C9EF4 ( Vec3f arg0,
u32 soundBits )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800C9F90()

void func_800C9F90 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA008()

void func_800CA008 ( u8 arg0,
u8 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA0A0()

void func_800CA0A0 ( )
Here is the caller graph for this function:

◆ func_800CA0B8()

void func_800CA0B8 ( )
Here is the caller graph for this function:

◆ func_800CA0CC()

void func_800CA0CC ( )
Here is the caller graph for this function:

◆ func_800CA0E4()

void func_800CA0E4 ( void )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA118()

void func_800CA118 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA24C()

void func_800CA24C ( u8 arg0)
Here is the caller graph for this function:

◆ func_800CA270()

void func_800CA270 ( )
Here is the caller graph for this function:

◆ func_800CA288()

void func_800CA288 ( u8 arg0,
s8 arg1 )
Here is the caller graph for this function:

◆ func_800CA2B8()

void func_800CA2B8 ( u8 arg0)
Here is the caller graph for this function:

◆ func_800CA2E4()

void func_800CA2E4 ( u8 arg0,
s8 arg1 )
Here is the caller graph for this function:

◆ func_800CA30C()

void func_800CA30C ( u8 arg0)
Here is the caller graph for this function:

◆ func_800CA330()

void func_800CA330 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA388()

void func_800CA388 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA414()

void func_800CA414 ( u16 arg0,
u16 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA49C()

void func_800CA49C ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA59C()

void func_800CA59C ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA730()

void func_800CA730 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CA984()

void func_800CA984 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CAACC()

void func_800CAACC ( u8 playerId)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CAB4C()

void func_800CAB4C ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CAC08()

void func_800CAC08 ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CAC60()

void func_800CAC60 ( UNUSED s32 arg0)
Here is the call graph for this function:

◆ func_800CAD40()

void func_800CAD40 ( UNUSED s32 arg0)
Here is the call graph for this function:

◆ func_800CADD0()

void func_800CADD0 ( u8 arg0,
f32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CAEC4()

void func_800CAEC4 ( u8 playerId,
f32 arg1 )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CAFC0()

void func_800CAFC0 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CB064()

void func_800CB064 ( u8 arg0)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CB134()

void func_800CB134 ( )
Here is the caller graph for this function:

◆ func_800CB14C()

void func_800CB14C ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ func_800CB2C4()

void func_800CB2C4 ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ play_sound()

void play_sound ( u32 soundBits,
Vec3f * position,
u8 cameraId,
f32 * arg3,
f32 * arg4,
s8 * arg5 )
Here is the caller graph for this function:

◆ play_sound2()

void play_sound2 ( s32 soundBits)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sound_init()

void sound_init ( void )
Here is the caller graph for this function:

Variable Documentation

◆ D_800E9DA0

u8 D_800E9DA0 = 0

◆ D_800E9DA4

UNUSED s32 D_800E9DA4[] = { 0, 0, 0, 0 }

◆ D_800E9DB4

s32 D_800E9DB4[] = { 0, 0, 0, 0 }

◆ D_800E9DC4

f32 D_800E9DC4[] = { 1.0f, 1.0f, 1.0f, 1.0f }

◆ D_800E9DD4

f32 D_800E9DD4[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9DE4

f32 D_800E9DE4[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9DF4

f32 D_800E9DF4[] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9E14

s32 D_800E9E14[] = { 0, 0, 0, 0 }

◆ D_800E9E24

s32 D_800E9E24[] = { 0, 0, 0, 0 }

◆ D_800E9E34

s32 D_800E9E34[] = { 0, 0, 0, 0, 0, 0, 0, 0 }

◆ D_800E9E54

f32 D_800E9E54[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9E64

f32 D_800E9E64[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9E74

s32 D_800E9E74[] = { 0, 0, 0, 0 }

◆ D_800E9E84

s32 D_800E9E84[] = { 0, 0, 0, 0 }

◆ D_800E9E94

u32 D_800E9E94[] = { 0, 0, 0, 0 }

◆ D_800E9EA4

s32 D_800E9EA4[] = { 0, 0, 0, 0 }

◆ D_800E9EB4

f32 D_800E9EB4[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9EC4

f32 D_800E9EC4[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9ED4

f32 D_800E9ED4[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9EE4

f32 D_800E9EE4[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9EF4

f32 D_800E9EF4[] = { 1.0f, 1.0f, 1.0f, 1.0f }

◆ D_800E9F04

f32 D_800E9F04[] = { 1.0f, 1.0f, 1.0f, 1.0f }

◆ D_800E9F14

f32 D_800E9F14[] = { 1.0f, 1.0f, 1.0f, 1.0f }

◆ D_800E9F24

u8 D_800E9F24[] = { 0, 0, 0, 0, 0, 0, 0, 0 }

◆ D_800E9F2C

u8 D_800E9F2C[NUM_PLAYERS] = { 0, 0, 0, 0, 0, 0, 0, 0 }

◆ D_800E9F34

f32 D_800E9F34[] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9F54

f32 D_800E9F54[] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800E9F74

u8 D_800E9F74[] = { 0, 0, 0, 0 }

◆ D_800E9F78

u8 D_800E9F78[] = { 0, 0, 0, 0 }

◆ D_800E9F7C

struct Unk_800E9F7C D_800E9F7C[]
Initial value:
= {
{ { 0.0f, 0.0f, 0.0f }, 1.0f, 1.0f, 0, 3800.0f, 3.4f, 0.4f, -1.0f, 0.4f, 1100.0f, 630.0f, 3600.0f, 1.0f },
{ { 0.0f, 0.0f, 0.0f }, 1.0f, 1.0f, 0, 3800.0f, 3.4f, 0.4f, -1.0f, 0.4f, 1100.0f, 630.0f, 3600.0f, 1.0f },
{ { 0.0f, 0.0f, 0.0f }, 1.0f, 1.0f, 0, 3800.0f, 3.4f, 0.4f, -1.0f, 0.4f, 1100.0f, 630.0f, 3600.0f, 1.0f },
{ { 0.0f, 0.0f, 0.0f }, 1.0f, 1.0f, 0, 3800.0f, 3.4f, 0.4f, -1.0f, 0.4f, 1100.0f, 630.0f, 3600.0f, 1.0f }
}

◆ D_800EA06C

struct Unk_800EA06C D_800EA06C[]
Initial value:
= { { { 0.0f, 1.0f, 1.0f }, 0 }, { { 0.0f, 1.0f, 1.0f }, 0 },
{ { 0.0f, 1.0f, 1.0f }, 0 }, { { 0.0f, 1.0f, 1.0f }, 0 },
{ { 0.0f, 1.0f, 1.0f }, 0 }, { { 0.0f, 1.0f, 1.0f }, 0 },
{ { 0.0f, 1.0f, 1.0f }, 0 }, { { 0.0f, 1.0f, 1.0f }, 0 } }

◆ D_800EA0EC

u8 D_800EA0EC[] = { 0, 0, 0, 0 }

◆ D_800EA0F0

u8 D_800EA0F0 = 0

◆ D_800EA0F4

u8 D_800EA0F4 = 0

◆ D_800EA0F8

UNUSED Vec3f D_800EA0F8 = { 0.0f, 0.0f, 1.0f }

◆ D_800EA104

u8 D_800EA104 = 0

◆ D_800EA108

u8 D_800EA108 = 0

◆ D_800EA10C

u8 D_800EA10C[] = { 0, 0, 0, 0 }

◆ D_800EA110

f32 D_800EA110[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800EA120

f32 D_800EA120[] = { 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800EA130

f32 D_800EA130[] = { 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 0.0f }

◆ D_800EA150

f32 D_800EA150 = 1.4f

◆ D_800EA154

u8 D_800EA154[] = { 2, 2, 88, 90, 3, 48, 88, 48 }

◆ D_800EA15C

u16 D_800EA15C = 0

◆ D_800EA160

u16 D_800EA160 = 0

◆ D_800EA164

u8 D_800EA164 = 0

◆ D_800EA168

s8 D_800EA168 = 0

◆ D_800EA16C

s8 D_800EA16C = 0

◆ D_800EA170

u8 D_800EA170[] = { 0, 0, 0, 0 }

◆ D_800EA174

u16 D_800EA174 = 0

◆ D_800EA178

f32 D_800EA178 = 1.0f

◆ D_800EA17C

f32 D_800EA17C = 0.85f

◆ D_800EA180

u16 D_800EA180 = 0

◆ D_800EA184

u16 D_800EA184 = 0

◆ D_800EA188

u8 D_800EA188[][6] = { { 4, 2, 2, 2, 2, 1 }, { 6, 2, 2, 2, 2, 1 }, { 8, 2, 2, 0, 1, 1 }, { 8, 2, 2, 0, 1, 1 } }

◆ D_800EA1A0

u8 D_800EA1A0[][6] = { { 4, 1, 1, 2, 2, 1 }, { 3, 1, 1, 2, 2, 1 }, { 3, 1, 1, 0, 1, 1 }, { 3, 1, 1, 0, 1, 1 } }

◆ D_800EA1C0

u8 D_800EA1C0 = 0

◆ D_800EA1C4

u16 D_800EA1C4 = 0

◆ D_800EA1C8

Vec3f D_800EA1C8 = { 0.0f, 0.0f, 0.0f }

◆ D_800EA1D4

f32 D_800EA1D4 = 1.0f

◆ D_800EA1DC

u8 D_800EA1DC = 0

◆ D_800EA1E4

u8 D_800EA1E4 = 0

◆ D_800EA1E8

u8 D_800EA1E8 = 0

◆ D_800EA1EC

u8 D_800EA1EC = 0

◆ D_800EA1F0

u8 D_800EA1F0[] = { 0, 1, 2, 3 }

◆ D_800EA1F4

u8 D_800EA1F4[] = { 0, 0, 0, 0 }

◆ D_800EA244

u8 D_800EA244 = 0

◆ D_8018EF10

s8 D_8018EF10

◆ D_8018EF18

UnkStruct8018EF18 D_8018EF18[16]

◆ D_8018EFD8

struct Unk_8018EFD8 D_8018EFD8[50]

◆ D_8018FB90

u8 D_8018FB90

◆ D_8018FB91

u8 D_8018FB91

◆ D_8018FC08

u8 D_8018FC08

◆ D_8018FC10

s16 D_8018FC10[4][2]

◆ D_80192AB8

u8 D_80192AB8[SOUND_BANK_COUNT][8][8]

◆ D_80192C38

u8 D_80192C38

◆ D_80192C48

◆ D_80192CA8

struct_D_80192CA8_entry D_80192CA8[3][5]

◆ D_80192CC6

u8 D_80192CC6[3]

◆ D_80192CD0

u32 D_80192CD0[256]

◆ D_801930D0

struct_D_801930D0_entry D_801930D0[3]

◆ external_unused_string00

char external_unused_string00[] = "Error : Queue is not empty ( %x ) \n"

◆ external_unused_string01

char external_unused_string01[] = "specchg error\n"

◆ external_unused_string02

char external_unused_string02[] = "***** CAM MAX %d *****\n"

◆ external_unused_string03

char external_unused_string03[] = "entryout !!! %d\n"

◆ external_unused_string04

char external_unused_string04[] = "AFTER GOAL VOICE FLAME %d\n"

◆ external_unused_string05

char external_unused_string05[] = "*** Pause On ***\n"

◆ external_unused_string06

char external_unused_string06[] = "*** Pause Off ***\n"

◆ external_unused_string07

char external_unused_string07[] = "CALLED!! Na_ChangeSoundMode player %d\n"

◆ external_unused_string08

char external_unused_string08[] = "CALLED!! Na_ChangeSoundMode spec %d\n"

◆ external_unused_string09

char external_unused_string09[] = "Interfaced Spec Change player %d\n"

◆ external_unused_string10

char external_unused_string10[] = "Interfaced Spec Change spec %d\n"

◆ external_unused_string11

char external_unused_string11[] = "FX MIX %d\n"

◆ external_unused_string12

char external_unused_string12[] = "************** Seq Fadeout ***************\n"

◆ external_unused_string13

char external_unused_string13[] = "SEQ FADE OUT TIME %d\n"

◆ external_unused_u32_0

u32 external_unused_u32_0 = 0x00000000

◆ external_unused_u32_1

u32 external_unused_u32_1 = 0x00000000

◆ external_unused_u32s

UNUSED u32 external_unused_u32s[] = { 0xff000000, 0xff000000, 0x00000000 }

◆ gCameraLastPos

Vec3f gCameraLastPos[4]

◆ gCopyCamera

Camera* gCopyCamera[4]

◆ gVelocityCamera

Vec3f gVelocityCamera[4]

◆ sNumProcessedSoundRequests

u8 sNumProcessedSoundRequests = 0

◆ sNumSoundsInBank

u8 sNumSoundsInBank[SOUND_BANK_COUNT]

◆ sSoundBankDisabled

ubool8 sSoundBankDisabled[SOUND_BANK_COUNT]

◆ sSoundBankFreeListFront

u8 sSoundBankFreeListFront[SOUND_BANK_COUNT]

◆ sSoundBanks

struct SoundCharacteristics sSoundBanks[SOUND_BANK_COUNT][20]

◆ sSoundBankUsedListBack

u8 sSoundBankUsedListBack[SOUND_BANK_COUNT]

◆ sSoundRequestCount

u8 sSoundRequestCount = 0

◆ sSoundRequests

struct Sound sSoundRequests[0x100]