MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / DemoWrite3DSound

Function DemoWrite3DSound

Descent3/demofile.cpp:675–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

673}
674
675void DemoWrite3DSound(int16_t soundidx, uint16_t objnum, int priority, float volume) {
676 cf_WriteByte(Demo_cfp, DT_3D_SOUND);
677 cf_WriteShort(Demo_cfp, objnum);
678 cf_WriteShort(Demo_cfp, soundidx);
679 cf_WriteFloat(Demo_cfp, volume);
680}
681
682void DemoRead3DSound(void) {
683 int objnum;

Callers 12

collide_player_and_wallFunction · 0.85
collide_generic_and_wallFunction · 0.85
osipf_ObjCreateFunction · 0.85
D3W_Play3dSoundFunction · 0.85
do_melee_attackFunction · 0.85
AIUpdateAnimFunction · 0.85
AISeeTargetFunction · 0.85
AINotifyFunction · 0.85
ai_moveFunction · 0.85
ai_fireFunction · 0.85
WBFireBatteryFunction · 0.85
DoObjProdMethod · 0.85

Calls 3

cf_WriteByteFunction · 0.85
cf_WriteShortFunction · 0.85
cf_WriteFloatFunction · 0.85

Tested by

no test coverage detected