|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "getreplies.qh"#include <common/command/_mod.qh>#include <common/constants.qh>#include <common/gametypes/_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 380 of file getreplies.qc.
References argv(), entity(), get_cvars_f, get_cvars_s, GetCvars(), LOG_INFO, MUTATOR_CALLHOOK, Notification_GetCvars(), ReplicateVars(), ReplicateVars_ApplyChange(), strcat(), and string_null.
Referenced by ClientCommand_sentcvar(), ClientState_detach(), GetCvars(), and MUTATOR_HOOKABLE().
| 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 ) |
Definition at line 353 of file getreplies.qc.
References argv(), entity(), name, stof(), strcat(), and stuffcmd.
| 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 ) |
Definition at line 327 of file getreplies.qc.
References entity(), GetCvars_handleString(), name, strcat(), 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 252 of file getreplies.qc.
References cons(), g_cts, g_race, LSMAPS_MAX, MapInfo_ClearTemps(), MapInfo_count, MapInfo_ForbiddenFlags(), MapInfo_Get_ByID(), MapInfo_Map_bspname, MapInfo_Map_flags, race_readTime(), and strcat().
Referenced by GameTypeVote_SetGametype(), and spawnfunc().
| string getmaplist | ( | ) |
Definition at line 233 of file getreplies.qc.
References autocvar_g_maplist, cons(), FOREACH_WORD, MapInfo_CheckMap(), MapInfo_ClearTemps(), and strcat().
Referenced by spawnfunc().
| string getmonsterlist | ( | ) |
Definition at line 289 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(), RANKINGS_CNT, 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 251 of file getreplies.qc.
Referenced by getlsmaps().