summaryrefslogtreecommitdiff
path: root/src/heretic/d_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/heretic/d_main.c')
-rw-r--r--src/heretic/d_main.c15
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)
{