mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Merge pull request #7678 from eghwand/pr_showlocaltimealways_setting
add ui setting for cl_show_local_time_always
This commit is contained in:
commit
f298b28026
|
@ -2492,7 +2492,7 @@ void CMenus::RenderSettingsAppearance(CUIRect MainView)
|
||||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowhud, Localize("Show ingame HUD"), &g_Config.m_ClShowhud, &Section, LineSize);
|
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowhud, Localize("Show ingame HUD"), &g_Config.m_ClShowhud, &Section, LineSize);
|
||||||
|
|
||||||
// Switches of the various normal HUD elements
|
// Switches of the various normal HUD elements
|
||||||
LeftView.HSplitTop(SectionTotalMargin + 5 * LineSize, &Section, &LeftView);
|
LeftView.HSplitTop(SectionTotalMargin + 6 * LineSize, &Section, &LeftView);
|
||||||
Section.Margin(SectionMargin, &Section);
|
Section.Margin(SectionMargin, &Section);
|
||||||
|
|
||||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowhudHealthAmmo, Localize("Show health, shields and ammo"), &g_Config.m_ClShowhudHealthAmmo, &Section, LineSize);
|
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowhudHealthAmmo, Localize("Show health, shields and ammo"), &g_Config.m_ClShowhudHealthAmmo, &Section, LineSize);
|
||||||
|
@ -2500,6 +2500,7 @@ void CMenus::RenderSettingsAppearance(CUIRect MainView)
|
||||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClNameplates, Localize("Show name plates"), &g_Config.m_ClNameplates, &Section, LineSize);
|
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClNameplates, Localize("Show name plates"), &g_Config.m_ClNameplates, &Section, LineSize);
|
||||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowKillMessages, Localize("Show kill messages"), &g_Config.m_ClShowKillMessages, &Section, LineSize);
|
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowKillMessages, Localize("Show kill messages"), &g_Config.m_ClShowKillMessages, &Section, LineSize);
|
||||||
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowhudScore, Localize("Show score"), &g_Config.m_ClShowhudScore, &Section, LineSize);
|
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowhudScore, Localize("Show score"), &g_Config.m_ClShowhudScore, &Section, LineSize);
|
||||||
|
DoButton_CheckBoxAutoVMarginAndSet(&g_Config.m_ClShowLocalTimeAlways, Localize("Show local time always"), &g_Config.m_ClShowLocalTimeAlways, &Section, LineSize);
|
||||||
|
|
||||||
// Settings of the HUD element for votes
|
// Settings of the HUD element for votes
|
||||||
LeftView.HSplitTop(SectionTotalMargin + LineSize, &Section, &LeftView);
|
LeftView.HSplitTop(SectionTotalMargin + LineSize, &Section, &LeftView);
|
||||||
|
|
Loading…
Reference in a new issue