icculus quake2 doxygen
1.0 dev
|
|
Go to the documentation of this file.
78 if (
level.intermissiontime)
96 if (strstr(
level.changemap,
"*"))
118 level.exitintermission = 1;
123 level.exitintermission = 0;
187 for (
j=0 ;
j<total ;
j++)
189 if (score > sortedscores[
j])
192 for (k=total ; k>
j ; k--)
194 sorted[k] = sorted[k-1];
195 sortedscores[k] = sortedscores[k-1];
198 sortedscores[
j] = score;
205 stringlength = strlen(
string);
211 for (
i=0 ;
i<total ;
i++)
217 x = (
i>=6) ? 160 : 0;
223 else if (cl_ent == killer)
230 "xv %i yv %i picn %s ",
x+32,
y, tag);
232 if (stringlength +
j > 1024)
234 strcpy (
string + stringlength, entry);
240 "client %i %i %i %i %i %i ",
241 x,
y, sorted[
i],
cl->resp.score,
cl->ping, (
level.framenum -
cl->resp.enterframe)/600);
243 if (stringlength +
j > 1024)
245 strcpy (
string + stringlength, entry);
318 "xv 32 yv 8 picn help "
319 "xv 202 yv 12 string2 \"%s\" "
320 "xv 0 yv 24 cstring2 \"%s\" "
321 "xv 0 yv 54 cstring2 \"%s\" "
322 "xv 0 yv 110 cstring2 \"%s\" "
323 "xv 50 yv 164 string2 \" kills goals secrets\" "
324 "xv 50 yv 172 string2 \"%3i/%3i %i/%i %i/%i\" ",
381 int power_armor_type;
410 if (power_armor_type)
417 power_armor_type = 0;;
422 if (power_armor_type && (!index || (
level.framenum & 8) ) )
555 if (!
cl->chase_target)
562 if (
cl->pers.health <= 0 ||
level.intermissiontime ||
cl->showscores)
564 if (
cl->showinventory &&
cl->pers.health > 0)
567 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)
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