Home
last modified time | relevance | path

Searched refs:sound_precache (Results 1 – 12 of 12) sorted by relevance

/external/quake/quake/src/WinQuake/
Dcl_parse.cpp135 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket()
210 char sound_precache[MAX_SOUNDS][MAX_QPATH]; in CL_ParseServerInfo() local
269 memset (cl.sound_precache, 0, sizeof(cl.sound_precache)); in CL_ParseServerInfo()
280 strcpy (sound_precache[numsounds], str); in CL_ParseServerInfo()
302 cl.sound_precache[i] = S_PrecacheSound (sound_precache[i]); in CL_ParseServerInfo()
709 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
Dsv_main.cpp140 && 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()
215 for (s = sv.sound_precache+1 ; *s ; s++) in SV_SendServerinfo()
1144 sv.sound_precache[0] = pr_strings; in SV_SpawnServer()
Dserver.h55 char *sound_precache[MAX_SOUNDS]; // NULL terminated member
Dclient.h211 struct sfx_s *sound_precache[MAX_SOUNDS]; member
Dpr_cmds.cpp520 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++) in PF_ambientsound()
1081 if (!sv.sound_precache[i]) in PF_precache_sound()
1083 sv.sound_precache[i] = s; in PF_precache_sound()
1086 if (!strcmp(sv.sound_precache[i], s)) in PF_precache_sound()
/external/quake/quake/src/QW/server/
Dsv_send.c371 && 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()
Dpr_cmds.c437 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++) in PF_ambientsound()
906 if (!sv.sound_precache[i]) in PF_precache_sound()
908 sv.sound_precache[i] = s; in PF_precache_sound()
911 if (!strcmp(sv.sound_precache[i], s)) in PF_precache_sound()
Dserver.h56 char *sound_precache[MAX_SOUNDS]; // NULL terminated member
Dsv_init.c349 sv.sound_precache[0] = pr_strings; in SV_SpawnServer()
Dsv_user.c155 for (s = sv.sound_precache+1 + n ; in SV_Soundlist_f()
/external/quake/quake/src/QW/client/
Dcl_parse.c287 cl.sound_precache[i] = S_PrecacheSound (cl.sound_name[i]); in Sound_NextDownload()
770 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
820 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket()
Dclient.h274 struct sfx_s *sound_precache[MAX_SOUNDS]; member