|
Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
|
|
#include "cl_minigames_hud.qh"Go to the source code of this file.
Macros | |
| #define | FOREACH_MINIGAME_ENTITY(entityvar) |
| #define | minigame_cmd(...) |
| #define | minigame_hud_fitsqare(pos, mySize) |
| #define | minigame_hud_panelarea(pos, mySize, panelID) |
| #define | REGISTER_MINIGAME(name, nicename) |
Variables | |
| entity | active_minigame |
| float | minigame_playerslot |
| entity | minigame_self |
| #define FOREACH_MINIGAME_ENTITY | ( | entityvar | ) |
Definition at line 101 of file cl_minigames.qh.
Referenced by minigame_show_allspecs().
| #define minigame_cmd | ( | ... | ) |
Definition at line 93 of file cl_minigames.qh.
Referenced by HUD_MinigameMenu_ClickCreate_Entry(), HUD_MinigameMenu_ClickInvite_Entry(), HUD_MinigameMenu_ClickJoin_Entry(), and HUD_MinigameMenu_ClickQuit().
| #define minigame_hud_fitsqare | ( | pos, | |
| mySize ) |
Definition at line 7 of file cl_minigames.qh.
| #define minigame_hud_panelarea | ( | pos, | |
| mySize, | |||
| panelID ) |
Definition at line 26 of file cl_minigames.qh.
| #define REGISTER_MINIGAME | ( | name, | |
| nicename ) |
Definition at line 111 of file cl_minigames.qh.
| void deactivate_minigame | ( | ) |
Definition at line 83 of file cl_minigames.qc.
References active_minigame, auto_close_minigamemenu, entity(), findentity(), HUD_MinigameMenu_Close(), HUD_MinigameMenu_CurrentButton(), minigame_autoclean_entity(), minigame_self, NULL, and owner.
Referenced by activate_minigame(), HUD_MinigameMenu_ClickQuit(), minigame_entremove(), minigame_player_entremove(), and Shutdown().
| void minigame_drawcolorcodedstring_trunc | ( | float | maxwidth, |
| vector | pos, | ||
| string | text, | ||
| vector | fontsize, | ||
| float | theAlpha, | ||
| int | drawflags ) |
Definition at line 392 of file cl_minigames.qc.
References drawcolorcodedstring, stringwidth_colors(), textShortenToWidth(), and vector.
Referenced by HUD_MinigameMenu_DrawColoredEntry().
| vector minigame_drawcolorcodedstring_wrapped | ( | float | maxwidth, |
| vector | pos, | ||
| string | text, | ||
| vector | fontsize, | ||
| float | theAlpha, | ||
| int | drawflags, | ||
| float | align ) |
Definition at line 366 of file cl_minigames.qc.
References drawcolorcodedstring, getWrappedLine_remaining, minigame_getWrappedLine(), stringwidth_colors(), and vector.
Referenced by HUD_MinigameHelp(), and minigame_show_allspecs().
| void minigame_drawpic_centered | ( | vector | pos, |
| string | texture, | ||
| vector | sz, | ||
| vector | color, | ||
| float | thealpha, | ||
| int | drawflags ) |
Definition at line 399 of file cl_minigames.qc.
| void minigame_drawstring_trunc | ( | float | maxwidth, |
| vector | pos, | ||
| string | text, | ||
| vector | fontsize, | ||
| vector | color, | ||
| float | theAlpha, | ||
| int | drawflags ) |
Definition at line 385 of file cl_minigames.qc.
References color, drawstring, stringwidth_nocolors(), textShortenToWidth(), and vector.
Referenced by HUD_MinigameMenu_DrawEntry().
| vector minigame_drawstring_wrapped | ( | float | maxwidth, |
| vector | pos, | ||
| string | text, | ||
| vector | fontsize, | ||
| vector | color, | ||
| float | theAlpha, | ||
| int | drawflags, | ||
| float | align ) |
Definition at line 347 of file cl_minigames.qc.
References color, drawstring, getWrappedLine_remaining, minigame_getWrappedLine(), stringwidth_nocolors(), and vector.
Referenced by minigame_show_allspecs().
Definition at line 16 of file cl_minigames.qc.
References vector.
Definition at line 23 of file cl_minigames.qc.
References vector.
Definition at line 39 of file cl_minigames.qc.
References vector.
Definition at line 31 of file cl_minigames.qc.
References vector.
Definition at line 4 of file cl_minigames.qc.
References BORDER_MULTIPLIER, draw_BorderPicture(), DRAWFLAG_NORMAL, drawpic, panel, panel_bg_alpha, panel_bg_border, panel_bg_color, and vector.
| void minigame_prompt | ( | ) |
Definition at line 419 of file cl_minigames.qc.
References active_minigame, HUD_MinigameMenu_IsOpened(), and HUD_Notify_Push().
Definition at line 249 of file cl_minigames.qc.
References C4_SPECTATOR_TEAM, ColorTranslateRGB(), DRAWFLAG_NORMAL, entcs_GetName(), entity(), FOREACH_MINIGAME_ENTITY, hud_fontsize, minigame_drawcolorcodedstring_wrapped(), minigame_drawstring_wrapped(), panel_bg_border, panel_fg_alpha, strcat(), stringwidth, stringwidth_colors(), textShortenToWidth(), and vector.
Definition at line 49 of file cl_minigames.qc.
References autocvar_menu_skin, minigame_texture_skin(), name, and precache_pic().
Referenced by HUD_MinigameMenu_ClickCreate(), HUD_MinigameMenu_ClickJoin(), and HUD_MinigameMenu_CurrentButton().
| entity active_minigame |
Definition at line 88 of file cl_minigames.qh.
Referenced by activate_minigame(), ChatBubbleThink(), ClientCommand_minigame(), ClientDisconnect(), deactivate_minigame(), HUD_Minigame_InputEvent(), HUD_MinigameBoard(), HUD_MinigameHelp(), HUD_MinigameMenu_ClickCurrentGame(), HUD_MinigameMenu_ClickCustomEntry(), HUD_MinigameMenu_ClickJoin(), HUD_MinigameMenu_CurrentButton(), HUD_MinigameStatus(), HUD_Panel_Draw(), invite_minigame(), minigame_addplayer(), minigame_entremove(), minigame_find_player(), minigame_player_entremove(), minigame_prompt(), MinigameImpulse(), NET_HANDLE(), Say(), Scoreboard_WouldDraw(), and View_CheckButtonStatus().
| float minigame_playerslot |
Definition at line 82 of file cl_minigames.qh.
Referenced by HUD_MinigameMenu_ClickInvite(), minigame_player_entremove(), and NET_HANDLE().
| entity minigame_self |
Definition at line 90 of file cl_minigames.qh.
Referenced by activate_minigame(), deactivate_minigame(), and NET_HANDLE().