-#ifndef MAPVOTING_H
-#define MAPVOTING_H
+#pragma once
+
+#include <common/constants.qh>
+
+bool autocvar_cl_readpicture_force;
+float autocvar_hud_panel_mapvote_highlight_border = 1;
+string autocvar_menu_skin; // gamemode icons are controlled by the menu skin
-#include "../common/constants.qh"
void MapVote_Draw();
-void Cmd_MapVote_MapDownload(float argc);
+bool PreviewExists(string name);
-float MapVote_InputEvent(float bInputType, float nPrimary, float nSecondary);
+void Cmd_MapVote_MapDownload(int argc);
-void Ent_MapVote();
+float MapVote_InputEvent(float bInputType, float nPrimary, float nSecondary);
void Net_MapVote_Picture();
-#endif
+
+float mv_active;
+float xmin, xmax, ymin, ymax;