Xonotic
|
#include "cl_minigames_hud.qh"
Go to the source code of this file.
Macros | |
#define | FOREACH_MINIGAME_ENTITY(entityvar) |
#define | minigame_cmd(...) minigame_cmd_workaround(0,__VA_ARGS__) |
#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 98 of file cl_minigames.qh.
Referenced by bd_close_editor(), c4_move(), nmm_in_mill(), pp_next_match(), ps_move(), and ttt_next_match().
#define minigame_cmd | ( | ... | ) | minigame_cmd_workaround(0,__VA_ARGS__) |
Definition at line 90 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.
Referenced by bd_close_editor(), c4_move(), nmm_in_mill(), pp_next_match(), ps_move(), and ttt_next_match().
#define minigame_hud_panelarea | ( | pos, | |
mySize, | |||
panelID | |||
) |
Definition at line 26 of file cl_minigames.qh.
#define REGISTER_MINIGAME | ( | name, | |
nicename | |||
) |
Definition at line 108 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().
Definition at line 362 of file cl_minigames.qc.
References cmd(), localcmd, and strcat().
void minigame_drawcolorcodedstring_trunc | ( | float | maxwidth, |
vector | pos, | ||
string | text, | ||
vector | fontsize, | ||
float | theAlpha, | ||
int | drawflags | ||
) |
Definition at line 347 of file cl_minigames.qc.
References drawcolorcodedstring(), and textShortenToWidth().
Referenced by HUD_MinigameMenu_DrawColoredEntry(), and ttt_next_match().
vector minigame_drawcolorcodedstring_wrapped | ( | float | maxwidth, |
vector | pos, | ||
string | text, | ||
vector | fontsize, | ||
float | theAlpha, | ||
int | drawflags, | ||
float | align | ||
) |
Definition at line 321 of file cl_minigames.qc.
References drawcolorcodedstring(), getWrappedLine_remaining, minigame_getWrappedLine(), and vector().
Referenced by c4_move(), nmm_in_mill(), and pp_next_match().
void minigame_drawpic_centered | ( | vector | pos, |
string | texture, | ||
vector | sz, | ||
vector | color, | ||
float | thealpha, | ||
int | drawflags | ||
) |
Definition at line 354 of file cl_minigames.qc.
References drawpic().
Referenced by bd_close_editor(), c4_move(), nmm_in_mill(), pp_next_match(), ps_move(), and ttt_next_match().
void minigame_drawstring_trunc | ( | float | maxwidth, |
vector | pos, | ||
string | text, | ||
vector | fontsize, | ||
vector | color, | ||
float | theAlpha, | ||
int | drawflags | ||
) |
Definition at line 340 of file cl_minigames.qc.
References drawstring(), and textShortenToWidth().
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 302 of file cl_minigames.qc.
References drawstring(), getWrappedLine_remaining, minigame_getWrappedLine(), and vector().
Referenced by ttt_next_match().
Definition at line 16 of file cl_minigames.qc.
References v.
Referenced by bd_close_editor(), c4_move(), nmm_in_mill(), pp_next_match(), ps_move(), and ttt_next_match().
Definition at line 23 of file cl_minigames.qc.
References v.
Referenced by bd_close_editor(), c4_move(), nmm_in_mill(), pp_next_match(), ps_move(), and ttt_next_match().
Definition at line 39 of file cl_minigames.qc.
Definition at line 4 of file cl_minigames.qc.
References BORDER_MULTIPLIER, draw_BorderPicture(), DRAWFLAG_NORMAL, drawpic(), panel, panel_bg_alpha, panel_bg_border, and panel_bg_color.
Referenced by bd_close_editor(), c4_move(), nmm_in_mill(), pp_next_match(), ps_move(), and ttt_next_match().
void minigame_prompt | ( | ) |
Definition at line 374 of file cl_minigames.qc.
References active_minigame, HUD_MinigameMenu_IsOpened(), and HUD_Notify_Push().
Definition at line 49 of file cl_minigames.qc.
References autocvar_menu_skin, minigame_texture_skin(), and precache_pic().
Referenced by bd_close_editor(), c4_move(), HUD_MinigameMenu_ClickCreate(), HUD_MinigameMenu_ClickJoin(), nmm_in_mill(), pp_next_match(), ps_move(), and ttt_next_match().
entity active_minigame |
Definition at line 85 of file cl_minigames.qh.
Referenced by activate_minigame(), bd_close_editor(), c4_move(), ClientCommand_minigame(), ClientDisconnect(), deactivate_minigame(), HUD_Minigame_InputEvent(), HUD_MinigameBoard(), HUD_MinigameHelp(), 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(), nmm_in_mill(), pp_next_match(), ps_move(), Say(), Scoreboard_WouldDraw(), ttt_next_match(), and View_CheckButtonStatus().
float minigame_playerslot |
Definition at line 79 of file cl_minigames.qh.
Referenced by HUD_MinigameMenu_ClickInvite(), minigame_player_entremove(), and NET_HANDLE().
entity minigame_self |
Definition at line 87 of file cl_minigames.qh.
Referenced by activate_minigame(), c4_move(), deactivate_minigame(), NET_HANDLE(), nmm_in_mill(), pp_next_match(), and ttt_next_match().