Xonotic
|
#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) |
Variables | |
float | autocvar_hud_panel_quickmenu_align |
string | autocvar_hud_panel_quickmenu_file |
float | autocvar_hud_panel_quickmenu_time |
float | autocvar_hud_panel_quickmenu_translatecommands |
Definition at line 761 of file quickmenu.qc.
References entity(), NUM_SPECTATOR, player_localnum, players, QUICKMENU_ENTRY, strcat(), TC, and team_count.
Referenced by HUD_Quickmenu_PlayerListEntries_Create().
void QuickMenu_Close | ( | ) |
Definition at line 216 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 788 of file quickmenu.qc.
References QUICKMENU_BUFFER_MAXENTRIES, QuickMenu_Buffer_Size, and QUICKMENU_SMENU.
Referenced by QuickMenu_Open().
bool QuickMenu_IsOpened | ( | ) |
Definition at line 244 of file quickmenu.qc.
References QuickMenu_Page_Entries.
Referenced by HUD_QuickMenu(), and QuickMenu_InputEvent().
void QuickMenu_Mouse | ( | ) |
Definition at line 497 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 79 of file quickmenu.qc.
References argv(), buf_create, fclose(), fgets(), FILE_READ, fopen(), ftos(), HUD_QuickMenu_Forbidden(), hudShiftState, localcmd, LOG_INFO, LOG_INFOF, LOG_WARNF, mouseClicked, QM_TAG_COMMAND, QM_TAG_PLCOMMAND, QM_TAG_SUBMENU, QM_TAG_TITLE, QuickMenu_Buffer, QUICKMENU_BUFFER_MAXENTRIES, QuickMenu_Buffer_Set, QuickMenu_Buffer_Size, QuickMenu_Default(), QuickMenu_Page_Load(), QuickMenu_TimeOut, QuickMenu_TimeOut_Set(), strcat(), and tokenize_console.
Referenced by LocalCommand_hud().
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().
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.