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

Function xSndUpdate

src/SB/Core/x/xSnd.cpp:236–242  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 if (pVoice->flags & 0x10)
235 {
236 if (pVoice->parentPos != NULL)
237 {
238 pVoice->actualPos = *pVoice->parentPos;
239 }
240 else if (pVoice->parentID != 0)
241 {
242 xEnt* ent = (xEnt*)(pVoice->parentID & 0xfffffffc); // uhh...
243 if (pVoice->flags & 0x800)
244 {
245 pVoice->actualPos = *(xVec3*)(ent);

Callers 12

zCutsceneMgrFinishLoadFunction · 0.85
zCutsceneMgrFinishExitFunction · 0.85
zSaveLoad_TickFunction · 0.85
zSceneExitFunction · 0.85
zSceneResetFunction · 0.85
zGameExitFunction · 0.85
zMenuLoopFunction · 0.85
iSG_mcqa_freadFunction · 0.85
iSG_mcqa_fwriteFunction · 0.85
iCSLoadStepFunction · 0.85
xCutscene_DestroyFunction · 0.85
xSndSuspendFunction · 0.85

Calls 3

update_fadersFunction · 0.85
iSndUpdateFunction · 0.85

Tested by

no test coverage detected