mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- moved the menu.h include from oalsound.h to oalsound.cpp.
The menu is a very 'dirty' header, and forcing it to be pulled in with something entirely unrelated is not good - even though only two files include oalsound.h.
This commit is contained in:
parent
f6a91e1722
commit
c77487dab8
3 changed files with 3 additions and 1 deletions
|
@ -46,6 +46,8 @@
|
|||
#include "i_music.h"
|
||||
#include "m_argv.h"
|
||||
#include "v_text.h"
|
||||
#include "c_cvars.h"
|
||||
#include "stats.h"
|
||||
|
||||
EXTERN_CVAR (Float, snd_sfxvolume)
|
||||
CVAR (Int, snd_samplerate, 0, CVAR_ARCHIVE|CVAR_GLOBALCONFIG)
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
#include "i_music.h"
|
||||
#include "i_musicinterns.h"
|
||||
#include "cmdlib.h"
|
||||
#include "menu/menu.h"
|
||||
|
||||
FModule OpenALModule{"OpenAL"};
|
||||
|
||||
|
|
|
@ -9,7 +9,6 @@
|
|||
|
||||
#include "i_sound.h"
|
||||
#include "s_sound.h"
|
||||
#include "menu/menu.h"
|
||||
|
||||
#ifndef NO_OPENAL
|
||||
|
||||
|
|
Loading…
Reference in a new issue