]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - qcsrc/server/mapvoting.qh
Update default video settings
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / mapvoting.qh
1 #pragma once
2
3 #define autocvar_g_maplist cvar_string("g_maplist")
4 bool autocvar_g_maplist_check_waypoints;
5 int autocvar_g_maplist_index;
6 string autocvar_g_maplist_mostrecent;
7 int autocvar_g_maplist_mostrecent_count;
8 bool autocvar_g_maplist_selectrandom;
9 float autocvar_g_maplist_shuffle;
10 #define autocvar_g_maplist_votable cvar("g_maplist_votable")
11 bool autocvar_g_maplist_votable_abstain;
12 float autocvar_g_maplist_votable_keeptwotime;
13 bool autocvar_g_maplist_votable_nodetail;
14 string autocvar_g_maplist_votable_screenshot_dir;
15 bool autocvar_g_maplist_votable_suggestions;
16 bool autocvar_g_maplist_votable_suggestions_override_mostrecent;
17 float autocvar_g_maplist_votable_timeout;
18 bool autocvar_g_maplist_ignore_sizes;
19 bool autocvar_g_maplist_sizes_count_maxplayers = true;
20 bool autocvar_g_maplist_sizes_count_bots = true;
21 int autocvar_rescan_pending;
22 bool autocvar_sv_vote_gametype;
23 float autocvar_sv_vote_gametype_timeout;
24 string autocvar_sv_vote_gametype_options;
25 float autocvar_sv_vote_gametype_keeptwotime;
26 bool autocvar_sv_vote_gametype_default_current;
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
37 float gametypevote;
38 string getmapname_stored;
39 float mapvote_initialized;