Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
cl_mapvoting.qh
Go to the documentation of this file.
1#pragma once
2
3#include "mapvoting.qh"
4
7string autocvar_menu_skin; // gametype icons are controlled by the menu skin
8
9bool PreviewExists(string name);
10void MapVote_CheckPic(string pic, string pk3, int id);
11
12void Cmd_MapVote_MapDownload(int argc);
13
14float MapVote_InputEvent(float bInputType, float nPrimary, float nSecondary);
15
16// Globals, beyond those in mapvoting.qh
31
36
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
int mv_columns
void Cmd_MapVote_MapDownload(int argc)
bool mv_selection_keyboard
int mv_tie_winner
int mv_selection
float mv_select_lasttime[MAPVOTE_COUNT]
vector gtv_text_size_small
int mv_flags_start[MAPVOTE_COUNT]
(gt) mv_flags initially
void MapVote_CheckPic(string pic, string pk3, int id)
bool autocvar_cl_readpicture_force
bool PreviewExists(string name)
int mv_mouse_selection
float mv_winner_time
float mv_reduce_alpha
string mv_chosenmap
bool mv_active
float MapVote_InputEvent(float bInputType, float nPrimary, float nSecondary)
float mv_suggester_cachetime
string mv_suggester_cache
string mv_desc[MAPVOTE_COUNT]
(gt) gametype description
entity mv_pk3list
vector gtv_text_size
int mv_ownvote
string mv_data[MAPVOTE_COUNT]
(shared) map pk3 name/gametype human readable name
bool gametypevote
float autocvar_hud_panel_mapvote_highlight_border
string autocvar_menu_skin
float mv_winner_alpha
float mv_preview[MAPVOTE_COUNT]
(shared) whether there is a pic
string mv_pics[MAPVOTE_COUNT]
(shared) pic file location
const int MAPVOTE_COUNT
Max number of votable maps/gametypes.
Definition mapvoting.qh:6
string name
Definition menu.qh:30
vector
Definition self.qh:96