mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 23:01:50 +00:00
- add new option to menu
This commit is contained in:
parent
c8852b8fea
commit
35bb2d3079
2 changed files with 9 additions and 0 deletions
|
@ -2787,6 +2787,7 @@ GLLIGHTMNU_LIGHTSPRITES = "Lights affect sprites";
|
|||
GLLIGHTMNU_LIGHTPARTICLES = "Lights affect particles";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAP = "Light shadowmaps";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAPQUALITY = "Shadowmap quality";
|
||||
GLLIGHTMNU_LIGHTSHADOWMAPFILTER = "Shadowmap filter";
|
||||
|
||||
// OpenGL Preferences
|
||||
GLPREFMNU_TITLE = "OPENGL PREFERENCES";
|
||||
|
|
|
@ -2225,6 +2225,13 @@ OptionValue ShadowMapQuality
|
|||
1024, "1024"
|
||||
}
|
||||
|
||||
OptionValue ShadowMapFilter
|
||||
{
|
||||
0, "$OPTVAL_LINEAR"
|
||||
1, "PCF"
|
||||
}
|
||||
|
||||
|
||||
OptionMenu "GLTextureGLOptions" protected
|
||||
{
|
||||
Title "$GLTEXMNU_TITLE"
|
||||
|
@ -2259,6 +2266,7 @@ OptionMenu "GLLightOptions" protected
|
|||
Option "$GLLIGHTMNU_LIGHTPARTICLES", gl_light_particles, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAP", gl_light_shadowmap, "YesNo"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAPQUALITY", gl_shadowmap_quality, "ShadowMapQuality"
|
||||
Option "$GLLIGHTMNU_LIGHTSHADOWMAPFILTER", gl_shadowmap_filter, "ShadowMapFilter"
|
||||
}
|
||||
|
||||
OptionMenu "OpenGLOptions" protected
|
||||
|
|
Loading…
Reference in a new issue