mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-10 01:52:33 +00:00
- MBF_UD_LR_FLIPPED
- Genericisation of the control flip for PAUSE_PlaybackMenuDef
- MBF_SOUNDLESS
- Do not create sound for default menu actions
62 lines
1.8 KiB
C
62 lines
1.8 KiB
C
/// \file menus/options-video-gl.c
|
|
/// \brief OpenGL Options
|
|
|
|
#include "../k_menu.h"
|
|
#include "../hardware/hw_main.h" // gl consvars
|
|
|
|
menuitem_t OPTIONS_VideoOGL[] =
|
|
{
|
|
|
|
{IT_STRING | IT_CVAR, "Renderer", "Change renderers between Software and OpenGL",
|
|
NULL, {.cvar = &cv_renderer}, 0, 0},
|
|
|
|
{IT_SPACE | IT_NOTHING, NULL, NULL,
|
|
NULL, {NULL}, 0, 0},
|
|
|
|
{IT_HEADER, "OPTIONS BELOW ARE OPENGL ONLY!", "Watch people get confused anyway!!",
|
|
NULL, {NULL}, 0, 0},
|
|
|
|
{IT_STRING | IT_CVAR, "3D Models", "Use 3D models instead of sprites when applicable.",
|
|
NULL, {.cvar = &cv_glmodels}, 0, 0},
|
|
|
|
{IT_STRING | IT_CVAR, "Shaders", "Use GLSL Shaders. Turning them off increases performance at the expanse of visual quality.",
|
|
NULL, {.cvar = &cv_glshaders}, 0, 0},
|
|
|
|
{IT_SPACE | IT_NOTHING, NULL, NULL,
|
|
NULL, {NULL}, 0, 0},
|
|
|
|
{IT_STRING | IT_CVAR, "Texture Quality", "Texture depth. Higher values are recommended.",
|
|
NULL, {.cvar = &cv_scr_depth}, 0, 0},
|
|
|
|
{IT_STRING | IT_CVAR, "Texture Filter", "Texture Filter. Nearest is recommended.",
|
|
NULL, {.cvar = &cv_glfiltermode}, 0, 0},
|
|
|
|
{IT_STRING | IT_CVAR, "Anisotropic", "Lower values will improve performance at a minor quality loss.",
|
|
NULL, {.cvar = &cv_glanisotropicmode}, 0, 0},
|
|
|
|
{IT_SPACE | IT_NOTHING, NULL, NULL,
|
|
NULL, {NULL}, 0, 0},
|
|
|
|
{IT_STRING | IT_CVAR, "Sprite Billboarding", "Adjusts sprites when viewed from above or below to not make them appear flat.",
|
|
NULL, {.cvar = &cv_glspritebillboarding}, 0, 0},
|
|
|
|
{IT_STRING | IT_CVAR, "Software Perspective", "Emulates Software shearing when looking up or down. Not recommended.",
|
|
NULL, {.cvar = &cv_glshearing}, 0, 0},
|
|
};
|
|
|
|
menu_t OPTIONS_VideoOGLDef = {
|
|
sizeof (OPTIONS_VideoOGL) / sizeof (menuitem_t),
|
|
&OPTIONS_VideoDef,
|
|
0,
|
|
OPTIONS_VideoOGL,
|
|
32, 80,
|
|
SKINCOLOR_PLAGUE, 0,
|
|
0,
|
|
NULL,
|
|
2, 5,
|
|
M_DrawGenericOptions,
|
|
M_OptionsTick,
|
|
NULL,
|
|
NULL,
|
|
NULL,
|
|
};
|