X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fserver%2Fmapvoting.qh;h=7bc8a84eabcc48a6995271ed59f1a221fe2933ac;hb=2f553b6be14a316d31fe5c35df47c300ce6a1561;hp=31d89f42c6edf851ec13f179ffc12ce87ebbe582;hpb=126111bb9ef1d8979a6b76bcf464f6e19ea1168d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/mapvoting.qh b/qcsrc/server/mapvoting.qh index 31d89f42c..7bc8a84ea 100644 --- a/qcsrc/server/mapvoting.qh +++ b/qcsrc/server/mapvoting.qh @@ -1,5 +1,30 @@ #pragma once +#define autocvar_g_maplist cvar_string("g_maplist") +bool autocvar_g_maplist_check_waypoints; +int autocvar_g_maplist_index; +string autocvar_g_maplist_mostrecent; +int autocvar_g_maplist_mostrecent_count; +bool autocvar_g_maplist_selectrandom; +float autocvar_g_maplist_shuffle; +#define autocvar_g_maplist_votable cvar("g_maplist_votable") +bool autocvar_g_maplist_votable_abstain; +float autocvar_g_maplist_votable_keeptwotime; +bool autocvar_g_maplist_votable_nodetail; +string autocvar_g_maplist_votable_screenshot_dir; +bool autocvar_g_maplist_votable_suggestions; +bool autocvar_g_maplist_votable_suggestions_override_mostrecent; +float autocvar_g_maplist_votable_timeout; +bool autocvar_g_maplist_ignore_sizes; +bool autocvar_g_maplist_sizes_count_maxplayers = true; +bool autocvar_g_maplist_sizes_count_bots = true; +int autocvar_rescan_pending; +bool autocvar_sv_vote_gametype; +float autocvar_sv_vote_gametype_timeout; +string autocvar_sv_vote_gametype_options; +float autocvar_sv_vote_gametype_keeptwotime; +bool autocvar_sv_vote_gametype_default_current; + // definitions for functions used outside mapvoting.qc void MapVote_Start(); void MapVote_Spawn();