Home | History | Annotate | Download | only in server

Lines Matching refs:check

166 	char	*m, **check;
173 // check to see if model was properly precached
174 for (i=0, check = sv.model_precache ; *check ; i++, check++)
175 if (!strcmp(*check, m))
178 if (!*check)
425 char **check;
436 // check to see if samp was properly precached
437 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++)
438 if (!strcmp(*check,samp))
441 if (!*check)
563 int PF_newcheckclient (int check)
573 if (check < 1)
574 check = 1;
575 if (check > MAX_CLIENTS)
576 check = MAX_CLIENTS;
578 if (check == MAX_CLIENTS)
581 i = check + 1;
590 if (i == check)
637 // find a new check if on a new frame
644 // return check if it might be visible
652 // if current entity can't possibly see the check entity, return 0
1160 edict_t *ent, *check, *bestent;
1203 check = NEXT_EDICT(sv.edicts);
1204 for (i=1 ; i<sv.num_edicts ; i++, check = NEXT_EDICT(check) )
1206 if (check->v.takedamage != DAMAGE_AIM)
1208 if (check == ent)
1210 if (teamplay.value && ent->v.team > 0 && ent->v.team == check->v.team)
1213 end[j] = check->v.origin[j]
1214 + 0.5*(check->v.mins[j] + check->v.maxs[j]);
1221 if (tr.ent == check)
1224 bestent = check;