Move extern declarations to header
This commit is contained in:
@@ -60,24 +60,6 @@ static music_module_t *music_module = NULL;
|
|||||||
int snd_musicdevice = SNDDEVICE_SB;
|
int snd_musicdevice = SNDDEVICE_SB;
|
||||||
int snd_sfxdevice = SNDDEVICE_SB;
|
int snd_sfxdevice = SNDDEVICE_SB;
|
||||||
|
|
||||||
// Sound modules
|
|
||||||
|
|
||||||
void I_InitTimidityConfig(void);
|
|
||||||
#ifdef FEATURE_SOUND
|
|
||||||
extern sound_module_t DG_sound_module;
|
|
||||||
extern music_module_t DG_music_module;
|
|
||||||
#endif
|
|
||||||
extern sound_module_t sound_pcsound_module;
|
|
||||||
extern music_module_t music_opl_module;
|
|
||||||
|
|
||||||
// For OPL module:
|
|
||||||
|
|
||||||
extern int opl_io_port;
|
|
||||||
|
|
||||||
// For native music module:
|
|
||||||
|
|
||||||
extern char *timidity_cfg_path;
|
|
||||||
|
|
||||||
// DOS-specific options: These are unused but should be maintained
|
// DOS-specific options: These are unused but should be maintained
|
||||||
// so that the config file can be shared between chocolate
|
// so that the config file can be shared between chocolate
|
||||||
// doom and doom.exe
|
// doom and doom.exe
|
||||||
|
|||||||
@@ -234,5 +234,23 @@ extern char *snd_musiccmd;
|
|||||||
|
|
||||||
void I_BindSoundVariables(void);
|
void I_BindSoundVariables(void);
|
||||||
|
|
||||||
|
// Sound modules
|
||||||
|
|
||||||
|
void I_InitTimidityConfig(void);
|
||||||
|
#ifdef FEATURE_SOUND
|
||||||
|
extern sound_module_t DG_sound_module;
|
||||||
|
extern music_module_t DG_music_module;
|
||||||
|
#endif
|
||||||
|
extern sound_module_t sound_pcsound_module;
|
||||||
|
extern music_module_t music_opl_module;
|
||||||
|
|
||||||
|
// For OPL module:
|
||||||
|
|
||||||
|
extern int opl_io_port;
|
||||||
|
|
||||||
|
// For native music module:
|
||||||
|
|
||||||
|
extern char *timidity_cfg_path;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user