From 4bae717febcda9abbca009a5a42734f1746c2bfc Mon Sep 17 00:00:00 2001 From: Louvenarde Date: Sat, 14 Aug 2021 14:48:46 +0200 Subject: [PATCH] Colorblind-friendly team colors option (cherry picked from commit 195cfce4e8b5c5fa533fba96f777d82d4ab5157e) --- iw4x/iw4x_00/localizedstrings/iw4x_english.str | 4 ++-- iw4x/iw4x_00/ui_mp/pc_options_game.menu | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/iw4x/iw4x_00/localizedstrings/iw4x_english.str b/iw4x/iw4x_00/localizedstrings/iw4x_english.str index d6ee314..83068c0 100644 --- a/iw4x/iw4x_00/localizedstrings/iw4x_english.str +++ b/iw4x/iw4x_00/localizedstrings/iw4x_english.str @@ -538,8 +538,8 @@ LANG_ENGLISH "Show FPS Labels" REFERENCE MENU_NEWCOLORS LANG_ENGLISH "Use new color codes" -REFERENCE MENU_NEWCOLORS -LANG_ENGLISH "Use new color codes" +REFERENCE MENU_COLORBLIND_MODE +LANG_ENGLISH "Use colorblind-friendly team colors" REFERENCE MENU_CHANGELOG LANG_ENGLISH "Changelog" diff --git a/iw4x/iw4x_00/ui_mp/pc_options_game.menu b/iw4x/iw4x_00/ui_mp/pc_options_game.menu index 5943e53..53e65c1 100644 --- a/iw4x/iw4x_00/ui_mp/pc_options_game.menu +++ b/iw4x/iw4x_00/ui_mp/pc_options_game.menu @@ -76,6 +76,7 @@ menuDef PC_OPTIONS_SECTION_TITLE(MENU_TITLE) PC_OPTIONS_DVARYESNO(0, "@MENU_SHOW_BLOOD", "cg_blood", ;, when(0)) + PC_OPTIONS_DVARYESNO(0, "@MENU_COLORBLIND_MODE", "r_colorBlindTeams", ;, when(0)) PC_OPTIONS_DVARYESNO_RAW(1, "@MENU_NEWCOLORS", "cg_newColors", ;, "@MPUI_DESC_NEWCOLORS", when(0), 1) PC_OPTIONS_SEPERATOR(1)