mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 07:12:02 +00:00
- Created menus for all this render-switching insanity.
This commit is contained in:
parent
5e458866bc
commit
13271cb967
2 changed files with 48 additions and 0 deletions
|
@ -2145,6 +2145,12 @@ MODMNU_QUALITY = "Quality";
|
|||
MODMNU_VOLUMERAMPING = "Volume ramping";
|
||||
MODMNU_CHIPOMATIC = "Chip-o-matic";
|
||||
|
||||
// Renderer Options
|
||||
RNDMNU_TITLE = "CHANGE RENDERER";
|
||||
RNDMNU_RENDERER = "Hardware Acceleration";
|
||||
RNDMNU_TRUECOLOR = "Software Truecolor Mode";
|
||||
RNDMNU_CANVAS = "Software Canvas";
|
||||
|
||||
// Video Options
|
||||
VIDMNU_TITLE = "VIDEO MODE";
|
||||
VIDMNU_FULLSCREEN = "Fullscreen";
|
||||
|
@ -2152,6 +2158,7 @@ VIDMNU_HIDPI = "Retina/HiDPI support";
|
|||
VIDMNU_ASPECTRATIO = "Aspect ratio";
|
||||
VIDMNU_FORCEASPECT = "Force aspect ratio";
|
||||
VIDMNU_5X4ASPECTRATIO = "Enable 5:4 aspect ratio";
|
||||
VIDMNU_CHANGERENDER = "Change Rendering Output";
|
||||
VIDMNU_ENTERTEXT = "Press ENTER to set mode";
|
||||
VIDMNU_TESTTEXT1 = "T to test mode for 5 seconds";
|
||||
VIDMNU_TESTTEXT2 = "Please wait 5 seconds...";
|
||||
|
@ -2300,6 +2307,11 @@ OPTVAL_WARNINGS = "Warnings";
|
|||
OPTVAL_NOTIFICATIONS = "Notifications";
|
||||
OPTVAL_EVERYTHING = "Everything";
|
||||
OPTVAL_FULLSCREENONLY = "Fullscreen only";
|
||||
OPTVAL_GL = "OpenGL";
|
||||
OPTVAL_D3D = "Direct3D";
|
||||
OPTVAL_HWPOLY = "OpenGL-Accelerated";
|
||||
OPTVAL_SWDOOM = "Doom Software Renderer";
|
||||
|
||||
// Colors
|
||||
C_BRICK = "\cabrick";
|
||||
C_TAN = "\cbtan";
|
||||
|
|
|
@ -1734,6 +1734,41 @@ OptionMenu ModReplayerOptions
|
|||
// the foo_dumb preferences in foobar2000.
|
||||
}
|
||||
|
||||
/*=======================================
|
||||
*
|
||||
* Change Renderer Menu
|
||||
*
|
||||
*=======================================*/
|
||||
|
||||
OptionValue "PolyDoom"
|
||||
{
|
||||
0, "$OPTVAL_SWDOOM"
|
||||
1, "$OPTVAL_HWPOLY"
|
||||
}
|
||||
|
||||
OptionValue "D3DGL"
|
||||
{
|
||||
0, "$OPTVAL_GL"
|
||||
1, "$OPTVAL_D3D"
|
||||
}
|
||||
|
||||
OptionValue "GLD3D"
|
||||
{
|
||||
0, "$OPTVAL_D3D"
|
||||
1, "$OPTVAL_GL"
|
||||
}
|
||||
|
||||
OptionMenu RendererMenu
|
||||
{
|
||||
Title "$RNDMNU_TITLE"
|
||||
Option "$RNDMNU_RENDERER", "vid_renderer", "PolyDoom"
|
||||
Option "$RNDMNU_TRUECOLOR", "swtruecolor", "OnOff"
|
||||
IfOption(Windows)
|
||||
{
|
||||
Option "$RNDMNU_CANVAS", "vid_used3d", "D3DGL"
|
||||
}
|
||||
}
|
||||
|
||||
/*=======================================
|
||||
*
|
||||
* Video mode menu
|
||||
|
@ -1782,6 +1817,7 @@ OptionMenu VideoModeMenu
|
|||
Option "$VIDMNU_ASPECTRATIO", "menu_screenratios", "Ratios"
|
||||
Option "$VIDMNU_FORCEASPECT", "vid_aspect", "ForceRatios"
|
||||
Option "$VIDMNU_5X4ASPECTRATIO", "vid_tft", "YesNo"
|
||||
Submenu "$VIDMNU_CHANGERENDER", "RendererMenu"
|
||||
StaticText " "
|
||||
ScreenResolution "res_0"
|
||||
ScreenResolution "res_1"
|
||||
|
|
Loading…
Reference in a new issue