Xonotic
|
Go to the source code of this file.
Macros | |
#define | LADDER_CNT 10 |
Functions | |
void | GetCvars (entity this, entity store, int f) |
void | GetCvars_handleFloat (entity this, entity store, string thisname, float f,.float field, string name) |
void | GetCvars_handleString (entity this, entity store, string thisname, float f,.string field, string name) |
string | getladder () |
string | getlsmaps () |
string | getmaplist () |
string | getmonsterlist () |
string | getrankings () |
string | getrecords (float page) |
Variables | |
const int | LADDER_FIRSTPOINT = 100 |
const int | LADDER_SIZE = 30 |
float | top_scores [LADDER_SIZE] |
string | top_uids [LADDER_SIZE] |
#define LADDER_CNT 10 |
Definition at line 10 of file getreplies.qh.
Referenced by getladder().
f | -1: cleanup, 0: request, 1: receive |
Definition at line 381 of file getreplies.qc.
References argv(), get_cvars_f, get_cvars_s, GetCvars(), LOG_INFO, MUTATOR_CALLHOOK, and string_null.
Referenced by ClientCommand_sentcvar(), ClientState_detach(), and GetCvars().
void GetCvars_handleFloat | ( | entity | this, |
entity | store, | ||
string | thisname, | ||
float | f, | ||
.float | field, | ||
string | name | ||
) |
Definition at line 341 of file getreplies.qc.
References argv(), stof(), strcat(), and stuffcmd.
void GetCvars_handleString | ( | entity | this, |
entity | store, | ||
string | thisname, | ||
float | f, | ||
.string | field, | ||
string | name | ||
) |
Definition at line 312 of file getreplies.qc.
References argv(), strcat(), strcpy, strfree, and stuffcmd.
Referenced by GetCvars_handleString_Fixup().
string getladder | ( | ) |
Definition at line 71 of file getreplies.qc.
References argv(), count_ordinal(), CTS_RECORD, db_get(), db_put(), floor(), ftos(), g_cts, LADDER_CNT, LADDER_FIRSTPOINT, LADDER_SIZE, MapInfo_ClearTemps(), MapInfo_count, MapInfo_Get_ByID(), MapInfo_Map_bspname, min(), race_readTime(), race_readUID(), RACE_RECORD, ServerProgsDB, stof(), strcat(), TemporaryDB, tokenize_console, top_scores, top_uids, and uid2name().
Referenced by spawnfunc().
string getlsmaps | ( | ) |
Definition at line 253 of file getreplies.qc.
References g_cts, g_race, LSMAPS_MAX, MapInfo_ClearTemps(), MapInfo_count, MapInfo_ForbiddenFlags(), MapInfo_Get_ByID(), MapInfo_Map_bspname, MapInfo_Map_flags, and race_readTime().
Referenced by GameCommand_gametype(), GameTypeVote_SetGametype(), and spawnfunc().
string getmaplist | ( | ) |
Definition at line 233 of file getreplies.qc.
References argv(), autocvar_g_maplist, MapInfo_CheckMap(), MapInfo_ClearTemps(), and tokenize_console.
Referenced by spawnfunc().
string getmonsterlist | ( | ) |
Definition at line 290 of file getreplies.qc.
References FOREACH, and MON_FLAG_HIDDEN.
Referenced by spawnfunc().
string getrankings | ( | ) |
Definition at line 46 of file getreplies.qc.
References count_ordinal(), GetMapname(), MapInfo_ClearTemps(), race_readName(), race_readTime(), strcat(), and TIME_ENCODED_TOSTRING.
Referenced by race_deleteTime(), race_setTime(), and spawnfunc().
const int LADDER_FIRSTPOINT = 100 |
Definition at line 9 of file getreplies.qh.
Referenced by getladder().
const int LADDER_SIZE = 30 |
Definition at line 11 of file getreplies.qh.
Referenced by getladder().
float top_scores[LADDER_SIZE] |
Definition at line 14 of file getreplies.qh.
Referenced by getladder().
string top_uids[LADDER_SIZE] |
Definition at line 13 of file getreplies.qh.
Referenced by getladder().