diff options
author | khokh2001 | 2015-03-09 16:32:08 +0900 |
---|---|---|
committer | khokh2001 | 2015-03-09 16:32:08 +0900 |
commit | e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6 (patch) | |
tree | c0d25af6f9de6c8a032f6a84282b3573cabad2f2 /src/i_sound.h | |
parent | 70e39d13808d9a6de004bde9570a2db001cc95e4 (diff) | |
download | chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.tar.gz chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.tar.bz2 chocolate-doom-e62bc4cee05ddb2d2fcf0f04aee90c9158188ca6.zip |
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.
Diffstat (limited to 'src/i_sound.h')
-rw-r--r-- | src/i_sound.h | 7 |
1 files changed, 7 insertions, 0 deletions
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 |