|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include <common/constants.qh>Go to the source code of this file.
Functions | |
| void | Cmd_MapVote_MapDownload (int argc) |
| void | MapVote_Draw () |
| float | MapVote_InputEvent (float bInputType, float nPrimary, float nSecondary) |
| void | Net_MapVote_Picture () |
| bool | PreviewExists (string name) |
Variables | |
| bool | autocvar_cl_readpicture_force |
| float | autocvar_hud_panel_mapvote_highlight_border = 1 |
| string | autocvar_menu_skin |
| bool | mv_active |
| int | mv_winner |
| float | xmax |
| float | xmin |
| float | ymax |
| float | ymin |
Definition at line 645 of file mapvoting.qc.
References argv(), entity(), ftos(), localcmd(), LOG_INFO, mv_pk3list, mv_preview, PreviewExists(), stof(), and TC.
Referenced by LocalCommand_mv_download(), and MapVote_CheckPK3().
| void MapVote_Draw | ( | ) |
Definition at line 425 of file mapvoting.qc.
References bound(), ceil(), chat_posy, chat_sizey, count_seconds, draw_beginBoldFont, draw_endBoldFont, DRAWFLAG_NORMAL, drawstring, gametypevote, GameTypeVote_DrawGameTypeItem(), gtv_text_size, gtv_text_size_small, hud_fontsize, HUD_GetFontsize(), HUD_GetTableSize_BestItemAR(), HUD_Panel_DrawBg, HUD_Panel_LoadCvars(), HUD_Scale_Disable(), mapvote_chosenmap, MapVote_DrawAbstain(), MapVote_DrawMapItem(), MapVote_DrawMapPicture(), MapVote_DrawSuggester(), MapVote_GridVec(), MapVote_Selection(), max(), min(), mv_abstain, mv_active, mv_columns, mv_entries, mv_num_maps, mv_pics, mv_preview, mv_select_lasttime, mv_selection, mv_suggester, mv_tie_winner, mv_timeout, mv_top2_alpha, mv_top2_time, mv_votes, mv_winner, mv_winner_alpha, mv_winner_time, panel_bg_border, panel_bg_padding, panel_fg_alpha, panel_pos, panel_size, sqrt(), stringwidth, time, vec2, vector, vid_conheight, vid_conwidth, void, xmax, xmin, ymax, and ymin.
| void Net_MapVote_Picture | ( | ) |
Definition at line 1108 of file mapvoting.qc.
References mv_pics, mv_preview, ReadByte(), and strzone().
Referenced by NET_HANDLE().
Definition at line 59 of file mapvoting.qc.
References autocvar_cl_readpicture_force, fexists(), name, and strcat().
Referenced by Cmd_MapVote_MapDownload(), GameTypeVote_ReadOption(), and MapVote_CheckPic().
| bool autocvar_cl_readpicture_force |
Definition at line 5 of file mapvoting.qh.
Referenced by PreviewExists().
| float autocvar_hud_panel_mapvote_highlight_border = 1 |
Definition at line 6 of file mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), and MapVote_DrawMapItem().
| string autocvar_menu_skin |
Definition at line 7 of file mapvoting.qh.
Referenced by GameTypeVote_ReadOption(), and minigame_texture().
| bool mv_active |
Definition at line 19 of file mapvoting.qh.
Referenced by HUD_Minigame_Mouse(), HUD_MinigameMenu(), HUD_MinigameMenu_Open(), HUD_QuickMenu_Forbidden(), HUD_Radar_InputEvent(), HUD_Radar_Mouse(), HUD_WouldShowCursor(), MapVote_Draw(), MapVote_Init(), MapVote_InputEvent(), QuickMenu_InputEvent(), and QuickMenu_Mouse().
| int mv_winner |
Definition at line 20 of file mapvoting.qh.
Referenced by MapVote_Draw(), MapVote_DrawAbstain(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), MapVote_InputEvent(), MapVote_Selection(), and NET_HANDLE().
| float xmax |
Definition at line 21 of file mapvoting.qh.
Referenced by MapVote_Draw().
| float xmin |
Definition at line 21 of file mapvoting.qh.
Referenced by MapVote_Draw().
| float ymax |
Definition at line 21 of file mapvoting.qh.
Referenced by MapVote_Draw().
| float ymin |
Definition at line 21 of file mapvoting.qh.
Referenced by MapVote_Draw().