Exported all OpenGL menu options into the LANGUAGE lump.

This commit is contained in:
nashmuhandes 2016-04-14 00:59:37 +08:00 committed by Christoph Oelckers
parent 812cdc86fb
commit ee3712ffeb
2 changed files with 236 additions and 122 deletions

View file

@ -2551,7 +2551,122 @@ DSPLYMNU_GLOPT = "OpenGL Options";
DSPLYMNU_GAMMA = "Gamma correction"; DSPLYMNU_GAMMA = "Gamma correction";
DSPLYMNU_CONTRAST ="Contrast"; DSPLYMNU_CONTRAST ="Contrast";
// OpenGL Options
GLMNU_TITLE = "OPENGL OPTIONS"; GLMNU_TITLE = "OPENGL OPTIONS";
GLMNU_DYNLIGHT = "Dynamic Light Options"; GLMNU_DYNLIGHT = "Dynamic Light Options";
GLMNU_TEXOPT = "Texture Options"; GLMNU_TEXOPT = "Texture Options";
GLMNU_PREFS = "Preferences"; GLMNU_PREFS = "Preferences";
// Texture Options
GLTEXMNU_TITLE = "TEXTURE OPTIONS";
GLTEXMNU_TEXENABLED = "Textures enabled";
GLTEXMNU_TEXFILTER = "Texture Filter mode";
GLTEXMNU_ANISOTROPIC = "Anisotropic filter";
GLTEXMNU_TEXFORMAT = "Texture Format";
GLTEXMNU_ENABLEHIRES = "Enable hires textures";
GLTEXMNU_HQRESIZE = "High Quality Resize mode";
GLTEXMNU_RESIZETEX = "Resize textures";
GLTEXMNU_RESIZESPR = "Resize sprites";
GLTEXMNU_RESIZEFNT = "Resize fonts";
GLTEXMNU_PRECACHETEX = "Precache GL textures";
GLTEXMNU_CAMTEXOFFSCR = "Camera textures offscreen";
GLTEXMNU_TRIMSPREDGE = "Trim sprite edges";
GLTEXMNU_SORTDRAWLIST = "Sort draw lists by texture";
// Dynamic Light Options
GLLIGHTMNU_TITLE = "DYNAMIC LIGHTS";
GLLIGHTMNU_LIGHTSENABLED = "Dynamic Lights enabled";
GLLIGHTMNU_LIGHTDEFS = "Enable light definitions";
GLLIGHTMNU_CLIPLIGHTS = "Clip lights";
GLLIGHTMNU_LIGHTSPRITES = "Lights affect sprites";
GLLIGHTMNU_LIGHTPARTICLES = "Lights affect particles";
GLLIGHTMNU_FORCEADDITIVE = "Force additive lighting";
GLLIGHTMNU_LIGHTINTENSITY = "Light intensity";
GLLIGHTMNU_LIGHTSIZE = "Light size";
// OpenGL Preferences
GLPREFMNU_TITLE = "OPENGL PREFERENCES";
GLPREFMNU_SECLIGHTMODE = "Sector light mode";
GLPREFMNU_FOGMODE = "Fog mode";
GLPREFMNU_FOGFORCEFULLBRIGHT = "Fog forces fullbright";
GLPREFMNU_WPNLIGHTSTR = "Weapon light strength";
GLPREFMNU_ENVIRONMENTMAPMIRROR = "Environment map on mirrors";
GLPREFMNU_ENV = "Enhanced night vision mode";
GLPREFMNU_ENVSTEALTH = "ENV shows stealth monsters";
GLPREFMNU_SPRBRIGHTFOG = "Force brightness in fog";
GLPREFMNU_SPRCLIP = "Adjust sprite clipping";
GLPREFMNU_SPRBLEND = "Smooth sprite edges";
GLPREFMNU_FUZZSTYLE = "Fuzz Style";
GLPREFMNU_SPRBILLBOARD = "Sprite billboard";
GLPREFMNU_PARTICLESTYLE = "Particle style";
GLPREFMNU_AMBLIGHT = "Ambient light level";
GLPREFMNU_RENDERQUALITY = "Rendering quality"";
GLPREFMNU_VRMODE = "Stereo 3D VR";
GLPREFMNU_VRQUADSTEREO = "Enable Quad Stereo";
// Option Values
OPTVAL_SMART = "Smart";
OPTVAL_SMARTER = "Smarter";
OPTVAL_INFRAREDONLY = "Infrared only";
OPTVAL_INFRAREDANDTORCH = "Infrared and torch";
OPTVAL_ANYFIXEDCOLORMAP = "Any fixed colormap";
OPTVAL_NONENEARESTMIPMAP = "None (nearest mipmap)";
OPTVAL_NONELINEARMIPMAP = "None (linear mipmap)";
OPTVAL_BILINEAR = "Bilinear";
OPTVAL_TRILINEAR = "Trilinear";
OPTVAL_RGBA8 = "RGBA8";
OPTVAL_RGB5A1 = "RGB5_A1";
OPTVAL_RGBA4 = "RGBA4";
OPTVAL_RGBA2 = "RGBA2";
OPTVAL_COMPRRGBA = "COMPR_RGBA";
OPTVAL_S3TCDXT1 = "S3TC_DXT1";
OPTVAL_S3TCDXT3 = "S3TC_DXT3";
OPTVAL_S3TCDXT5 = "S3TC_DXT5";
OPTVAL_2X = "2x";
OPTVAL_4X = "4x";
OPTVAL_8X = "8x";
OPTVAL_16X = "16x";
OPTVAL_USEASPALETTE = "Use as palette";
OPTVAL_BLEND = "Blend";
OPTVAL_STANDARD = "Standard";
OPTVAL_BRIGHT = "Bright";
OPTVAL_DARK = "Dark";
OPTVAL_LEGACY = "Legacy";
OPTVAL_SOFTWARE = "Software";
OPTVAL_SPEED = "Speed";
OPTVAL_QUALITY = "Quality";
OPTVAL_OPTIMAL = "Optimal";
OPTVAL_60 = "60";
OPTVAL_70 = "70";
OPTVAL_72 = "72";
OPTVAL_75 = "75";
OPTVAL_85 = "85";
OPTVAL_100 = "100";
OPTVAL_YAXIS = "Y Axis";
OPTVAL_XYAXIS = "X/Y Axis";
OPTVAL_SQUARE = "Square";
OPTVAL_ROUND = "Round";
OPTVAL_SCALE2X = "Scale2x";
OPTVAL_SCALE3X = "Scale3x";
OPTVAL_SCALE4X = "Scale4x";
OPTVAL_HQ2X = "hq2x";
OPTVAL_HQ3X = "hq3x";
OPTVAL_HQ4X = "hq4x";
OPTVAL_HQ2XMMX = "hq2x MMX";
OPTVAL_HQ3XMMX = "hq3x MMX";
OPTVAL_HQ4XMMX = "hq4x MMX";
OPTVAL_RADIAL = "Radial";
OPTVAL_PIXELFUZZ = "Pixel fuzz";
OPTVAL_SMOOTHFUZZ = "Smooth fuzz";
OPTVAL_SWIRLYFUZZ = "Swirly fuzz";
OPTVAL_TRANSLUCENTFUZZ = "Translucent fuzz";
OPTVAL_NOISE = "Noise";
OPTVAL_SMOOTHNOISE = "Smooth Noise";
OPTVAL_JAGGEDFUZZ = "Jagged fuzz";
OPTVAL_NORMAL = "Normal";
OPTVAL_GREENMAGENTA = "Green/Magenta";
OPTVAL_REDCYAN = "Red/Cyan";
OPTVAL_AMBERBLUE = "Amber/Blue";
OPTVAL_LEFTEYE = "Left Eye";
OPTVAL_RIGHTEYE = "Right Eye";
OPTVAL_QUADBUFFERED = "Quad-buffered";

View file

@ -1,193 +1,192 @@
OptionValue "SpriteclipModes" OptionValue "SpriteclipModes"
{ {
0, "Never" 0, "$OPTVAL_NEVER"
1, "Smart" 1, "$OPTVAL_SMART"
2, "Always" 2, "$OPTVAL_ALWAYS"
3, "Smarter" 3, "$OPTVAL_SMARTER"
} }
OptionValue "EnhancedStealth" OptionValue "EnhancedStealth"
{ {
0, "Never" 0, "$OPTVAL_NEVER"
1, "Infrared only" 1, "$OPTVAL_INFRAREDONLY"
2, "Infrared and torch" 2, "$OPTVAL_INFRAREDANDTORCH"
3, "Any fixed colormap" 3, "$OPTVAL_ANYFIXEDCOLORMAP"
} }
OptionValue "FilterModes" OptionValue "FilterModes"
{ {
0, "None" 0, "$OPTVAL_NONE"
1, "None (nearest mipmap)" 1, "$OPTVAL_NONENEARESTMIPMAP"
5, "None (linear mipmap)" 5, "$OPTVAL_NONELINEARMIPMAP"
2, "Linear" 2, "$OPTVAL_LINEAR"
3, "Bilinear" 3, "$OPTVAL_BILINEAR"
4, "Trilinear" 4, "$OPTVAL_TRILINEAR"
} }
OptionValue "TextureFormats" OptionValue "TextureFormats"
{ {
0, "RGBA8" 0, "$OPTVAL_RGBA8"
1, "RGB5_A1" 1, "$OPTVAL_RGB5A1"
2, "RGBA4" 2, "$OPTVAL_RGBA4"
3, "RGBA2" 3, "$OPTVAL_RGBA2"
// [BB] Added modes for texture compression. // [BB] Added modes for texture compression.
4, "COMPR_RGBA" 4, "$OPTVAL_COMPRRGBA"
5, "S3TC_DXT1" 5, "$OPTVAL_S3TCDXT1"
6, "S3TC_DXT3" 6, "$OPTVAL_S3TCDXT3"
7, "S3TC_DXT5" 7, "$OPTVAL_S3TCDXT5"
} }
OptionValue "Anisotropy" OptionValue "Anisotropy"
{ {
1, "Off" 1, "$OPTVAL_OFF"
2, "2x" 2, "$OPTVAL_2X"
4, "4x" 4, "$OPTVAL_4X"
8, "8x" 8, "$OPTVAL_8X"
16, "16x" 16, "$OPTVAL_16X"
} }
OptionValue "Colormaps" OptionValue "Colormaps"
{ {
0, "Use as palette" 0, "$OPTVAL_USEASPALETTE"
1, "Blend" 1, "$OPTVAL_BLEND"
} }
OptionValue "LightingModes" OptionValue "LightingModes"
{ {
0, "Standard" 0, "$OPTVAL_STANDARD"
1, "Bright" 1, "$OPTVAL_BRIGHT"
2, "Doom" 2, "$OPTVAL_DOOM"
3, "Dark" 3, "$OPTVAL_DARK"
4, "Legacy" 4, "$OPTVAL_LEGACY"
8, "Software" 8, "$OPTVAL_SOFTWARE"
} }
OptionValue "Precision" OptionValue "Precision"
{ {
0, "Speed" 0, "$OPTVAL_SPEED"
1, "Quality" 1, "$OPTVAL_QUALITY"
} }
OptionValue "Hz" OptionValue "Hz"
{ {
0, "Optimal" 0, "$OPTVAL_OPTIMAL"
60, "60" 60, "$OPTVAL_60"
70, "70" 70, "$OPTVAL_70"
72, "72" 72, "$OPTVAL_72"
75, "75" 75, "$OPTVAL_75"
85, "85" 85, "$OPTVAL_85"
100, "100" 100, "$OPTVAL_100"
} }
OptionValue "BillboardModes" OptionValue "BillboardModes"
{ {
0, "Y Axis" 0, "$OPTVAL_YAXIS"
1, "X/Y Axis" 1, "$OPTVAL_XYAXIS"
} }
OptionValue "Particles" OptionValue "Particles"
{ {
0, "Square" 0, "$OPTVAL_SQUARE"
1, "Round" 1, "$OPTVAL_ROUND"
2, "Smooth" 2, "$OPTVAL_SMOOTH"
} }
OptionValue "HqResizeModes" OptionValue "HqResizeModes"
{ {
0, "Off" 0, "$OPTVAL_OFF"
1, "Scale2x" 1, "$OPTVAL_SCALE2X"
2, "Scale3x" 2, "$OPTVAL_SCALE3X"
3, "Scale4x" 3, "$OPTVAL_SCALE4X"
4, "hq2x" 4, "$OPTVAL_HQ2X"
5, "hq3x" 5, "$OPTVAL_HQ3X"
6, "hq4x" 6, "$OPTVAL_HQ4X"
7, "hq2x MMX" 7, "$OPTVAL_HQ2XMMX"
8, "hq3x MMX" 8, "$OPTVAL_HQ3XMMX"
9, "hq4x MMX" 9, "$OPTVAL_HQ4XMMX"
} }
OptionValue "FogMode" OptionValue "FogMode"
{ {
0, "Off" 0, "$OPTVAL_OFF"
1, "Standard" 1, "$OPTVAL_STANDARD"
2, "Radial" 2, "$OPTVAL_RADIAL"
} }
OptionValue "FuzzStyle" OptionValue "FuzzStyle"
{ {
0, "Shadow" 0, "$OPTVAL_SHADOW"
1, "Pixel fuzz" 1, "$OPTVAL_PIXELFUZZ"
2, "Smooth fuzz" 2, "$OPTVAL_SMOOTHFUZZ"
3, "Swirly fuzz" 3, "$OPTVAL_SWIRLYFUZZ"
4, "Translucent fuzz" 4, "$OPTVAL_TRANSLUCENTFUZZ"
6, "Noise" 6, "$OPTVAL_NOISE"
7, "Smooth Noise" 7, "$OPTVAL_SMOOTHNOISE"
//5, "Jagged fuzz" I can't see any difference between this and 4 so it's disabled for now. //5, "$OPTVAL_JAGGEDFUZZ" I can't see any difference between this and 4 so it's disabled for now.
} }
OptionValue VRMode OptionValue VRMode
{ {
0, "Normal" 0, "$OPTVAL_NORMAL"
1, "Green/Magenta" 1, "$OPTVAL_GREENMAGENTA"
2, "Red/Cyan" 2, "$OPTVAL_REDCYAN"
9, "Amber/Blue" 9, "$OPTVAL_AMBERBLUE"
5, "Left Eye" 5, "$OPTVAL_LEFTEYE"
6, "Right Eye" 6, "$OPTVAL_RIGHTEYE"
7, "Quad-buffered" 7, "$OPTVAL_QUADBUFFERED"
} }
OptionMenu "GLTextureGLOptions" OptionMenu "GLTextureGLOptions"
{ {
Title "TEXTURE OPTIONS" Title "$GLTEXMNU_TITLE"
Option "Textures enabled", gl_texture, "YesNo" Option "$GLTEXMNU_TEXENABLED", gl_texture, "YesNo"
Option "Texture Filter mode", gl_texture_filter, "FilterModes" Option "$GLTEXMNU_TEXFILTER", gl_texture_filter, "FilterModes"
Option "Anisotropic filter", gl_texture_filter_anisotropic, "Anisotropy" Option "$GLTEXMNU_ANISOTROPIC", gl_texture_filter_anisotropic, "Anisotropy"
Option "Texture Format", gl_texture_format, "TextureFormats" Option "$GLTEXMNU_TEXFORMAT", gl_texture_format, "TextureFormats"
Option "Enable hires textures", gl_texture_usehires, "YesNo" Option "$GLTEXMNU_ENABLEHIRES", gl_texture_usehires, "YesNo"
Option "High Quality Resize mode", gl_texture_hqresize, "HqResizeModes" Option "$GLTEXMNU_HQRESIZE", gl_texture_hqresize, "HqResizeModes"
Option "Resize textures", gl_texture_hqresize_textures, "OnOff" Option "$GLTEXMNU_RESIZETEX", gl_texture_hqresize_textures, "OnOff"
Option "Resize sprites", gl_texture_hqresize_sprites, "OnOff" Option "$GLTEXMNU_RESIZESPR", gl_texture_hqresize_sprites, "OnOff"
Option "Resize fonts", gl_texture_hqresize_fonts, "OnOff" Option "$GLTEXMNU_RESIZEFNT", gl_texture_hqresize_fonts, "OnOff"
Option "Precache GL textures", gl_precache, "YesNo" Option "$GLTEXMNU_PRECACHETEX", gl_precache, "YesNo"
Option "Camera textures offscreen", gl_usefb, "OnOff" Option "$GLTEXMNU_CAMTEXOFFSCR", gl_usefb, "OnOff"
Option "Trim sprite edges", gl_trimsprites, "OnOff" Option "$GLTEXMNU_TRIMSPREDGE", gl_trimsprites, "OnOff"
Option "Sort draw lists by texture", gl_sort_textures, "YesNo" Option "$GLTEXMNU_SORTDRAWLIST", gl_sort_textures, "YesNo"
} }
OptionMenu "GLLightOptions" OptionMenu "GLLightOptions"
{ {
Title "DYNAMIC LIGHTS" Title "$GLLIGHTMNU_TITLE"
Option "Dynamic Lights enabled", gl_lights, "YesNo" Option "$GLLIGHTMNU_LIGHTSENABLED", gl_lights, "YesNo"
Option "Enable light definitions", gl_attachedlights, "YesNo" Option "$GLLIGHTMNU_LIGHTDEFS", gl_attachedlights, "YesNo"
Option "Clip lights", gl_lights_checkside, "YesNo" Option "$GLLIGHTMNU_CLIPLIGHTS", gl_lights_checkside, "YesNo"
Option "Lights affect sprites", gl_light_sprites, "YesNo" Option "$GLLIGHTMNU_LIGHTSPRITES", gl_light_sprites, "YesNo"
Option "Lights affect particles", gl_light_particles, "YesNo" Option "$GLLIGHTMNU_LIGHTPARTICLES", gl_light_particles, "YesNo"
Option "Force additive lighting", gl_lights_additive, "YesNo" Option "$GLLIGHTMNU_FORCEADDITIVE", gl_lights_additive, "YesNo"
Slider "Light intensity", gl_lights_intensity, 0.0, 1.0, 0.1 Slider "$GLLIGHTMNU_LIGHTINTENSITY", gl_lights_intensity, 0.0, 1.0, 0.1
Slider "Light size", gl_lights_size, 0.0, 2.0, 0.1 Slider "$GLLIGHTMNU_LIGHTSIZE", gl_lights_size, 0.0, 2.0, 0.1
} }
OptionMenu "GLPrefOptions" OptionMenu "GLPrefOptions"
{ {
Title "OPENGL PREFERENCES" Title "$GLPREFMNU_TITLE"
Option "Sector light mode", gl_lightmode, "LightingModes" Option "$GLPREFMNU_SECLIGHTMODE", gl_lightmode, "LightingModes"
Option "Fog mode", gl_fogmode, "FogMode" Option "$GLPREFMNU_FOGMODE", gl_fogmode, "FogMode"
Option "Fog forces fullbright", gl_brightfog, "YesNo" Option "$GLPREFMNU_FOGFORCEFULLBRIGHT", gl_brightfog, "YesNo"
Slider "Weapon light strength", gl_weaponlight, 0,32, 2 Slider "$GLPREFMNU_WPNLIGHTSTR", gl_weaponlight, 0,32, 2
Option "Environment map on mirrors",gl_mirror_envmap, "OnOff" Option "$GLPREFMNU_ENVIRONMENTMAPMIRROR", gl_mirror_envmap, "OnOff"
Option "Enhanced night vision mode",gl_enhanced_nightvision, "OnOff" Option "$GLPREFMNU_ENV", gl_enhanced_nightvision, "OnOff"
Option "ENV shows stealth monsters",gl_enhanced_nv_stealth, "EnhancedStealth" Option "$GLPREFMNU_ENVSTEALTH", gl_enhanced_nv_stealth, "EnhancedStealth"
Option "Force brightness in fog", gl_spritebrightfog, "OnOff" Option "$GLPREFMNU_SPRBRIGHTFOG", gl_spritebrightfog, "OnOff"
Option "Adjust sprite clipping", gl_spriteclip, "SpriteclipModes" Option "$GLPREFMNU_SPRCLIP", gl_spriteclip, "SpriteclipModes"
Option "Smooth sprite edges", gl_sprite_blend, "OnOff" Option "$GLPREFMNU_SPRBLEND", gl_sprite_blend, "OnOff"
Option "Fuzz Style", gl_fuzztype, "FuzzStyle" Option "$GLPREFMNU_FUZZSTYLE", gl_fuzztype, "FuzzStyle"
Option "Sprite billboard", gl_billboard_mode, "BillboardModes" Option "$GLPREFMNU_SPRBILLBOARD", gl_billboard_mode, "BillboardModes"
Option "Particle style", gl_particles_style, "Particles" Option "$GLPREFMNU_PARTICLESTYLE", gl_particles_style, "Particles"
Slider "Ambient light level", gl_light_ambient, 1.0, 255.0, 5.0 Slider "$GLPREFMNU_AMBLIGHT", gl_light_ambient, 1.0, 255.0, 5.0
Option "Rendering quality", gl_render_precise, "Precision" Option "$GLPREFMNU_RENDERQUALITY", gl_render_precise, "Precision"
Option "Stereo 3D VR", vr_mode, "VRMode" Option "$GLPREFMNU_VRMODE", vr_mode, "VRMode"
Option "Enable Quad Stereo", vr_enable_quadbuffered, "OnOff" Option "$GLPREFMNU_VRQUADSTEREO", vr_enable_quadbuffered, "OnOff"
} }