Xonotic
|
Go to the source code of this file.
Functions | |
float | DoNextMapOverride (float reinit) |
void | FixIntermissionClient (entity e) |
string | GetGametype () |
string | GetMapname () |
string | GetNextMap () |
string | GotoMap (string m) |
void | GotoNextMap (float reinit) |
void | IntermissionThink (entity this) |
void | Map_Goto (float reinit) |
void | Map_Goto_SetStr (string nextmapname) |
bool | Map_IsRecent (string m) |
void | Map_MarkAsRecent (string m) |
void | ShuffleMaplist () |
Definition at line 312 of file intermission.qc.
References alreadychangedlevel, autocvar_g_campaign, autocvar_lastlevel, autocvar_nextmap, autocvar_quit_and_redirect, autocvar_quit_when_empty, autocvar_samelevel, autocvar_sv_vote_gametype, CampaignPostIntermission(), currentbots, cvar_set(), cvar_settemp_restore(), gametypevote, GameTypeVote_MapInfo_FixName(), localcmd, Map_Goto(), Map_Goto_SetStr(), MapInfo_CheckMap(), player_count, redirection_target, and strzone().
Referenced by GotoFirstMap(), GotoMap(), and MapVote_Think().
Definition at line 453 of file intermission.qc.
References autocvar_sv_intermission_cdtrack, EF_NODRAW, effects, FOREACH_WORD, IS_REAL_CLIENT, MAX_WEAPONSLOTS, msg_entity, MSG_ONE, RandomSelection_AddString, RandomSelection_chosen_string, RandomSelection_Init(), RES_HEALTH, SetResourceExplicit(), stuffcmd, SVC_INTERMISSION, time, weaponentities, and WriteByte().
Referenced by IntermissionThink(), and NextLevel().
string GetGametype | ( | ) |
Definition at line 13 of file intermission.qc.
References MapInfo_LoadedGametype, and MapInfo_Type_ToString().
Referenced by DumpStats(), readlevelcvars(), spawnfunc(), WeaponStats_ready(), WinningConditionHelper(), and write_recordmarker().
string GetMapname | ( | ) |
Definition at line 18 of file intermission.qc.
References mapname.
Referenced by Campaign_Invalid(), checkpoint_passed(), ctf_CaptureRecord(), ctf_Initialize(), DumpStats(), GameCommand_delrec(), GetMaplistPosition(), getrankings(), IntermissionThink(), race_deleteTime(), race_send_recordtime(), race_SendAll(), race_SendRanking(), race_SendTime(), race_setTime(), race_SpeedAwardFrame(), sandbox_Database_Load(), sandbox_Database_Save(), spawnfunc(), trigger_race_checkpoint_verify(), and WeaponStats_ready().
string GetNextMap | ( | ) |
Definition at line 284 of file intermission.qc.
References autocvar_g_maplist_selectrandom, autocvar_g_maplist_shuffle, getmapname_stored, Map_Goto_SetFloat(), Maplist_Init(), MaplistMethod_Iterate(), MaplistMethod_Random(), MaplistMethod_Repeat(), and MaplistMethod_Shuffle().
Referenced by GotoNextMap(), and MapVote_Init().
Definition at line 393 of file intermission.qc.
References alreadychangedlevel, autocvar_sv_vote_gametype, cvar_set(), DoNextMapOverride(), GameTypeVote_MapInfo_FixName(), MapInfo_CheckMap(), and mapvote_initialized.
Referenced by GameCommand_gotomap().
Definition at line 373 of file intermission.qc.
References alreadychangedlevel, error(), GetNextMap(), and Map_Goto().
Referenced by GotoFirstMap(), MapVote_Think(), and SelectSpawnPoint().
Definition at line 423 of file intermission.qc.
References autocvar_sv_autoscreenshot, autoscreenshot, CS_CVAR, FixIntermissionClient(), GetMapname(), intermission_exittime, IS_REAL_CLIENT, mapvote_initialized, MapVote_Start(), PHYS_INPUT_BUTTON_ATCK, PHYS_INPUT_BUTTON_ATCK2, PHYS_INPUT_BUTTON_HOOK, PHYS_INPUT_BUTTON_JUMP, PHYS_INPUT_BUTTON_USE, strftime_s(), stuffcmd, and time.
Referenced by PlayerPreThink(), and PlayerThink().
Definition at line 159 of file intermission.qc.
References getmapname_stored, and MapInfo_LoadMap().
Referenced by DoNextMapOverride(), GotoNextMap(), and MapVote_Finished().
Definition at line 143 of file intermission.qc.
References getmapname_stored, strunzone(), and strzone().
Referenced by DoNextMapOverride(), Map_Goto_SetFloat(), and MapVote_Finished().
Definition at line 113 of file intermission.qc.
References autocvar_g_maplist_mostrecent, and strhasword.
Referenced by Map_Check(), MapVote_Suggest(), and ValidateMap().
Definition at line 108 of file intermission.qc.
References autocvar_g_maplist_mostrecent, autocvar_g_maplist_mostrecent_count, cons(), cvar_set(), max(), and strwords().
Referenced by spawnfunc().
void ShuffleMaplist | ( | ) |
Definition at line 388 of file intermission.qc.
References autocvar_g_maplist, cvar_set(), and shufflewords().
Referenced by GameTypeVote_SetGametype(), GotoFirstMap(), Maplist_Init(), and MapVote_Init().
bool alreadychangedlevel |
Definition at line 11 of file intermission.qh.
Referenced by DoNextMapOverride(), GotoMap(), GotoNextMap(), MapVote_Finished(), and MapVote_Think().
bool autocvar_lastlevel |
Definition at line 3 of file intermission.qh.
Referenced by DoNextMapOverride().
string autocvar_nextmap |
Definition at line 4 of file intermission.qh.
Referenced by DoNextMapOverride(), GameTypeVote_AvailabilityStatus(), MapVote_Finished(), MapVote_SendEntity(), and MapVote_Think().
bool autocvar_samelevel |
Definition at line 5 of file intermission.qh.
Referenced by DoNextMapOverride().
bool autocvar_sv_autoscreenshot |
Definition at line 6 of file intermission.qh.
Referenced by IntermissionThink().
string autocvar_sv_intermission_cdtrack |
Definition at line 7 of file intermission.qh.
Referenced by FixIntermissionClient().
float intermission_exittime |
Definition at line 10 of file intermission.qh.
Referenced by IntermissionThink(), and NextLevel().
bool intermission_running |
Definition at line 9 of file intermission.qh.
Referenced by bot_serverframe(), CheckRules_World(), ClientCommand_mv_getpicture(), ClientCommand_spectate(), FindConnectedComponent(), NextLevel(), PlayerPostThink(), PlayerPreThink(), PlayerThink(), race_SpeedAwardFrame(), ReadyRestart(), and round_handler_Think().