Mario Kart 64
|
#include <ultra64.h>
#include <macros.h>
#include "audio/data.h"
#include "audio/internal.h"
#include "audio/seqplayer.h"
#include "audio/load.h"
#include "audio/heap.h"
#include "audio/effects.h"
#include "audio/playback.h"
#include "audio/external.h"
Macros | |
#define | LAYERS_SIZE ARRAY_COUNT(gSequenceLayers) |
Variables | |
char | seqplayer_unused_string00 [] = "Audio:Track:Warning: No Free Notetrack\n" |
char | seqplayer_unused_string01 [] = "SUBTRACK DIM\n" |
char | seqplayer_unused_string02 [] = "Audio:Track: Warning :SUBTRACK had been stolen by other Group.\n" |
char | seqplayer_unused_string03 [] = "SEQID %d,BANKID %d\n" |
char | seqplayer_unused_string04 [] = "ERR:SUBTRACK %d NOT ALLOCATED\n" |
char | seqplayer_unused_string05 [] = "Error:Same List Add\n" |
char | seqplayer_unused_string06 [] = "Macro Level Over Error!\n" |
char | seqplayer_unused_string07 [] = "Macro Level Over Error!\n" |
char | seqplayer_unused_string08 [] = "WARNING: NPRG: cannot change %d\n" |
char | seqplayer_unused_string09 [] = "Audio:Track:NOTE:UNDEFINED NOTE COM. %x\n" |
char | seqplayer_unused_string10 [] = "Audio: Note:Velocity Error %d\n" |
char | seqplayer_unused_string11 [] = "Error: Subtrack no prg.\n" |
char | seqplayer_unused_string12 [] = "ERR %x\n" |
char | seqplayer_unused_string13 [] = "Error: Your assignchannel is stolen.\n" |
char | seqplayer_unused_string14 [] = "Audio:Track :Call Macro Level Over Error!\n" |
char | seqplayer_unused_string15 [] = "Audio:Track :Loops Macro Level Over Error!\n" |
char | seqplayer_unused_string16 [] = "SUB:ERR:BANK %d NOT CACHED.\n" |
char | seqplayer_unused_string17 [] = "SUB:ERR:BANK %d NOT CACHED.\n" |
char | seqplayer_unused_string18 [] = "Audio:Track: CTBLCALL Macro Level Over Error!\n" |
char | seqplayer_unused_string19 [] = "[%2x] \n" |
char | seqplayer_unused_string20 [] = "Err :Sub %x ,address %x:Undefined SubTrack Function %x" |
char | seqplayer_unused_string21 [] = "Disappear Sequence or Bank %d\n" |
char | seqplayer_unused_string22 [] = "Macro Level Over Error!\n" |
char | seqplayer_unused_string23 [] = "Macro Level Over Error!\n" |
char | seqplayer_unused_string24 [] = "Group:Undefine upper C0h command (%x)\n" |
char | seqplayer_unused_string25 [] = "Group:Undefined Command\n" |
#define LAYERS_SIZE ARRAY_COUNT(gSequenceLayers) |
struct SequenceChannel * allocate_sequence_channel | ( | void | ) |
void * audio_list_pop_back | ( | struct AudioListItem * | list | ) |
void audio_list_push_back | ( | struct AudioListItem * | list, |
struct AudioListItem * | item ) |
u8 get_instrument | ( | struct SequenceChannel * | seqChannel, |
u8 | instId, | ||
struct Instrument ** | instOut, | ||
struct AdsrSettings * | adsr ) |
void init_layer_freelist | ( | void | ) |
void init_sequence_player | ( | u32 | player | ) |
void init_sequence_players | ( | void | ) |
u16 m64_read_compressed_u16 | ( | struct M64ScriptState * | state | ) |
s16 m64_read_s16 | ( | struct M64ScriptState * | state | ) |
u8 m64_read_u8 | ( | struct M64ScriptState * | state | ) |
void seq_channel_layer_disable | ( | struct SequenceChannelLayer * | layer | ) |
void seq_channel_layer_free | ( | struct SequenceChannel * | seqChannel, |
s32 | layerIndex ) |
void seq_channel_layer_process_script | ( | struct SequenceChannelLayer * | layer | ) |
s32 seq_channel_set_layer | ( | struct SequenceChannel * | seqChannel, |
s32 | layerIndex ) |
void sequence_channel_disable | ( | struct SequenceChannel * | seqChannel | ) |
void sequence_channel_enable | ( | struct SequencePlayer * | seqPlayer, |
u8 | channelIndex, | ||
void * | script ) |
void sequence_channel_init | ( | struct SequenceChannel * | seqChannel | ) |
void sequence_channel_process_script | ( | struct SequenceChannel * | seqChannel | ) |
void sequence_channel_set_volume | ( | struct SequenceChannel * | seqChannel, |
u8 | volume ) |
void sequence_player_disable | ( | struct SequencePlayer * | seqPlayer | ) |
void sequence_player_disable_channels | ( | struct SequencePlayer * | seqPlayer, |
u16 | channelBits ) |
void sequence_player_init_channels | ( | struct SequencePlayer * | seqPlayer, |
u16 | channelBits ) |
void sequence_player_process_sequence | ( | struct SequencePlayer * | seqPlayer | ) |
void set_instrument | ( | struct SequenceChannel * | seqChannel, |
u8 | instId ) |
char seqplayer_unused_string00[] = "Audio:Track:Warning: No Free Notetrack\n" |
Given that (almost) all of these are format strings, it is highly likely that they are meant to be used in some sort of printf variant. But I don't care to try and figure out which function gets which string(s) So I've place them all here instead. This means some printf stubs have been commented out to avoid duplication of some strings (i.e seqplayer_unused_string00)
char seqplayer_unused_string01[] = "SUBTRACK DIM\n" |
char seqplayer_unused_string02[] = "Audio:Track: Warning :SUBTRACK had been stolen by other Group.\n" |
char seqplayer_unused_string03[] = "SEQID %d,BANKID %d\n" |
char seqplayer_unused_string04[] = "ERR:SUBTRACK %d NOT ALLOCATED\n" |
char seqplayer_unused_string05[] = "Error:Same List Add\n" |
char seqplayer_unused_string06[] = "Macro Level Over Error!\n" |
char seqplayer_unused_string07[] = "Macro Level Over Error!\n" |
char seqplayer_unused_string08[] = "WARNING: NPRG: cannot change %d\n" |
char seqplayer_unused_string09[] = "Audio:Track:NOTE:UNDEFINED NOTE COM. %x\n" |
char seqplayer_unused_string10[] = "Audio: Note:Velocity Error %d\n" |
char seqplayer_unused_string11[] = "Error: Subtrack no prg.\n" |
char seqplayer_unused_string12[] = "ERR %x\n" |
char seqplayer_unused_string13[] = "Error: Your assignchannel is stolen.\n" |
char seqplayer_unused_string14[] = "Audio:Track :Call Macro Level Over Error!\n" |
char seqplayer_unused_string15[] = "Audio:Track :Loops Macro Level Over Error!\n" |
char seqplayer_unused_string16[] = "SUB:ERR:BANK %d NOT CACHED.\n" |
char seqplayer_unused_string17[] = "SUB:ERR:BANK %d NOT CACHED.\n" |
char seqplayer_unused_string18[] = "Audio:Track: CTBLCALL Macro Level Over Error!\n" |
char seqplayer_unused_string19[] = "[%2x] \n" |
char seqplayer_unused_string20[] = "Err :Sub %x ,address %x:Undefined SubTrack Function %x" |
char seqplayer_unused_string21[] = "Disappear Sequence or Bank %d\n" |
char seqplayer_unused_string22[] = "Macro Level Over Error!\n" |
char seqplayer_unused_string23[] = "Macro Level Over Error!\n" |
char seqplayer_unused_string24[] = "Group:Undefine upper C0h command (%x)\n" |
char seqplayer_unused_string25[] = "Group:Undefined Command\n" |