X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fclient%2Fmapvoting.qh;h=705d5dfe5c4047e0175c929f6e24f51828fab4d7;hb=HEAD;hp=1c84419482c264b841ab336bf6dd351a88cb6b47;hpb=a014f99742b4ce9131bb4571e52be59a073d1871;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/client/mapvoting.qh b/qcsrc/client/mapvoting.qh index 1c8441948..705d5dfe5 100644 --- a/qcsrc/client/mapvoting.qh +++ b/qcsrc/client/mapvoting.qh @@ -1,14 +1,21 @@ -#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); + +void Cmd_MapVote_MapDownload(int argc); float MapVote_InputEvent(float bInputType, float nPrimary, float nSecondary); void Net_MapVote_Picture(); float mv_active; -#endif +int mv_winner; +float xmin, xmax, ymin, ymax;