Xonotic
dialog_settings_game_hud.qh File Reference
#include "tab.qh"
#include "../gamesettings.qh"
+ Include dependency graph for dialog_settings_game_hud.qh:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XonoticGameHUDSettingsTab
 

Functions

void HUDSetup_Start (entity me, entity btn)
 
entity makeXonoticGameHUDSettingsTab ()
 
 REGISTER_SETTINGS (HUD, makeXonoticGameHUDSettingsTab())
 

Function Documentation

◆ HUDSetup_Start()

void HUDSetup_Start ( entity  me,
entity  btn 
)

Definition at line 6 of file dialog_settings_game_hudconfirm.qc.

References GAME_CONNECTED, GAME_ISSERVER, gamestatus, and localcmd.

Referenced by HUDSetup_Check_Gamestatus().

7 {
9  localcmd("map _hudsetup\n");
10  else
11  localcmd("togglemenu 0\n");
12 
13  localcmd("_hud_configure 1\n");
14 }
+ Here is the caller graph for this function:

◆ makeXonoticGameHUDSettingsTab()

entity makeXonoticGameHUDSettingsTab ( )

Definition at line 26 of file dialog_settings_game_hud.qc.

References entity(), and NEW.

27 {
28  entity me;
30  me.configureDialog(me);
31  return me;
32 }
#define NEW(cname,...)
Definition: oo.qh:105
entity() spawn
+ Here is the call graph for this function:

◆ REGISTER_SETTINGS()

REGISTER_SETTINGS ( HUD  ,
makeXonoticGameHUDSettingsTab()   
)