mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
Hide movie_showfps option when webm is disabled
This commit is contained in:
parent
df5f24e5c7
commit
5d54d53a4b
1 changed files with 7 additions and 1 deletions
|
|
@ -3,7 +3,9 @@
|
||||||
|
|
||||||
#include "../k_menu.h"
|
#include "../k_menu.h"
|
||||||
#include "../m_misc.h" // screenshot cvars
|
#include "../m_misc.h" // screenshot cvars
|
||||||
|
#ifdef SRB2_CONFIG_ENABLE_WEBM_MOVIES
|
||||||
#include "../m_avrecorder.h"
|
#include "../m_avrecorder.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
menuitem_t OPTIONS_DataScreenshot[] =
|
menuitem_t OPTIONS_DataScreenshot[] =
|
||||||
{
|
{
|
||||||
|
|
@ -26,15 +28,19 @@ menuitem_t OPTIONS_DataScreenshot[] =
|
||||||
{IT_STRING | IT_CVAR, "Recording Format", "What file format will movies will be recorded in?",
|
{IT_STRING | IT_CVAR, "Recording Format", "What file format will movies will be recorded in?",
|
||||||
NULL, {.cvar = &cv_moviemode}, 0, 0},
|
NULL, {.cvar = &cv_moviemode}, 0, 0},
|
||||||
|
|
||||||
|
#ifdef SRB2_CONFIG_ENABLE_WEBM_MOVIES
|
||||||
{IT_STRING | IT_CVAR, "Real-Time Data", "If enabled, shows fps, duration and filesize of recording in real-time.",
|
{IT_STRING | IT_CVAR, "Real-Time Data", "If enabled, shows fps, duration and filesize of recording in real-time.",
|
||||||
NULL, {.cvar = &cv_movie_showfps}, 0, 0},
|
NULL, {.cvar = &cv_movie_showfps}, 0, 0},
|
||||||
|
#else
|
||||||
|
{IT_SPACE | IT_NOTHING, NULL, NULL,
|
||||||
|
NULL, {NULL}, 0, 0},
|
||||||
|
#endif
|
||||||
|
|
||||||
{IT_STRING | IT_CVAR, "Storage Location", "Sets where to store movies.",
|
{IT_STRING | IT_CVAR, "Storage Location", "Sets where to store movies.",
|
||||||
NULL, {.cvar = &cv_movie_option}, 0, 0},
|
NULL, {.cvar = &cv_movie_option}, 0, 0},
|
||||||
|
|
||||||
{IT_STRING | IT_CVAR | IT_CV_STRING, "Custom Folder", "Specify which folder to save videos in.",
|
{IT_STRING | IT_CVAR | IT_CV_STRING, "Custom Folder", "Specify which folder to save videos in.",
|
||||||
NULL, {.cvar = &cv_movie_folder}, 24, 0},
|
NULL, {.cvar = &cv_movie_folder}, 24, 0},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
menu_t OPTIONS_DataScreenshotDef = {
|
menu_t OPTIONS_DataScreenshotDef = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue