|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "../panel.qh"Go to the source code of this file.
Functions | |
| void | HUD_Quickmenu_PlayerListEntries (string cmd, int teamplayers, bool without_me) |
| void | QuickMenu_Close () |
| void | QuickMenu_Default (string submenu) |
| bool | QuickMenu_InputEvent (float bInputType, float nPrimary, float nSecondary) |
| bool | QuickMenu_IsOpened () |
| void | QuickMenu_Mouse () |
| bool | QuickMenu_Open (string mode, string submenu, string file) |
| float | QuickMenu_Page_Load (string target_submenu, float new_page) |
Definition at line 803 of file quickmenu.qc.
References cmd(), entcs_GetName(), entity(), myteam, NUM_SPECTATOR, player_localnum, players, QUICKMENU_ENTRY, Scoreboard_UpdatePlayerTeams(), strcat(), TC, and team_count.
Referenced by HUD_Quickmenu_PlayerListEntries_Create().
| void QuickMenu_Close | ( | ) |
Definition at line 263 of file quickmenu.qc.
References mouseClicked, prevMouseClicked, QuickMenu_Buffer_Close(), QuickMenu_CurrentSubMenu, QUICKMENU_MAXLINES, QuickMenu_Page_ClearEntry(), QuickMenu_Page_Entries, and strfree.
Referenced by HUD_QuickMenu(), LocalCommand_hud(), QuickMenu_InputEvent(), QuickMenu_Mouse(), and QuickMenu_Page_Load().
Definition at line 830 of file quickmenu.qc.
References autocvar__hud_panel_quickmenu_file_from_server, CTX(), LOG_INFO, LOG_INFOF, prvm_language, QM_TAG_KCOMMAND, QUICKMENU_BUFFER_MAXENTRIES, QuickMenu_Buffer_Size, QUICKMENU_ENTRY, QUICKMENU_ENTRY_SPECIAL, QUICKMENU_ENTRY_TAG, QUICKMENU_ENTRY_TC, QUICKMENU_SMENU, QUICKMENU_SMENU_PL, spectatee_status, STAT, and teamplay.
Referenced by QuickMenu_Open().
| bool QuickMenu_IsOpened | ( | ) |
Definition at line 291 of file quickmenu.qc.
Referenced by HUD_QuickMenu(), and QuickMenu_InputEvent().
| void QuickMenu_Mouse | ( | ) |
Definition at line 546 of file quickmenu.qc.
References color, drawfill, DRAWFLAG_NORMAL, entry_num_prev, floor(), HUD_PANEL, HUD_Panel_LoadCvars(), hudShiftState, min(), mouseClicked, mousepos, mv_active, panel, panel_bg_padding, panel_pos, panel_size, prevMouseClicked, QuickMenu_Close(), QuickMenu_IsLastPage, QUICKMENU_MAXLINES, QuickMenu_Page_ActivatedEntry_Time, QuickMenu_Page_ActiveEntry(), QuickMenu_Page_Entries, QuickMenu_TimeOut_Set(), S_CTRL, S_MOUSE1, S_MOUSE2, time, vec2, and vector.
Referenced by HUD_Mouse().
Definition at line 107 of file quickmenu.qc.
References argv(), autocvar__hud_panel_quickmenu_file_from_server, autocvar_hud_panel_quickmenu_server_is_default, buf_create, cvar_string(), fclose(), fgets(), FILE_READ, fopen(), ftos(), HUD_QuickMenu_Forbidden(), hudShiftState, LOG_INFO, LOG_INFOF, LOG_WARNF, mouseClicked, QM_TAG_COMMAND, QM_TAG_KCOMMAND, QM_TAG_PLCOMMAND, QM_TAG_SUBMENU, QM_TAG_TITLE, QuickMenu_Buffer, QUICKMENU_BUFFER_MAXENTRIES, QuickMenu_Buffer_Set, QuickMenu_Buffer_Size, QuickMenu_Default(), QUICKMENU_ENTRY_SPECIAL, QuickMenu_Page_Load(), QuickMenu_TimeOut, QuickMenu_TimeOut_Set(), Release_Common_Keys(), strcat(), and tokenize_console.
Referenced by LocalCommand_hud().
| string autocvar__hud_panel_quickmenu_file_from_server |
Definition at line 10 of file quickmenu.qh.
Referenced by QuickMenu_Default(), and QuickMenu_Open().
| float autocvar_hud_panel_quickmenu_align |
Definition at line 5 of file quickmenu.qh.
Referenced by HUD_Quickmenu_DrawEntry().
| string autocvar_hud_panel_quickmenu_file |
Definition at line 7 of file quickmenu.qh.
Referenced by LocalCommand_hud().
| bool autocvar_hud_panel_quickmenu_server_is_default |
Definition at line 9 of file quickmenu.qh.
Referenced by QuickMenu_Open().
| float autocvar_hud_panel_quickmenu_time |
Definition at line 8 of file quickmenu.qh.
Referenced by QuickMenu_TimeOut_Set().
| float autocvar_hud_panel_quickmenu_translatecommands |
Definition at line 6 of file quickmenu.qh.