Go to the documentation of this file.
79 if (
level.intermissiontime)
97 if (strstr(
level.changemap,
"*"))
119 level.exitintermission = 1;
124 level.exitintermission = 0;
188 for (
j=0 ;
j<total ;
j++)
190 if (score > sortedscores[
j])
193 for (k=total ; k>
j ; k--)
195 sorted[k] = sorted[k-1];
196 sortedscores[k] = sortedscores[k-1];
199 sortedscores[
j] = score;
206 stringlength = (
int)strlen(
string);
212 for (
i=0 ;
i<total ;
i++)
218 x = (
i>=6) ? 160 : 0;
224 else if (cl_ent == killer)
231 "xv %i yv %i picn %s ",
x+32,
y, tag);
232 j = (
int)strlen(entry);
233 if (stringlength +
j > 1024)
235 strcpy (
string + stringlength, entry);
241 "client %i %i %i %i %i %i ",
242 x,
y, sorted[
i],
cl->resp.score,
cl->ping, (
level.framenum -
cl->resp.enterframe)/600);
243 j = (
int)strlen(entry);
244 if (stringlength +
j > 1024)
246 strcpy (
string + stringlength, entry);
319 "xv 32 yv 8 picn help "
320 "xv 202 yv 12 string2 \"%s\" "
321 "xv 0 yv 24 cstring2 \"%s\" "
322 "xv 0 yv 54 cstring2 \"%s\" "
323 "xv 0 yv 110 cstring2 \"%s\" "
324 "xv 50 yv 164 string2 \" kills goals secrets\" "
325 "xv 50 yv 172 string2 \"%3i/%3i %i/%i %i/%i\" ",
381 int index = 0, cells = 0;
382 int power_armor_type;
409 if (power_armor_type)
416 power_armor_type = 0;;
421 if (power_armor_type && (!index || (
level.framenum & 8) ) )
554 if (!
cl->chase_target)
561 if (
cl->pers.health <= 0 ||
level.intermissiontime ||
cl->showscores)
563 if (
cl->showinventory &&
cl->pers.health > 0)
566 if (
cl->chase_target &&
cl->chase_target->inuse)
gitem_t * FindItem(char *pickup_name)
void Cmd_Score_f(edict_t *ent)
void G_CheckChaseStats(edict_t *ent)
CONST PIXELFORMATDESCRIPTOR int
void Cmd_Help_f(edict_t *ent)
void DeathmatchScoreboard(edict_t *ent)
int PowerArmorType(edict_t *ent)
edict_t * G_Find(edict_t *from, int fieldofs, char *match)
struct gclient_s * client
void(* sound)(edict_t *ent, int channel, int soundindex, float volume, float attenuation, float timeofs)
int ArmorIndex(edict_t *ent)
#define STAT_SELECTED_ITEM
int(* imageindex)(char *name)
void MoveClientToIntermission(edict_t *ent)
int(* soundindex)(char *name)
void respawn(edict_t *ent)
void HelpComputer(edict_t *ent)
void G_SetSpectatorStats(edict_t *ent)
void(* unicast)(edict_t *ent, qboolean reliable)
#define STAT_PICKUP_STRING
float invincible_framenum
gitem_t * GetItemByIndex(int index)
void G_SetStats(edict_t *ent)
void DeathmatchScoreboardMessage(edict_t *ent, edict_t *killer)
void(* WriteString)(char *s)
void BeginIntermission(edict_t *targ)
void Com_sprintf(char *dest, int size, char *fmt,...)
#define STAT_SELECTED_ICON