diff options
author | Simon Howard | 2008-11-21 18:03:06 +0000 |
---|---|---|
committer | Simon Howard | 2008-11-21 18:03:06 +0000 |
commit | ae18d8c4b6f7f918aa5ec496ca32899793cbe41e (patch) | |
tree | ed15c8dab41695f3b899590c4efbfec91a4426ee /src/hexen | |
parent | 9646b03b13d875289ce0270cacab67657684bd58 (diff) | |
download | chocolate-doom-ae18d8c4b6f7f918aa5ec496ca32899793cbe41e.tar.gz chocolate-doom-ae18d8c4b6f7f918aa5ec496ca32899793cbe41e.tar.bz2 chocolate-doom-ae18d8c4b6f7f918aa5ec496ca32899793cbe41e.zip |
Move setup/ into src/ and merge with main codebase. Remove duplicated
code. Split out I_Endoom to separate i_endoom.c file.
Subversion-branch: /branches/raven-branch
Subversion-revision: 1384
Diffstat (limited to 'src/hexen')
-rw-r--r-- | src/hexen/h2_main.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/hexen/h2_main.c b/src/hexen/h2_main.c index f1d6ca90..f7bc665e 100644 --- a/src/hexen/h2_main.c +++ b/src/hexen/h2_main.c @@ -42,7 +42,9 @@ #include "d_mode.h" #include "m_misc.h" #include "s_sound.h" +#include "i_joystick.h" #include "i_system.h" +#include "i_timer.h" #include "m_argv.h" #include "m_config.h" #include "m_controls.h" @@ -154,7 +156,9 @@ void D_BindVariables(void) { int i; - I_BindVariables(); + I_BindVideoVariables(); + I_BindJoystickVariables(); + I_BindSoundVariables(); M_BindBaseControls(); M_BindHereticControls(); M_BindHexenControls(); @@ -296,7 +300,9 @@ void D_DoomMain(void) ST_Message("SN_InitSequenceScript: Registering sound sequences.\n"); SN_InitSequenceScript(); ST_Message("I_Init: Setting up machine state.\n"); - I_Init(); + I_CheckIsScreensaver(); + I_InitTimer(); + I_InitJoystick(); S_Init(); S_Start(); |