summaryrefslogtreecommitdiff
path: root/src/i_sound.h
diff options
context:
space:
mode:
authorSimon Howard2008-10-02 18:46:11 +0000
committerSimon Howard2008-10-02 18:46:11 +0000
commit51efdd70e49a1378cc828113a3ee3997f85cdc14 (patch)
treecb360022a6f6564d9243e3e72de76a71740f3701 /src/i_sound.h
parent525e8d80dfd67d4562b7a4d40e685a26b860eada (diff)
downloadchocolate-doom-51efdd70e49a1378cc828113a3ee3997f85cdc14.tar.gz
chocolate-doom-51efdd70e49a1378cc828113a3ee3997f85cdc14.tar.bz2
chocolate-doom-51efdd70e49a1378cc828113a3ee3997f85cdc14.zip
Split out high-level sound code from hexen/i_ibm.c and refactor to use
common interface. Subversion-branch: /branches/raven-branch Subversion-revision: 1324
Diffstat (limited to 'src/i_sound.h')
-rw-r--r--src/i_sound.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/i_sound.h b/src/i_sound.h
index a8562ae1..184a12d4 100644
--- a/src/i_sound.h
+++ b/src/i_sound.h
@@ -38,8 +38,13 @@ typedef struct sfxinfo_struct sfxinfo_t;
struct sfxinfo_struct
{
- // up to 6-character name
- char *name;
+ // tag name, used for hexen.
+ char *tagname;
+
+ // lump name. If we are running with use_sfx_prefix=true, a
+ // 'DS' (or 'DP' for PC speaker sounds) is prepended to this.
+
+ char name[9];
// Sfx priority
int priority;