From e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6 Mon Sep 17 00:00:00 2001 From: khokh2001 Date: Mon, 9 Mar 2015 16:32:08 +0900 Subject: Hexen and Heretic use older DMX. Since OPL Voice Allocating algorithm differ. This commit adds old DMX's voice allocating alogrithm for Hexen and Heretic. --- src/i_sound.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/i_sound.h') diff --git a/src/i_sound.h b/src/i_sound.h index e429e960..0808ac87 100644 --- a/src/i_sound.h +++ b/src/i_sound.h @@ -234,5 +234,12 @@ extern char *snd_musiccmd; void I_BindSoundVariables(void); +typedef enum { + opl_v_old, // hexen heretic + opl_v_new // doom strife +} opl_driver_ver; + +void I_SetOPLDriverVer(opl_driver_ver ver); + #endif -- cgit v1.2.3