|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "mapvoting.qh"Go to the source code of this file.
Functions | |
| void | Cmd_MapVote_MapDownload (int argc) |
| void | MapVote_CheckPic (string pic, string pk3, int id) |
| float | MapVote_InputEvent (float bInputType, float nPrimary, float nSecondary) |
| bool | PreviewExists (string name) |
Variables | |
| bool | autocvar_cl_readpicture_force |
| float | autocvar_hud_panel_mapvote_highlight_border = 1 |
| string | autocvar_menu_skin |
| bool | gametypevote |
| vector | gtv_text_size |
| vector | gtv_text_size_small |
| bool | mv_active |
| string | mv_chosenmap |
| int | mv_columns |
| string | mv_data [MAPVOTE_COUNT] |
| (shared) map pk3 name/gametype human readable name | |
| string | mv_desc [MAPVOTE_COUNT] |
| (gt) gametype description | |
| int | mv_flags_start [MAPVOTE_COUNT] |
| (gt) mv_flags initially | |
| int | mv_mouse_selection |
| int | mv_ownvote |
| string | mv_pics [MAPVOTE_COUNT] |
| (shared) pic file location | |
| entity | mv_pk3list |
| float | mv_preview [MAPVOTE_COUNT] |
| (shared) whether there is a pic | |
| float | mv_reduce_alpha |
| float | mv_select_lasttime [MAPVOTE_COUNT] |
| int | mv_selection |
| bool | mv_selection_keyboard |
| string | mv_suggester_cache |
| float | mv_suggester_cachetime |
| int | mv_tie_winner |
| float | mv_winner_alpha |
| float | mv_winner_time |
Definition at line 599 of file cl_mapvoting.qc.
References argv(), entity(), ftos(), localcmd(), LOG_INFO, mv_pk3list, mv_preview, PreviewExists(), stoi, and TC.
Referenced by LocalCommand_mv_download(), and MapVote_CheckPK3().
Definition at line 650 of file cl_mapvoting.qc.
References MapVote_CheckPK3(), mv_abstain, mv_count, mv_preview, PreviewExists(), and TC.
Referenced by MapVote_ReadOption().
Definition at line 22 of file cl_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 cl_mapvoting.qh.
Referenced by PreviewExists().
| float autocvar_hud_panel_mapvote_highlight_border = 1 |
Definition at line 6 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), and MapVote_DrawMapItem().
| string autocvar_menu_skin |
Definition at line 7 of file cl_mapvoting.qh.
Referenced by GameTypeVote_ReadOption(), and minigame_texture().
| bool gametypevote |
Definition at line 38 of file cl_mapvoting.qh.
Referenced by DoNextMapOverride(), GameTypeVote_Finished(), GameTypeVote_Start(), MapVote_Draw(), MapVote_Finished(), MapVote_Init_Client(), MapVote_Init_Server(), and MapVote_Suggest().
| vector gtv_text_size |
Definition at line 40 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), and MapVote_Draw().
| vector gtv_text_size_small |
Definition at line 41 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), and MapVote_Draw().
| bool mv_active |
Definition at line 37 of file cl_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_Client(), MapVote_InputEvent(), QuickMenu_InputEvent(), and QuickMenu_Mouse().
| string mv_chosenmap |
Definition at line 39 of file cl_mapvoting.qh.
Referenced by MapVote_Draw(), and MapVote_Init_Client().
| int mv_columns |
Definition at line 33 of file cl_mapvoting.qh.
Referenced by MapVote_Draw(), MapVote_MoveDown(), and MapVote_MoveUp().
| string mv_data[MAPVOTE_COUNT] |
(shared) map pk3 name/gametype human readable name
Definition at line 17 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), GameTypeVote_ReadOption(), and MapVote_ReadOption().
| string mv_desc[MAPVOTE_COUNT] |
(gt) gametype description
Definition at line 20 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), and GameTypeVote_ReadOption().
| int mv_flags_start[MAPVOTE_COUNT] |
(gt) mv_flags initially
Definition at line 21 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), and MapVote_Init_Client().
| int mv_mouse_selection |
Definition at line 34 of file cl_mapvoting.qh.
Referenced by MapVote_InputEvent(), and MapVote_Selection().
| int mv_ownvote |
Definition at line 24 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), MapVote_DrawMapItem(), MapVote_Init_Client(), MapVote_MoveDown(), MapVote_MoveLeft(), MapVote_MoveRight(), MapVote_MoveUp(), MapVote_RGB(), and NET_HANDLE().
| string mv_pics[MAPVOTE_COUNT] |
(shared) pic file location
Definition at line 19 of file cl_mapvoting.qh.
Referenced by GameTypeVote_ReadOption(), MapVote_Draw(), MapVote_ReadOption(), and NET_HANDLE().
| entity mv_pk3list |
Definition at line 23 of file cl_mapvoting.qh.
Referenced by Cmd_MapVote_MapDownload(), MapVote_CheckPK3(), and MapVote_Init_Client().
| float mv_preview[MAPVOTE_COUNT] |
(shared) whether there is a pic
Definition at line 18 of file cl_mapvoting.qh.
Referenced by Cmd_MapVote_MapDownload(), GameTypeVote_ReadOption(), MapVote_CheckPic(), MapVote_Draw(), MapVote_ReadOption(), and NET_HANDLE().
| float mv_reduce_alpha |
Definition at line 26 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), MapVote_Draw(), and MapVote_DrawMapItem().
| float mv_select_lasttime[MAPVOTE_COUNT] |
Definition at line 22 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), MapVote_Draw(), MapVote_DrawMapItem(), MapVote_Init_Client(), and MapVote_RGB().
| int mv_selection |
Definition at line 32 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), MapVote_Draw(), MapVote_DrawMapItem(), MapVote_DrawSuggester(), MapVote_Init_Client(), MapVote_InputEvent(), MapVote_RGB(), and MapVote_Selection().
| bool mv_selection_keyboard |
Definition at line 35 of file cl_mapvoting.qh.
Referenced by MapVote_Init_Client(), MapVote_InputEvent(), and MapVote_Selection().
| string mv_suggester_cache |
Definition at line 29 of file cl_mapvoting.qh.
Referenced by MapVote_DrawSuggester(), and MapVote_Init_Client().
| float mv_suggester_cachetime |
Definition at line 30 of file cl_mapvoting.qh.
Referenced by MapVote_DrawSuggester(), and MapVote_Init_Client().
| int mv_tie_winner |
Definition at line 25 of file cl_mapvoting.qh.
Referenced by GameTypeVote_DrawGameTypeItem(), MapVote_Draw(), MapVote_DrawMapItem(), and NET_HANDLE().
| float mv_winner_alpha |
Definition at line 28 of file cl_mapvoting.qh.
Referenced by MapVote_Draw(), MapVote_DrawAbstain(), and MapVote_DrawMapItem().
| float mv_winner_time |
Definition at line 27 of file cl_mapvoting.qh.
Referenced by MapVote_Draw(), MapVote_Finished(), MapVote_SendEntity(), MapVote_Think(), MapVote_Winner(), and NET_HANDLE().