Skip to content
Snippets Groups Projects
Commit dcae99a9 authored by Lactozilla's avatar Lactozilla :speech_balloon:
Browse files

Add 'Grayscale' translation

parent 743926e6
No related branches found
No related tags found
2 merge requests!2355fix newer versions of mixerx,!2190ZDoom translations
...@@ -25,6 +25,11 @@ void PaletteRemap_Init(void) ...@@ -25,6 +25,11 @@ void PaletteRemap_Init(void)
remaptable_t *base = PaletteRemap_New(); remaptable_t *base = PaletteRemap_New();
PaletteRemap_SetIdentity(base); PaletteRemap_SetIdentity(base);
PaletteRemap_Add(base); PaletteRemap_Add(base);
remaptable_t *grayscale = PaletteRemap_New();
PaletteRemap_SetIdentity(grayscale);
PaletteRemap_AddDesaturation(grayscale, 0, 255, 0.0, 0.0, 0.0, 1.0, 1.0, 1.0);
R_AddCustomTranslation("Grayscale", PaletteRemap_Add(grayscale));
} }
remaptable_t *PaletteRemap_New(void) remaptable_t *PaletteRemap_New(void)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment