/dports/games/libretro-tyrquake/tyrquake-e76477d/common/ |
H A D | cl_parse.c | 193 S_StartSound(ent, channel, cl.sound_precache[sound_num], pos, in CL_ParseStartSoundPacket() 269 char **sound_precache = malloc(sizeof(char*) * MAX_SOUNDS); in CL_ParseServerInfo() local 273 sound_precache[i] = malloc(sizeof(char*) * MAX_QPATH); in CL_ParseServerInfo() 334 memset(cl.sound_precache, 0, sizeof(cl.sound_precache)); in CL_ParseServerInfo() 347 strcpy(sound_precache[numsounds], in); in CL_ParseServerInfo() 372 cl.sound_precache[i] = S_PrecacheSound(sound_precache[i]); in CL_ParseServerInfo() 393 free(sound_precache[i]); in CL_ParseServerInfo() 394 free(sound_precache); in CL_ParseServerInfo() 912 S_StaticSound(cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound() 929 S_StaticSound(cl.sound_precache[sound_num], org, vol, atten); in CL_ParseFitzStaticSound2()
|
/dports/games/tenebrae/tenebrae_0/ |
H A D | cl_parse.c | 136 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket() 211 char sound_precache[MAX_SOUNDS][MAX_QPATH]; in CL_ParseServerInfo() local 275 memset (cl.sound_precache, 0, sizeof(cl.sound_precache)); in CL_ParseServerInfo() 286 strncpy (sound_precache[numsounds], str, sizeof(sound_precache[numsounds])); in CL_ParseServerInfo() 308 cl.sound_precache[i] = S_PrecacheSound (sound_precache[i]); in CL_ParseServerInfo() 802 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
|
H A D | sv_main.c | 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() 215 for (s = sv.sound_precache+1 ; *s ; s++) in SV_SendServerinfo() 1224 sv.sound_precache[0] = pr_strings; in SV_SpawnServer()
|
/dports/games/nehquake/NehQuake-bjp-bin-src.linux/src/ |
H A D | cl_parse.c | 157 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket() 234 char sound_precache[MAX_SOUNDS][MAX_QPATH]; in CL_ParseServerInfo() local 291 memset (cl.sound_precache, 0, sizeof(cl.sound_precache)); in CL_ParseServerInfo() 299 strcpy (sound_precache[numsounds], str); in CL_ParseServerInfo() 326 cl.sound_precache[i] = S_PrecacheSound (sound_precache[i]); in CL_ParseServerInfo() 737 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
|
H A D | sv_main.c | 153 && sv.sound_precache[sound_num] ; sound_num++) in SV_StartSound() 154 if (!strcmp(sample, sv.sound_precache[sound_num])) in SV_StartSound() 157 if ( sound_num == MAX_SOUNDS || !sv.sound_precache[sound_num] ) in SV_StartSound() 247 for (s = sv.sound_precache+1 ; *s ; s++) in SV_SendServerinfo() 1215 sv.sound_precache[0] = pr_strings; in SV_SpawnServer()
|
/dports/games/quakeforge/quakeforge-0.7.2/nq/source/ |
H A D | cl_parse.c | 198 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, in CL_ParseStartSoundPacket() 332 char sound_precache[MAX_SOUNDS][MAX_QPATH]; in CL_ParseServerInfo() local 402 memset (cl.sound_precache, 0, sizeof (cl.sound_precache)); in CL_ParseServerInfo() 411 strcpy (sound_precache[cl.numsounds], str); in CL_ParseServerInfo() 428 cl.sound_precache[i] = S_PrecacheSound (sound_precache[i]); in CL_ParseServerInfo() 812 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
|
/dports/games/vkquake/vkQuake-1.12.2/Quake/ |
H A D | cl_demo.c | 230 for (i=1; cl.sound_precache[i]; i++) //FIXME: might not send any if nosound is set in CL_Record_Serverdata() 231 MSG_WriteString (&net_message, cl.sound_precache[i]->name); in CL_Record_Serverdata() 287 for (idx = 1; idx < MAX_SOUNDS && cl.sound_precache[idx]; idx++) in CL_Record_Prespawn() 288 if (cl.sound_precache[idx] == ss->sfx) in CL_Record_Prespawn()
|
H A D | cl_parse.c | 833 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket() 915 char sound_precache[MAX_SOUNDS][MAX_QPATH]; in CL_ParseServerInfo() local 1035 memset (cl.sound_precache, 0, sizeof(cl.sound_precache)); in CL_ParseServerInfo() 1045 q_strlcpy (sound_precache[numsounds], str, MAX_QPATH); in CL_ParseServerInfo() 1072 cl.sound_precache[i] = S_PrecacheSound (sound_precache[i]); in CL_ParseServerInfo() 1578 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound() 1620 cl.sound_precache[index] = S_PrecacheSound (name); in CL_ParsePrecache()
|
/dports/games/openjk/OpenJK-07675e2/code/cgame/ |
H A D | cg_servercmds.cpp | 152 cgs.sound_precache[ num-CS_SOUNDS] = cgi_S_RegisterSound( str ); in CG_ConfigStringModified() 184 …CG_CaptionText( CG_Argv( 1 ), sound >= 0 && sound < MAX_SOUNDS ? cgs.sound_precache[sound] : NULL_… in CG_CaptionText_f()
|
H A D | cg_event.cpp | 731 if ( cgs.sound_precache[ es->eventParm ] ) in CG_EntityEvent() 733 cgi_S_StartSound (NULL, es->number, CHAN_AUTO, cgs.sound_precache[ es->eventParm ] ); in CG_EntityEvent() 744 if ( cgs.sound_precache[ es->eventParm ] ) { in CG_EntityEvent() 745 cgi_S_StartSound (NULL, cg.snap->ps.clientNum, CHAN_AUTO, cgs.sound_precache[ es->eventParm ] ); in CG_EntityEvent()
|
/dports/games/quake2-source/quake2-r0.16.2/src/client/ |
H A D | cl_parse.c | 193 cl.sound_precache[i] = S_RegisterSound (cl.configstrings[CS_SOUNDS+i]); in CL_RegisterSounds() 575 cl.sound_precache[i-CS_SOUNDS] = S_RegisterSound (cl.configstrings[i]); in CL_ParseConfigString() 656 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 659 S_StartSound (pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|
/dports/games/quake2lnx/quake2-r0.16.2/src/client/ |
H A D | cl_parse.c | 193 cl.sound_precache[i] = S_RegisterSound (cl.configstrings[CS_SOUNDS+i]); in CL_RegisterSounds() 575 cl.sound_precache[i-CS_SOUNDS] = S_RegisterSound (cl.configstrings[i]); in CL_ParseConfigString() 656 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 659 S_StartSound (pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|
/dports/games/openjk/OpenJK-07675e2/codeJK2/cgame/ |
H A D | cg_servercmds.cpp | 205 cgs.sound_precache[ num-CS_SOUNDS] = cgi_S_RegisterSound( str ); in CG_ConfigStringModified() 237 …CG_CaptionText( CG_Argv( 1 ), sound >= 0 && sound < MAX_SOUNDS ? cgs.sound_precache[sound] : NULL_… in CG_CaptionText_f()
|
H A D | cg_event.cpp | 696 if ( cgs.sound_precache[ es->eventParm ] ) in CG_EntityEvent() 698 cgi_S_StartSound (NULL, es->number, CHAN_AUTO, cgs.sound_precache[ es->eventParm ] ); in CG_EntityEvent() 709 if ( cgs.sound_precache[ es->eventParm ] ) { in CG_EntityEvent() 710 cgi_S_StartSound (NULL, cg.snap->ps.clientNum, CHAN_AUTO, cgs.sound_precache[ es->eventParm ] ); in CG_EntityEvent()
|
/dports/games/xonotic/Xonotic/source/qcsrc/common/sounds/ |
H A D | all.qh | 17 FOREACH(Sounds, true, it.sound_precache(it));
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/hexen2/ |
H A D | cl_parse.c | 181 S_StartSound (ent, channel, cl.sound_precache[sound_num], pos, volume/255.0, attenuation); in CL_ParseStartSoundPacket() 256 char sound_precache[MAX_SOUNDS][MAX_QPATH]; in CL_ParseServerInfo() local 332 memset (cl.sound_precache, 0, sizeof(cl.sound_precache)); in CL_ParseServerInfo() 343 q_strlcpy (sound_precache[numsounds], str, MAX_QPATH); in CL_ParseServerInfo() 391 cl.sound_precache[i] = S_PrecacheSound (sound_precache[i]); in CL_ParseServerInfo() 1022 S_StaticSound (cl.sound_precache[sound_num], org, vol, atten); in CL_ParseStaticSound()
|
/dports/games/qudos/QuDos-0.40.1-src/src/client/ |
H A D | cl_parse.c | 187 cl.sound_precache[i] = S_RegisterSound(cl.configstrings[CS_SOUNDS + i]); in CL_RegisterSounds() 538 cl.sound_precache[i - CS_SOUNDS] = S_RegisterSound(cl.configstrings[i]); in CL_ParseConfigString() 609 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 612 S_StartSound(pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|
/dports/games/quake2max/Quake2maX_0.45-src_unix/client/ |
H A D | cl_parse.c | 265 cl.sound_precache[i] = S_RegisterSound (cl.configstrings[CS_SOUNDS+i]); in CL_RegisterSounds() 639 cl.sound_precache[i-CS_SOUNDS] = S_RegisterSound (cl.configstrings[i]); in CL_ParseConfigString() 720 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 723 S_StartSound (pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|
/dports/games/q2p/Q2P-0.2-2006-12-31/client/ |
H A D | cl_parse.c | 201 cl.sound_precache[i] = S_RegisterSound (cl.configstrings[CS_SOUNDS+i]); in CL_RegisterSounds() 575 cl.sound_precache[i-CS_SOUNDS] = S_RegisterSound (cl.configstrings[i]); in CL_ParseConfigString() 656 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 659 S_StartSound (pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|
/dports/games/alienarena/alienarena-7.66/source/client/ |
H A D | cl_parse.c | 248 cl.sound_precache[i] = S_RegisterSound (cl.configstrings[CS_SOUNDS+i]); in CL_RegisterSounds() 697 cl.sound_precache[i-CS_SOUNDS] = S_RegisterSound (cl.configstrings[i]); in CL_ParseConfigString() 780 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 783 S_StartSound (pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|
/dports/games/alienarena-data/alienarena-7.66/source/client/ |
H A D | cl_parse.c | 248 cl.sound_precache[i] = S_RegisterSound (cl.configstrings[CS_SOUNDS+i]); in CL_RegisterSounds() 697 cl.sound_precache[i-CS_SOUNDS] = S_RegisterSound (cl.configstrings[i]); in CL_ParseConfigString() 780 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 783 S_StartSound (pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|
/dports/games/quakeforge/quakeforge-0.7.2/include/ |
H A D | netchan.h | 67 int Net_Log_Init (const char **sound_precache);
|
/dports/games/libretro-tyrquake/tyrquake-e76477d/QW/server/ |
H A D | sv_send.c | 374 && sv.sound_precache[sound_num]; sound_num++) in SV_StartSound() 375 if (!strcmp(sample, sv.sound_precache[sound_num])) in SV_StartSound() 378 if (sound_num == MAX_SOUNDS || !sv.sound_precache[sound_num]) { in SV_StartSound()
|
/dports/games/quakeforge/quakeforge-0.7.2/qw/source/ |
H A D | sv_pr_cpqw.c | 664 && sv.sound_precache[sound_num]; sound_num++) in PF_clientsound() 665 if (!strcmp (sample, sv.sound_precache[sound_num])) in PF_clientsound() 668 if (sound_num == MAX_SOUNDS || !sv.sound_precache[sound_num]) { in PF_clientsound()
|
/dports/games/r1q2/r1q2-8012_5/client/ |
H A D | cl_parse.c | 345 cl.sound_precache[i] = S_RegisterSound (cl.configstrings[CS_SOUNDS+i]); in CL_RegisterSounds() 972 cl.sound_precache[i-CS_SOUNDS] = S_RegisterSound (cl.configstrings[i]); in CL_ParseConfigString() 1089 if (!cl.sound_precache[sound_num]) in CL_ParseStartSoundPacket() 1092 S_StartSound (pos, ent, channel, cl.sound_precache[sound_num], volume, attenuation, ofs); in CL_ParseStartSoundPacket()
|