Skip to content
Permalink
Browse files

ui: added missing client check on profile creation

  • Loading branch information
rmarquis committed Dec 1, 2019
1 parent 1379f46 commit 2f0580aa88c3985d9e6b82da92c261e5517ebff0
Showing with 8 additions and 2 deletions.
  1. +4 −1 etmain/ui/profile_create.menu
  2. +4 −1 etmain/ui/profile_create_initial.menu
@@ -91,8 +91,11 @@ menuDef {
EDITFIELDLEFT( SUBWINDOW_X+4+32, SUBWINDOW_Y+88, (SUBWINDOW_WIDTH)-8-64, 10, _("Player Alias:"), .2, 8, "ui_profile", 36, 23, _("Enter the alias here that you would like displayed to others on servers") )

// TODO: use FEEDER_LANGUAGES to automatically show available localizations
//MULTI( SUBWINDOW_X+4, SUBWINDOW_Y+112, (SUBWINDOW_WIDTH)-8, 10, _("Language:"), .2, 8, "ui_cl_lang", LEGACY_LANGUAGES, _("Set your desired language") )
#ifdef LEGACY
COMBO( SUBWINDOW_X+4, SUBWINDOW_Y+112, (SUBWINDOW_WIDTH)-8, 10, _("Language:"), .2, 8, "ui_cl_lang", LEGACY_LANGUAGES, none, _("Set your desired language") )
#else
MULTI( SUBWINDOW_X+4, SUBWINDOW_Y+112, (SUBWINDOW_WIDTH)-8, 10, _("Language:"), .2, 8, "ui_cl_lang", LEGACY_LANGUAGES, _("Set your desired language") )
#endif
MULTIACTION( SUBWINDOW_X+4, SUBWINDOW_Y+136, (SUBWINDOW_WIDTH)-8, 10, _("Video Quality:"), .2, 8, "ui_glCustom", cvarFloatList { "Fastest" 3 "Fast" 2 "Normal" 1 "High" 0 }, uiScript update "ui_glCustom", _("Select your initial video settings, these can be changed later via the options menu") )

#ifdef LEGACY
@@ -107,8 +107,11 @@ menuDef {
EDITFIELDLEFT( SUBWINDOW_X+4+32, SUBWINDOW_Y+122, (SUBWINDOW_WIDTH)-8-64, 10, _("Player Alias:"), .2, 8, "ui_profile", 36, 23, _("Enter the alias here that you would like displayed to others on servers") )

// TODO: use FEEDER_LANGUAGES to automatically show available localizations
//MULTI( SUBWINDOW_X+4, SUBWINDOW_Y+146, (SUBWINDOW_WIDTH)-8, 10, _("Language:"), .2, 8, "ui_cl_lang", LEGACY_LANGUAGES, _("Set your desired language") )
#ifdef LEGACY
COMBO( SUBWINDOW_X+4, SUBWINDOW_Y+146, (SUBWINDOW_WIDTH)-8, 10, _("Language:"), .2, 8, "ui_cl_lang", LEGACY_LANGUAGES, none, _("Set your desired language") )
#else
MULTI( SUBWINDOW_X+4, SUBWINDOW_Y+146, (SUBWINDOW_WIDTH)-8, 10, _("Language:"), .2, 8, "ui_cl_lang", LEGACY_LANGUAGES, _("Set your desired language") )
#endif
MULTIACTION( SUBWINDOW_X+4, SUBWINDOW_Y+170, (SUBWINDOW_WIDTH)-8, 10, _("Video Quality:"), .2, 8, "ui_glCustom", cvarFloatList { "Fastest" 3 "Fast" 2 "Normal" 1 "High" 0 }, uiScript update "ui_glCustom", _("Select your initial video settings, these can be changed later via the options menu") )
#ifdef LEGACY
COMBO( SUBWINDOW_X+4, SUBWINDOW_Y+184, (SUBWINDOW_WIDTH)-8, 10, _("Resolution:"), .2, 8, "ui_r_mode", LEGACY_RESOLUTIONS, uiScript glCustom, _("Choose your preferred video resolution, if unsure leave it as the default") )

0 comments on commit 2f0580a

Please sign in to comment.
You can’t perform that action at this time.