Home
last modified time | relevance | path

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

/external/quake/quake/src/QW/server/
Dsv_init.c85 int entnum; in SV_CreateBaseline() local
87 for (entnum = 0; entnum < sv.num_edicts ; entnum++) in SV_CreateBaseline()
89 svent = EDICT_NUM(entnum); in SV_CreateBaseline()
94 if (entnum > MAX_CLIENTS && !svent->v.modelindex) in SV_CreateBaseline()
104 if (entnum > 0 && entnum <= MAX_CLIENTS) in SV_CreateBaseline()
106 svent->baseline.colormap = entnum; in SV_CreateBaseline()
126 MSG_WriteShort (&sv.signon,entnum); in SV_CreateBaseline()
Dpr_cmds.c229 int entnum; in PF_sprint() local
232 entnum = G_EDICTNUM(OFS_PARM0); in PF_sprint()
237 if (entnum < 1 || entnum > MAX_CLIENTS) in PF_sprint()
243 client = &svs.clients[entnum-1]; in PF_sprint()
261 int entnum; in PF_centerprint() local
264 entnum = G_EDICTNUM(OFS_PARM0); in PF_centerprint()
267 if (entnum < 1 || entnum > MAX_CLIENTS) in PF_centerprint()
273 cl = &svs.clients[entnum-1]; in PF_centerprint()
683 int entnum; in PF_stuffcmd() local
687 entnum = G_EDICTNUM(OFS_PARM0); in PF_stuffcmd()
[all …]
/external/quake/quake/src/QW/client/
Dsound.h72 int entnum; // to allow overriding a specific sound member
92 void S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenu…
94 void S_StopSound (int entnum, int entchannel);
109 channel_t *SND_PickChannel(int entnum, int entchannel);
Dsnd_dma.c357 channel_t *SND_PickChannel(int entnum, int entchannel) in SND_PickChannel() argument
369 && channels[ch_idx].entnum == entnum in SND_PickChannel()
377 if (channels[ch_idx].entnum == cl.viewentity && entnum != cl.viewentity && channels[ch_idx].sfx) in SND_PickChannel()
410 if (ch->entnum == cl.viewentity) in SND_Spatialize()
454 void S_StartSound(int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuat… in S_StartSound() argument
474 target_chan = SND_PickChannel(entnum, entchannel); in S_StartSound()
483 target_chan->entnum = entnum; in S_StartSound()
522 void S_StopSound(int entnum, int entchannel) in S_StopSound() argument
528 if (channels[i].entnum == entnum in S_StopSound()
/external/quake/quake/src/WinQuake/
Dsound.h81 int entnum; // to allow overriding a specific sound member
101 void S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenu…
103 void S_StopSound (int entnum, int entchannel);
118 channel_t *SND_PickChannel(int entnum, int entchannel);
Dsnd_dma.cpp361 channel_t *SND_PickChannel(int entnum, int entchannel) in SND_PickChannel() argument
373 && channels[ch_idx].entnum == entnum in SND_PickChannel()
381 if (channels[ch_idx].entnum == cl.viewentity && entnum != cl.viewentity && channels[ch_idx].sfx) in SND_PickChannel()
414 if (ch->entnum == cl.viewentity) in SND_Spatialize()
458 void S_StartSound(int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenuat… in S_StartSound() argument
478 target_chan = SND_PickChannel(entnum, entchannel); in S_StartSound()
487 target_chan->entnum = entnum; in S_StartSound()
526 void S_StopSound(int entnum, int entchannel) in S_StopSound() argument
532 if (channels[i].entnum == entnum in S_StopSound()
Dpr_cmds.cpp294 int entnum; in PF_sprint() local
296 entnum = G_EDICTNUM(OFS_PARM0); in PF_sprint()
299 if (entnum < 1 || entnum > svs.maxclients) in PF_sprint()
305 client = &svs.clients[entnum-1]; in PF_sprint()
325 int entnum; in PF_centerprint() local
327 entnum = G_EDICTNUM(OFS_PARM0); in PF_centerprint()
330 if (entnum < 1 || entnum > svs.maxclients) in PF_centerprint()
336 client = &svs.clients[entnum-1]; in PF_centerprint()
806 int entnum; in PF_stuffcmd() local
810 entnum = G_EDICTNUM(OFS_PARM0); in PF_stuffcmd()
[all …]
Dsnd_null.cpp57 void S_StartSound (int entnum, int entchannel, sfx_t *sfx, vec3_t origin, float fvol, float attenu… in S_StartSound() argument
61 void S_StopSound (int entnum, int entchannel) in S_StopSound() argument
Dsv_main.cpp929 int entnum; in SV_CreateBaseline() local
931 for (entnum = 0; entnum < sv.num_edicts ; entnum++) in SV_CreateBaseline()
934 svent = EDICT_NUM(entnum); in SV_CreateBaseline()
937 if (entnum > svs.maxclients && !svent->u.v.modelindex) in SV_CreateBaseline()
947 if (entnum > 0 && entnum <= svs.maxclients) in SV_CreateBaseline()
949 svent->baseline.colormap = entnum; in SV_CreateBaseline()
963 MSG_WriteShort (&sv.signon,entnum); in SV_CreateBaseline()
Dhost_cmd.cpp577 int entnum; in Host_Loadgame_f() local
656 entnum = -1; // -1 is the globals in Host_Loadgame_f()
681 if (entnum == -1) in Host_Loadgame_f()
688 ent = EDICT_NUM(entnum); in Host_Loadgame_f()
698 entnum++; in Host_Loadgame_f()
701 sv.num_edicts = entnum; in Host_Loadgame_f()
777 int entnum; in LoadGamestate() local
826 fscanf (f, "%i\n",&entnum); in LoadGamestate()
851 ent = EDICT_NUM(entnum); in LoadGamestate()
/external/libmtp/src/
Dptp.c1910 PTPCANONFolderEntry** entries, uint32_t* entnum) in ptp_canon_getobjectinfo() argument
1928 *entnum=ptp.Param1; in ptp_canon_getobjectinfo()
1929 *entries=calloc(*entnum, sizeof(PTPCANONFolderEntry)); in ptp_canon_getobjectinfo()
1931 for(i=0; i<(*entnum); i++) in ptp_canon_getobjectinfo()
Dptp.h2324 uint32_t* entnum);