Home
last modified time | relevance | path

Searched refs:sound_num (Results 1 – 4 of 4) sorted by relevance

/external/quake/quake/src/QW/server/
Dsv_send.c352 int sound_num; in SV_StartSound() local
370 for (sound_num=1 ; sound_num<MAX_SOUNDS in SV_StartSound()
371 && sv.sound_precache[sound_num] ; sound_num++) in SV_StartSound()
372 if (!strcmp(sample, sv.sound_precache[sound_num])) in SV_StartSound()
375 if ( sound_num == MAX_SOUNDS || !sv.sound_precache[sound_num] ) in SV_StartSound()
421 MSG_WriteByte (&sv.multicast, sound_num); in SV_StartSound()
/external/quake/quake/src/WinQuake/
Dcl_parse.cpp105 int sound_num; in CL_ParseStartSoundPacket() local
124 sound_num = MSG_ReadByte (); in CL_ParseStartSoundPacket()
135 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket()
700 int sound_num, vol, atten; in CL_ParseStaticSound() local
705 sound_num = MSG_ReadByte (); in CL_ParseStaticSound()
709 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
Dsv_main.cpp121 int sound_num; in SV_StartSound() local
139 for (sound_num=1 ; sound_num<MAX_SOUNDS in SV_StartSound()
140 && sv.sound_precache[sound_num] ; sound_num++) in SV_StartSound()
141 if (!strcmp(sample, sv.sound_precache[sound_num])) in SV_StartSound()
144 if ( sound_num == MAX_SOUNDS || !sv.sound_precache[sound_num] ) in SV_StartSound()
168 MSG_WriteByte (&sv.datagram, sound_num); in SV_StartSound()
/external/quake/quake/src/QW/client/
Dcl_parse.c761 int sound_num, vol, atten; in CL_ParseStaticSound() local
766 sound_num = MSG_ReadByte (); in CL_ParseStaticSound()
770 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
792 int sound_num; in CL_ParseStartSoundPacket() local
809 sound_num = MSG_ReadByte (); in CL_ParseStartSoundPacket()
820 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket()