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.c12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/heretic/d_main.c b/src/heretic/d_main.c
index 2ac92b44..b8edd430 100644
--- a/src/heretic/d_main.c
+++ b/src/heretic/d_main.c
@@ -34,7 +34,11 @@
#include "ct_chat.h"
#include "doomdef.h"
#include "d_iwad.h"
+#include "i_endoom.h"
+#include "i_joystick.h"
+#include "i_sound.h"
#include "i_system.h"
+#include "i_timer.h"
#include "i_video.h"
#include "m_argv.h"
#include "m_config.h"
@@ -744,7 +748,9 @@ void D_BindVariables(void)
extern int snd_Channels;
int i;
- I_BindVariables();
+ I_BindVideoVariables();
+ I_BindJoystickVariables();
+ I_BindSoundVariables();
M_BindBaseControls();
M_BindHereticControls();
@@ -975,7 +981,9 @@ void D_DoomMain(void)
IncThermo();
tprintf("I_Init: Setting up machine state.\n", 1);
- I_Init();
+ I_CheckIsScreensaver();
+ I_InitTimer();
+ I_InitJoystick();
IncThermo();
tprintf("S_Init: Setting up sound.\n", 1);