Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
Functions | Variables
spawn_sound.c File Reference
#include <ultra64.h>
#include "sm64.h"
#include "engine/behavior_script.h"
#include "object_helpers.h"
#include "audio/external.h"
#include "spawn_sound.h"
#include "object_list_processor.h"

Functions

void exec_anim_sound_state (struct SoundState *soundStates)
 
void create_sound_spawner (s32 soundMagic)
 
void PlaySound (s32 soundMagic)
 
void PlaySound2 (s32 soundMagic)
 
int calc_dist_to_volume_range_1 (f32 distance)
 
int calc_dist_to_volume_range_2 (f32 distance)
 

Variables

voidbhvSoundSpawner
 

Function Documentation

◆ calc_dist_to_volume_range_1()

int calc_dist_to_volume_range_1 ( f32  distance)

◆ calc_dist_to_volume_range_2()

int calc_dist_to_volume_range_2 ( f32  distance)

◆ create_sound_spawner()

void create_sound_spawner ( s32  soundMagic)

◆ exec_anim_sound_state()

void exec_anim_sound_state ( struct SoundState soundStates)

◆ PlaySound()

void PlaySound ( s32  soundMagic)

◆ PlaySound2()

void PlaySound2 ( s32  soundMagic)

Variable Documentation

◆ bhvSoundSpawner

void* bhvSoundSpawner