Skip to content

Commit

Permalink
UI brightness menu improvements and intensity slider support
Browse files Browse the repository at this point in the history
  • Loading branch information
Chomenor committed Dec 2, 2021
1 parent 52703a2 commit b27dc79
Show file tree
Hide file tree
Showing 3 changed files with 270 additions and 167 deletions.
9 changes: 9 additions & 0 deletions code/ui/ui_atoms.c
Original file line number Diff line number Diff line change
Expand Up @@ -2071,6 +2071,7 @@ void UI_LoadMenuText()
menu_normal_text[MNT_BROWSER_MOD] = "MOD";
menu_normal_text[MNT_BROWSER_BOTS] = "BOTS";
menu_normal_text[MNT_BROWSER_SCAN_PROGRESS] = "Scanning %d of %d Servers...";
menu_normal_text[MNT_VIDEO_ADDITIONAL_OPTIONS] = "Additional Options";
menu_normal_text[MNT_VIDEO_LOW_QUALITY] = "LOW QUALITY";
menu_normal_text[MNT_VIDEO_MEDIUM_QUALITY] = "MEDIUM QUALITY";
menu_normal_text[MNT_VIDEO_HIGHEST_QUALITY] = "HIGHEST QUALITY";
Expand All @@ -2097,6 +2098,7 @@ void UI_LoadMenuText()
menu_normal_text[MNT_BROWSER_BOTS_AND_HUMANS] = "BOTS ODER MENSCHEN";
menu_normal_text[MNT_BROWSER_MOD] = "MODIFIKATION";
menu_normal_text[MNT_BROWSER_SCAN_PROGRESS] = "Scannen von %d von %d Servern...";
menu_normal_text[MNT_VIDEO_ADDITIONAL_OPTIONS] = "Zusätzliche Optionen";
menu_normal_text[MNT_VIDEO_LOW_QUALITY] = "GERINGE QUALITÄT";
menu_normal_text[MNT_VIDEO_MEDIUM_QUALITY] = "MITTLERE QUALITÄT";
menu_normal_text[MNT_VIDEO_HIGHEST_QUALITY] = "HÖCHSTE QUALITÄT";
Expand Down Expand Up @@ -2132,6 +2134,7 @@ void UI_LoadMenuText()
menu_normal_text[MNT_BROWSER_BOTS_AND_HUMANS] = "BOTS OU HUMAINS";
menu_normal_text[MNT_BROWSER_MOD] = "MODIF.";
menu_normal_text[MNT_BROWSER_SCAN_PROGRESS] = "Analyse de %d des %d serveurs...";
menu_normal_text[MNT_VIDEO_ADDITIONAL_OPTIONS] = "Options supplémentaires";
menu_normal_text[MNT_VIDEO_LOW_QUALITY] = "BASSE QUALITÉ";
menu_normal_text[MNT_VIDEO_MEDIUM_QUALITY] = "QUALITÉ MOYENNE";
menu_normal_text[MNT_VIDEO_HIGHEST_QUALITY] = "MEILLEURE QUALITÉ";
Expand Down Expand Up @@ -2283,6 +2286,8 @@ void UI_LoadButtonText()
menu_button_text[MBT_VIDEO_LIGHTING_LEVEL][1] = "ADJUST OVERALL LIGHTING INTENSITY";
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][0] = "LIGHTING CONTRAST";
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][1] = "ADJUST MAXIMUM LIGHTING INTENSITY";
menu_button_text[MBT_VIDEO_INTENSITY][0] = "INTENSITY";
menu_button_text[MBT_VIDEO_INTENSITY][1] = "SCALES IMAGE COLORS TO MAKE BRIGHT AREAS BRIGHTER";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][0] = "APPLY";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][1] = "APPLY LIGHTING CHANGES";
menu_button_text[MBT_VIDEO_LIGHTING_RESET][0] = "RESET";
Expand Down Expand Up @@ -2349,6 +2354,8 @@ void UI_LoadButtonText()
menu_button_text[MBT_VIDEO_LIGHTING_LEVEL][1] = "GESAMTLICHTINTENSITÄT EINSTELLEN";
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][0] = "BELEUCHTUNGSKONTRAST";
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][1] = "MAXIMALE BELEUCHTUNGSINTENSITÄT EINSTELLEN";
menu_button_text[MBT_VIDEO_INTENSITY][0] = "INTENSITÄT";
menu_button_text[MBT_VIDEO_INTENSITY][1] = "SKALIERT BILDFARBEN, UM HELLE BEREICHE HELLER ZU MACHEN";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][0] = "ANWENDEN";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][1] = "ÄNDERUNGEN DER BELEUCHTUNG ANWENDEN";
menu_button_text[MBT_VIDEO_LIGHTING_RESET][0] = "ZURÜCKSETZEN";
Expand Down Expand Up @@ -2425,6 +2432,8 @@ void UI_LoadButtonText()
menu_button_text[MBT_VIDEO_LIGHTING_LEVEL][1] = "AJUSTER L'INTENSITÉ DE L'ÉCLAIRAGE GÉNÉRAL";
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][0] = "CONTRASTE D'ÉCLAIRAGE";
menu_button_text[MBT_VIDEO_LIGHTING_CONTRAST][1] = "AJUSTER L'INTENSITÉ MAXIMALE DE L'ÉCLAIRAGE";
menu_button_text[MBT_VIDEO_INTENSITY][0] = "INTENSITÉ";
menu_button_text[MBT_VIDEO_INTENSITY][1] = "RENDRE LES ZONES CLAIRES PLUS LUMINEUSES";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][0] = "APPLIQUER";
menu_button_text[MBT_VIDEO_LIGHTING_APPLY][1] = "APPLIQUER DES CHANGEMENTS D'ÉCLAIRAGE";
menu_button_text[MBT_VIDEO_LIGHTING_RESET][0] = "RÉINITIALISER";
Expand Down
2 changes: 2 additions & 0 deletions code/ui/ui_local.h
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,7 @@ typedef enum
MNT_BROWSER_MOD,
MNT_BROWSER_BOTS,
MNT_BROWSER_SCAN_PROGRESS,
MNT_VIDEO_ADDITIONAL_OPTIONS,
MNT_VIDEO_LOW_QUALITY,
MNT_VIDEO_MEDIUM_QUALITY,
MNT_VIDEO_HIGHEST_QUALITY,
Expand Down Expand Up @@ -946,6 +947,7 @@ typedef enum
MBT_CONTROLS_RAW_MOUSE,
MBT_VIDEO_LIGHTING_LEVEL,
MBT_VIDEO_LIGHTING_CONTRAST,
MBT_VIDEO_INTENSITY,
MBT_VIDEO_LIGHTING_APPLY,
MBT_VIDEO_LIGHTING_RESET,
MBT_VIDEO_RENDERER,
Expand Down
Loading

0 comments on commit b27dc79

Please sign in to comment.