2023-04-29 16:13:57 -04:00
|
|
|
#include "srpc.h"
|
|
|
|
|
|
|
|
#include <cstring>
|
2023-12-09 18:11:24 -05:00
|
|
|
|
2023-12-07 20:22:54 -05:00
|
|
|
#include "game/sound/sndshim.h"
|
2023-04-29 16:13:57 -04:00
|
|
|
|
|
|
|
// added
|
|
|
|
u32 gMusicFadeHack = 0;
|
|
|
|
MusicTweaks gMusicTweakInfo;
|
|
|
|
s32 gMusicTweak = 0x80;
|
|
|
|
int32_t gSoundEnable = 1;
|
2023-12-07 20:22:54 -05:00
|
|
|
snd::BankHandle gMusic = nullptr;
|
2023-04-29 16:13:57 -04:00
|
|
|
s32 gMusicPause = 0;
|
|
|
|
s32 gSoundInUse = 0;
|
|
|
|
u8 gFPS = 60;
|
|
|
|
u32 gFrameNum = 0;
|
|
|
|
const char* gLanguage = nullptr;
|
|
|
|
|
|
|
|
void srpc_init_globals() {
|
|
|
|
gMusicFadeHack = 0;
|
|
|
|
gSoundEnable = 1;
|
|
|
|
gMusic = 0;
|
|
|
|
gMusicPause = 0;
|
|
|
|
gSoundInUse = 0;
|
|
|
|
memset((void*)&gMusicTweakInfo, 0, sizeof(gMusicTweakInfo));
|
|
|
|
}
|