#3 - Console variables

This commit is contained in:
JadenArc authored and hayayayay committed 2022-11-16 16:22:45 +08:00
1 parent 6d7e86f5a1
commit 5f76fb3916
2 files changed
+9

No files matched your search

+6
View File
@@ -473,6 +473,10 @@ consvar_t cv_luaimmersion = {"luaimmersion", "On", CV_SAVE, CV_OnOff, 0, 0, NULL
consvar_t cv_showviewpointtext = {"showviewpointtext", "On", CV_SAVE, CV_OnOff, 0, 0, NULL, NULL, 0, 0, NULL};
// snowy cvars
consvar_t cv_showinput = {"showinput", "On", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
consvar_t cv_showminimapnames = {"showminimapnames", "Off", CV_SAVE, CV_OnOff, NULL, 0, NULL, NULL, 0, 0, NULL};
// Intermission time Tails 04-19-2002
static CV_PossibleValue_t inttime_cons_t[] = {{0, "MIN"}, {3600, "MAX"}, {0, NULL}};
consvar_t cv_inttime = {"inttime", "20", CV_NETVAR, inttime_cons_t, NULL, 0, NULL, NULL, 0, 0, NULL};
@@ -759,6 +763,8 @@ void D_RegisterServerCommands(void)
CV_RegisterVar(&cv_showtrackaddon);
CV_RegisterVar(&cv_showviewpointtext);
CV_RegisterVar(&cv_showinput);
CV_RegisterVar(&cv_showminimapnames);
#ifdef SEENAMES
CV_RegisterVar(&cv_allowseenames);
+3
View File
@@ -154,6 +154,9 @@ extern consvar_t cv_pingmeasurement;
extern consvar_t cv_showviewpointtext;
extern consvar_t cv_luaimmersion;
extern consvar_t cv_fakelocalskin;
// snowy cvars!!!
extern consvar_t cv_showinput;
extern consvar_t cv_showminimapnames;
extern consvar_t cv_skipmapcheck;