mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 21:27:52 -04:00
d01c16f451
* music flava hack toggle * fix hint subtitles not being considered offscreen * music player works * fixes + citadel, maincave, lavatube music * add remaining tracks * fix test * fixes * fix lib
40 lines
951 B
C++
40 lines
951 B
C++
/*!
|
|
* @file ksound.cpp
|
|
* There's not much here. My guess is this was set up as framework to match the kmachine.cpp format,
|
|
* but whoever did the sound didn't use this.
|
|
*/
|
|
|
|
#include "ksound.h"
|
|
#include "kscheme.h"
|
|
#include "kdgo.h"
|
|
#include "game/sound/989snd/ame_handler.h"
|
|
#include "common/common_types.h"
|
|
|
|
/*!
|
|
* Does nothing!
|
|
*/
|
|
void InitSound() {}
|
|
|
|
/*!
|
|
* Does nothing!
|
|
*/
|
|
void ShutdownSound() {}
|
|
|
|
/*!
|
|
* PC port function
|
|
*/
|
|
void set_flava_hack(u64 val) {
|
|
snd::SoundFlavaHack = val;
|
|
}
|
|
|
|
/*!
|
|
* Set up some functions which are somewhat related to sound.
|
|
*/
|
|
void InitSoundScheme() {
|
|
make_function_symbol_from_c("rpc-call", (void*)RpcCall_wrapper);
|
|
make_function_symbol_from_c("rpc-busy?", (void*)RpcBusy);
|
|
make_function_symbol_from_c("test-load-dgo-c", (void*)LoadDGOTest);
|
|
make_stack_arg_function_symbol_from_c("rpc-call", (void*)RpcCall_wrapper);
|
|
make_function_symbol_from_c("pc-sound-set-flava-hack", (void*)set_flava_hack);
|
|
}
|