diff options
author | Simon Howard | 2011-09-26 21:34:13 +0000 |
---|---|---|
committer | Simon Howard | 2011-09-26 21:34:13 +0000 |
commit | 6ee44d364659f1d2b4c43c2bdad276c667ae1907 (patch) | |
tree | b62f6dfcd200ea71594f3aa1e1aee46590ac7041 /src/strife/d_main.c | |
parent | fcb27f12ee85d068e6b07fccc102ddf70c153c1f (diff) | |
download | chocolate-doom-6ee44d364659f1d2b4c43c2bdad276c667ae1907.tar.gz chocolate-doom-6ee44d364659f1d2b4c43c2bdad276c667ae1907.tar.bz2 chocolate-doom-6ee44d364659f1d2b4c43c2bdad276c667ae1907.zip |
Add graphical_startup option for Strife (to match Heretic/Hexen).
Subversion-branch: /branches/v2-branch
Subversion-revision: 2408
Diffstat (limited to 'src/strife/d_main.c')
-rw-r--r-- | src/strife/d_main.c | 7 |
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); |