X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmapvoting.qh;h=390b91304c40b3b55c1556fd0880d7918457483b;hb=b88055b3d2a8bda473630931824c65839d2b139d;hp=9c7086efc10d6a0060f691718689aecc42508278;hpb=9c09a961b8674e3a808889d3f34d71855018d3bc;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/mapvoting.qh b/qcsrc/client/mapvoting.qh index 9c7086efc..390b91304 100644 --- a/qcsrc/client/mapvoting.qh +++ b/qcsrc/client/mapvoting.qh @@ -1,14 +1,20 @@ -#ifndef MAPVOTING_H -#define MAPVOTING_H +#pragma once + +#include + +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;