mirror of
https://github.com/open-goal/jak-project
synced 2026-06-14 14:28:25 -04:00
766b328c97
* Accept player RPC commands in overlord * Remove the .projectile file I use emacs for everything so I don't want it to only look at the goal code. * Fill out most of the unique player structs * Decompile most of ssound.c * Silence some spam * Comment out WaitSema instance * Add a file with definitions for snd_ functions Makes it compile without commenting them out. Maybe it'd be nice to maintain the original API usage in overlord for similarity and shim them to whatever API the player uses. * Make SoundBank statically sized again. Didn't realise this was used in an array. MSVC should be happy again. Not sure what the actual size of these should be. * Fix logic issue * Finish RPC Loader * More RPC_Player * Play RPC command * All the RPC commands added * Call Music/Bank loaders * audio: add almost all `.MUS` and `.SBK` files to build process * Include TWEAKVAL in build output * Load banks and music tweaks * Comment out spam * Sound struct unk -> is music * Also test if empty1.sbk was found For the sake of tests. * Get rid of PC_DEBUG_SOUND_ENABLE Co-authored-by: Tyler Wilding <xtvaser@gmail.com>
12 lines
409 B
C
12 lines
409 B
C
#pragma once
|
|
|
|
#include "isocommon.h"
|
|
|
|
struct SoundBank;
|
|
|
|
s32 LoadISOFileToIOP(FileRecord* file, void* addr, uint32_t length);
|
|
s32 LoadISOFileToEE(FileRecord* file, uint32_t ee_addr, uint32_t length);
|
|
s32 LoadISOFileChunkToEE(FileRecord* file, uint32_t dest_addr, uint32_t length, uint32_t offset);
|
|
void LoadSoundBank(const char* bank_name, SoundBank* bank);
|
|
void LoadMusic(const char* music_name, s32* bank);
|