Home | History | Annotate | Download | only in jni

Lines Matching refs:check

237 	char	*m, **check;
244 // check to see if model was properly precached
245 for (i=0, check = sv.model_precache ; *check ; i++, check++)
246 if (!strcmp(*check, m))
249 if (!*check)
508 char **check;
519 // check to see if samp was properly precached
520 for (soundnum=0, check = sv.sound_precache ; *check ; check++, soundnum++)
521 if (!strcmp(*check,samp))
524 if (!*check)
686 int PF_newcheckclient (int check)
696 if (check < 1)
697 check = 1;
698 if (check > svs.maxclients)
699 check = svs.maxclients;
701 if (check == svs.maxclients)
704 i = check + 1;
713 if (i == check)
760 // find a new check if on a new frame
767 // return check if it might be visible
775 // if current entity can't possibly see the check entity, return 0
1335 edict_t *ent, *check, *bestent;
1365 check = NEXT_EDICT(sv.edicts);
1366 for (i=1 ; i<sv.num_edicts ; i++, check = NEXT_EDICT(check) )
1368 if (check->u.v.takedamage != DAMAGE_AIM)
1370 if (check == ent)
1372 if (teamplay.value && ent->u.v.team > 0 && ent->u.v.team == check->u.v.team)
1375 end[j] = check->u.v.origin[j]
1376 + 0.5*(check->u.v.mins[j] + check->u.v.maxs[j]);
1383 if (tr.ent == check)
1386 bestent = check;