Xonotic
|
#include "getreplies.qh"
#include <common/command/_mod.qh>
#include <common/constants.qh>
#include <common/gamemodes/_mod.qh>
#include <common/monsters/_mod.qh>
#include <common/net_linked.qh>
#include <common/notifications/all.qh>
#include <common/playerstats.qh>
#include <common/stats.qh>
#include <common/util.qh>
#include <common/weapons/_all.qh>
#include <common/wepent.qh>
#include <server/intermission.qh>
#include <server/main.qh>
#include <server/mapvoting.qh>
#include <server/mutators/_mod.qh>
#include <server/race.qh>
#include <server/weapons/selection.qh>
#include <server/world.qh>
Go to the source code of this file.
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_handleFloatOnce (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) |
void | GetCvars_handleString_Fixup (entity this, entity store, string thisname, float f,.string field, string name, string(entity, string) func) |
string | getladder () |
string | getlsmaps () |
string | getmaplist () |
string | getmonsterlist () |
string | getrankings () |
string | getrecords (int page) |
Variables | |
const int | LSMAPS_MAX = 250 |
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_handleFloatOnce | ( | entity | this, |
entity | store, | ||
string | thisname, | ||
float | f, | ||
.float | field, | ||
string | name | ||
) |
Definition at line 354 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().
void GetCvars_handleString_Fixup | ( | entity | this, |
entity | store, | ||
string | thisname, | ||
float | f, | ||
.string | field, | ||
string | name, | ||
string(entity, string) | func | ||
) |
Definition at line 328 of file getreplies.qc.
References GetCvars_handleString(), and strcpy.
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().
Definition at line 35 of file getreplies.qc.
References M_ARGV, MapInfo_ClearTemps(), and MUTATOR_CALLHOOK.
Referenced by spawnfunc().
const int LSMAPS_MAX = 250 |
Definition at line 252 of file getreplies.qc.
Referenced by getlsmaps().