diff options
author | Simon Howard | 2011-09-24 17:40:59 +0000 |
---|---|---|
committer | Simon Howard | 2011-09-24 17:40:59 +0000 |
commit | 17d75c2915ec75077e86dbd7a356061961552b53 (patch) | |
tree | 07603babcdcae0ef12f3bd9092219ed0f95a8235 /src/heretic/d_main.c | |
parent | 73f27119add06b37dadc4a62343e1301585a828f (diff) | |
download | chocolate-doom-17d75c2915ec75077e86dbd7a356061961552b53.tar.gz chocolate-doom-17d75c2915ec75077e86dbd7a356061961552b53.tar.bz2 chocolate-doom-17d75c2915ec75077e86dbd7a356061961552b53.zip |
Add -testcontrols to Heretic.
Subversion-branch: /branches/v2-branch
Subversion-revision: 2396
Diffstat (limited to 'src/heretic/d_main.c')
-rw-r--r-- | src/heretic/d_main.c | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c index 97eb37ed..62e4892e 100644 --- a/src/heretic/d_main.c +++ b/src/heretic/d_main.c @@ -182,6 +182,11 @@ void D_Display(void) break; } + if (testcontrols) + { + V_DrawMouseSpeedBox(testcontrols_mousespeed); + } + if (paused && !MenuActive && !askforquit) { if (!netgame) @@ -774,7 +779,7 @@ static void D_Endoom(void) // Disable ENDOOM? - if (!show_endoom) + if (!show_endoom || testcontrols) { return; } @@ -1036,6 +1041,14 @@ void D_DoomMain(void) free(filename); } + if (M_ParmExists("-testcontrols")) + { + startepisode = 1; + startmap = 1; + autostart = true; + testcontrols = true; + } + // Check valid episode and map if (autostart || netgame) { |