- cleaned i_music.h off external dependencies.
* take I_BuildMIDIMenuList out of it * pass the command line state to disable music from the init call. * don't declare internal 'nomusic' variable in the header.
This commit is contained in:
parent
99c76a3ff5
commit
4538236a38
5 changed files with 10 additions and 16 deletions
|
|
@ -66,6 +66,7 @@
|
|||
#include "g_game.h"
|
||||
#include "s_music.h"
|
||||
#include "v_draw.h"
|
||||
#include "m_argv.h"
|
||||
|
||||
// PUBLIC DATA DEFINITIONS -------------------------------------------------
|
||||
|
||||
|
|
@ -229,7 +230,7 @@ void S_Init()
|
|||
}
|
||||
|
||||
I_InitSound();
|
||||
I_InitMusic();
|
||||
I_InitMusic(Args->CheckParm("-nomusic") || Args->CheckParm("-nosound"));
|
||||
|
||||
// Heretic and Hexen have sound curve lookup tables. Doom does not.
|
||||
int curvelump = fileSystem.CheckNumForName("SNDCURVE");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue