X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmapvoting.qh;h=390b91304c40b3b55c1556fd0880d7918457483b;hb=b88055b3d2a8bda473630931824c65839d2b139d;hp=c1c27ad5b13640cf39fa69e4be6e19c427bbe98b;hpb=18e2cd311a581f77ba8eb9c5421dd219ff5d760d;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/mapvoting.qh b/qcsrc/client/mapvoting.qh index c1c27ad5b..390b91304 100644 --- a/qcsrc/client/mapvoting.qh +++ b/qcsrc/client/mapvoting.qh @@ -1,16 +1,20 @@ -#ifndef CLIENT_MAPVOTING_H -#define CLIENT_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(); float mv_active; -#endif +float xmin, xmax, ymin, ymax;