Searched refs:sound_num (Results 1 – 4 of 4) sorted by relevance
/external/quake/quake/src/QW/server/ |
D | sv_send.c | 352 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/ |
D | cl_parse.cpp | 105 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()
|
D | sv_main.cpp | 121 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/ |
D | cl_parse.c | 761 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()
|