MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / zEntPlayer_LoadSounds

Function zEntPlayer_LoadSounds

src/SB/Game/zEntPlayer.cpp:8015–8038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8013static S32 g_flg_loaded;
8014
8015void zEntPlayer_LoadSounds()
8016{
8017 U32 bufsize;
8018 void* info;
8019
8020 player_sound_hop_load('SPSB', 2);
8021 g_flg_loaded |= 2;
8022
8023 info = xSTFindAsset(0x791025ac, &bufsize);
8024 if (info != NULL)
8025 {
8026 player_sound_hop_load('SPPA', 2);
8027 g_flg_loaded |= 0x08;
8028 }
8029
8030 info = xSTFindAsset(0xc0e34b23, &bufsize);
8031 if (info != NULL)
8032 {
8033 player_sound_hop_load('SPSC', 2);
8034 g_flg_loaded |= 0x20;
8035 }
8036
8037 zEntPlayer_SNDInit();
8038}
8039
8040void zEntPlayer_UnloadSounds()
8041{

Callers 1

zSceneInitFunction · 0.70

Calls 3

player_sound_hop_loadFunction · 0.70
zEntPlayer_SNDInitFunction · 0.70
xSTFindAssetFunction · 0.50

Tested by

no test coverage detected