diff options
| author | oy <Tom_Adams@web.de> | 2011-03-27 14:40:15 +0200 |
|---|---|---|
| committer | oy <Tom_Adams@web.de> | 2011-03-27 14:40:15 +0200 |
| commit | 67b026f65fa26d222d4bbce284ca843be4e6f46f (patch) | |
| tree | e7be64bdf9de3d080423f3c767c8fd63805d5320 /src/game/client/components/menus_settings.cpp | |
| parent | edf10b8b13de704e27d9c26a1356cf840552385c (diff) | |
| download | zcatch-67b026f65fa26d222d4bbce284ca843be4e6f46f.tar.gz zcatch-67b026f65fa26d222d4bbce284ca843be4e6f46f.zip | |
added an option to disable ingame HUD. Closes #523
Diffstat (limited to 'src/game/client/components/menus_settings.cpp')
| -rw-r--r-- | src/game/client/components/menus_settings.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/client/components/menus_settings.cpp b/src/game/client/components/menus_settings.cpp index 31b2bf82..07e7e3bc 100644 --- a/src/game/client/components/menus_settings.cpp +++ b/src/game/client/components/menus_settings.cpp @@ -187,6 +187,12 @@ void CMenus::RenderSPPage0(CUIRect MainView) if(DoButton_CheckBox(&g_Config.m_ClAutoswitchWeapons, Localize("Switch weapon on pickup"), g_Config.m_ClAutoswitchWeapons, &Button)) g_Config.m_ClAutoswitchWeapons ^= 1; + // show hud + Left.HSplitTop(5.0f, 0, &Left); + Left.HSplitTop(20.0f, &Button, &Left); + if(DoButton_CheckBox(&g_Config.m_ClShowhud, Localize("Show ingame HUD"), g_Config.m_ClShowhud, &Button)) + g_Config.m_ClShowhud ^= 1; + // name plates Right.HSplitTop(20.0f, &Button, &Right); if(DoButton_CheckBox(&g_Config.m_ClNameplates, Localize("Show name plates"), g_Config.m_ClNameplates, &Button)) |