Xonotic
mapvoting.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #define autocvar_g_maplist cvar_string("g_maplist")
10 #define autocvar_g_maplist_votable cvar("g_maplist_votable")
27 
28 // definitions for functions used outside mapvoting.qc
29 void MapVote_Start();
30 void MapVote_Spawn();
31 void MapVote_Think();
32 void MapVote_SendPicture(entity to, int id);
33 float GameTypeVote_Start();
34 float GameTypeVote_Finished(float pos);
35 string GameTypeVote_MapInfo_FixName(string m);
36 
bool autocvar_g_maplist_votable_suggestions
Definition: mapvoting.qh:15
float autocvar_g_maplist_votable_keeptwotime
Definition: mapvoting.qh:12
void MapVote_Think()
Definition: mapvoting.qc:645
void MapVote_SendPicture(entity to, int id)
Definition: mapvoting.qc:258
float autocvar_sv_vote_gametype_timeout
Definition: mapvoting.qh:23
entity() spawn
string autocvar_g_maplist_mostrecent
Definition: mapvoting.qh:6
bool autocvar_sv_vote_gametype_default_current
Definition: mapvoting.qh:26
entity to
Definition: self.qh:96
float gametypevote
Definition: mapvoting.qh:37
string autocvar_g_maplist_votable_screenshot_dir
Definition: mapvoting.qh:14
int autocvar_g_maplist_index
Definition: mapvoting.qh:5
string autocvar_sv_vote_gametype_options
Definition: mapvoting.qh:24
bool autocvar_g_maplist_selectrandom
Definition: mapvoting.qh:8
float GameTypeVote_Finished(float pos)
void MapVote_Start()
Definition: mapvoting.qc:632
bool autocvar_g_maplist_votable_nodetail
Definition: mapvoting.qh:13
float autocvar_g_maplist_votable_timeout
Definition: mapvoting.qh:17
float GameTypeVote_Start()
Definition: mapvoting.qc:773
bool autocvar_g_maplist_check_waypoints
Definition: mapvoting.qh:4
bool autocvar_g_maplist_votable_suggestions_override_mostrecent
Definition: mapvoting.qh:16
float autocvar_sv_vote_gametype_keeptwotime
Definition: mapvoting.qh:25
bool autocvar_g_maplist_votable_abstain
Definition: mapvoting.qh:11
float autocvar_g_maplist_shuffle
Definition: mapvoting.qh:9
float mapvote_initialized
Definition: mapvoting.qh:39
bool autocvar_g_maplist_ignore_sizes
Definition: mapvoting.qh:18
bool autocvar_g_maplist_sizes_count_bots
Definition: mapvoting.qh:20
string getmapname_stored
Definition: mapvoting.qh:38
void MapVote_Spawn()
Definition: mapvoting.qc:407
bool autocvar_g_maplist_sizes_count_maxplayers
Definition: mapvoting.qh:19
string GameTypeVote_MapInfo_FixName(string m)
Definition: mapvoting.qc:95
int autocvar_g_maplist_mostrecent_count
Definition: mapvoting.qh:7
bool autocvar_sv_vote_gametype
Definition: mapvoting.qh:22
int autocvar_rescan_pending
Definition: mapvoting.qh:21