4 #include "../common/constants.qh"
9 string mv_maps[MAPVOTE_COUNT];
10 string mv_pics[MAPVOTE_COUNT];
11 string mv_pk3[MAPVOTE_COUNT];
12 float mv_preview[MAPVOTE_COUNT];
13 float mv_votes[MAPVOTE_COUNT];
14 float mv_avail[MAPVOTE_COUNT];
15 float mv_avail_start[MAPVOTE_COUNT];
27 int mv_mouse_selection;
28 int mv_selection_keyboard;
31 string mapvote_chosenmap;
33 vector gtv_text_size_small;
35 string MapVote_FormatMapItem(int id, string map, float count, float maxwidth, vector fontsize);
37 string GameTypeVote_DescriptionByID(int id);
39 vector MapVote_RGB(int id);
41 void GameTypeVote_DrawGameTypeItem(vector pos, float maxh, float tsize, string gtype, string pic, float count, int id);
43 void MapVote_DrawMapItem(vector pos, float isize, float tsize, string map, string pic, float count, int id);
45 void MapVote_DrawAbstain(vector pos, float isize, float tsize, float count, int id);
47 vector MapVote_GridVec(vector gridspec, int i, int m);
49 float MapVote_Selection(vector topleft, vector cellsize, float rows, float columns);
53 void Cmd_MapVote_MapDownload(float argc);
55 void MapVote_CheckPK3(string pic, string pk3, int id);
57 void MapVote_CheckPic(string pic, string pk3, int id);
59 void MapVote_ReadMask();
61 const int NUM_SSDIRS = 4;
62 string ssdirs[NUM_SSDIRS];
66 void MapVote_SendChoice(float index);
68 int MapVote_MoveLeft(int pos);
69 int MapVote_MoveRight(int pos);
70 int MapVote_MoveUp(int pos);
72 int MapVote_MoveDown(int pos);
74 float MapVote_InputEvent(float bInputType, float nPrimary, float nSecondary);
76 void MapVote_UpdateMask();
78 void MapVote_UpdateVotes();
82 void Net_MapVote_Picture();