jak-project/game/kernel/ksound.cpp
water111 19b8bb81c9
Add the STR RPC to overlord and game code (#134)
* work in progress streaming rpc, simple test is working

* actually add the test

* debug windows failure

* windows fix maybe

* windows 2

* use str-load-status

* update types
2020-11-22 12:59:55 -05:00

32 lines
798 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"
/*!
* Does nothing!
*/
void InitSound() {}
/*!
* Does nothing!
*/
void ShutdownSound() {}
/*!
* 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);
// terrible hack!
make_function_symbol_from_c("rpc-call-p1", (void*)RpcCall_wrapper_part1);
make_function_symbol_from_c("rpc-call-p2", (void*)RpcCall_wrapper_part2);
}