summaryrefslogtreecommitdiff
path: root/src/strife/d_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/strife/d_main.c')
-rw-r--r--src/strife/d_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/strife/d_main.c b/src/strife/d_main.c
index 45e5f0f3..f570d841 100644
--- a/src/strife/d_main.c
+++ b/src/strife/d_main.c
@@ -149,6 +149,7 @@ char wadfile[1024]; // primary wad file
char mapdir[1024]; // directory of development maps
int show_endoom = 1;
+int graphical_startup = 1;
// fraggle 06/03/11 [STRIFE]: Unused config variable, preserved
// for compatibility:
@@ -442,6 +443,7 @@ void D_BindVariables(void)
M_BindVariable("vanilla_demo_limit", &vanilla_demo_limit);
M_BindVariable("show_endoom", &show_endoom);
M_BindVariable("back_flat", &back_flat);
+ M_BindVariable("graphical_startup", &graphical_startup);
M_BindVariable("nickname", &nickname);
M_BindVariable("comport", &comport);
@@ -1571,6 +1573,11 @@ void D_DoomMain (void)
D_BindVariables();
M_LoadDefaults();
+ if (!graphical_startup)
+ {
+ showintro = false;
+ }
+
// Save configuration at exit.
I_AtExit(M_SaveDefaults, false);