Subversion Repositories eduke32

Rev

Rev 4541 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3834 hendricks2 1
//-------------------------------------------------------------------------
2
/*
3
Copyright (C) 2013 EDuke32 developers and contributors
4
 
5
This file is part of EDuke32.
6
 
7
EDuke32 is free software; you can redistribute it and/or
8
modify it under the terms of the GNU General Public License version 2
9
as published by the Free Software Foundation.
10
 
11
This program is distributed in the hope that it will be useful,
12
but WITHOUT ANY WARRANTY; without even the implied warranty of
13
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
14
 
15
See the GNU General Public License for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with this program; if not, write to the Free Software
19
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
20
*/
21
//-------------------------------------------------------------------------
22
 
23
#include "compat.h"
24
#include "build.h"
25
 
26
#include "namesdyn.h"
27
#include "sounds.h"
28
#include "soundsdyn.h"
29
#include "global.h"
30
 
31
#ifdef DYNSOUNDREMAP_ENABLE
32
# define DVPTR(x) &x
33
#else
34
# define DVPTR(x) NULL
35
#endif
36
 
37
int16_t DynamicSoundMap[MAXSOUNDS];
38
 
39
struct dynitem
40
{
41
    const char *str;
42
    int32_t *dynvalptr;
43
    const int16_t staticval;
44
};
45
 
46
LUNATIC_EXTERN struct dynitem g_dynSoundList[] =
47
{
48
    { "KICK_HIT", DVPTR(KICK_HIT), KICK_HIT__STATIC },
49
    { "PISTOL_RICOCHET", DVPTR(PISTOL_RICOCHET), PISTOL_RICOCHET__STATIC },
50
    { "PISTOL_BODYHIT", DVPTR(PISTOL_BODYHIT), PISTOL_BODYHIT__STATIC },
51
    { "PISTOL_FIRE", DVPTR(PISTOL_FIRE), PISTOL_FIRE__STATIC },
52
    { "EJECT_CLIP", DVPTR(EJECT_CLIP), EJECT_CLIP__STATIC },
53
    { "INSERT_CLIP", DVPTR(INSERT_CLIP), INSERT_CLIP__STATIC },
54
    { "CHAINGUN_FIRE", DVPTR(CHAINGUN_FIRE), CHAINGUN_FIRE__STATIC },
55
    { "RPG_SHOOT", DVPTR(RPG_SHOOT), RPG_SHOOT__STATIC },
56
    { "POOLBALLHIT", DVPTR(POOLBALLHIT), POOLBALLHIT__STATIC },
57
    { "RPG_EXPLODE", DVPTR(RPG_EXPLODE), RPG_EXPLODE__STATIC },
58
    { "CAT_FIRE", DVPTR(CAT_FIRE), CAT_FIRE__STATIC },
59
    { "SHRINKER_FIRE", DVPTR(SHRINKER_FIRE), SHRINKER_FIRE__STATIC },
60
    { "ACTOR_SHRINKING", DVPTR(ACTOR_SHRINKING), ACTOR_SHRINKING__STATIC },
61
    { "PIPEBOMB_BOUNCE", DVPTR(PIPEBOMB_BOUNCE), PIPEBOMB_BOUNCE__STATIC },
62
    { "PIPEBOMB_EXPLODE", DVPTR(PIPEBOMB_EXPLODE), PIPEBOMB_EXPLODE__STATIC },
63
    { "LASERTRIP_ONWALL", DVPTR(LASERTRIP_ONWALL), LASERTRIP_ONWALL__STATIC },
64
    { "LASERTRIP_ARMING", DVPTR(LASERTRIP_ARMING), LASERTRIP_ARMING__STATIC },
65
    { "LASERTRIP_EXPLODE", DVPTR(LASERTRIP_EXPLODE), LASERTRIP_EXPLODE__STATIC },
66
    { "VENT_BUST", DVPTR(VENT_BUST), VENT_BUST__STATIC },
67
    { "GLASS_BREAKING", DVPTR(GLASS_BREAKING), GLASS_BREAKING__STATIC },
68
    { "GLASS_HEAVYBREAK", DVPTR(GLASS_HEAVYBREAK), GLASS_HEAVYBREAK__STATIC },
69
    { "SHORT_CIRCUIT", DVPTR(SHORT_CIRCUIT), SHORT_CIRCUIT__STATIC },
70
    { "ITEM_SPLASH", DVPTR(ITEM_SPLASH), ITEM_SPLASH__STATIC },
71
    { "DUKE_BREATHING", DVPTR(DUKE_BREATHING), DUKE_BREATHING__STATIC },
72
    { "DUKE_EXHALING", DVPTR(DUKE_EXHALING), DUKE_EXHALING__STATIC },
73
    { "DUKE_GASP", DVPTR(DUKE_GASP), DUKE_GASP__STATIC },
74
    { "SLIM_RECOG", DVPTR(SLIM_RECOG), SLIM_RECOG__STATIC },
75
//     { "ENDSEQVOL3SND1", DVPTR(ENDSEQVOL3SND1), ENDSEQVOL3SND1__STATIC },
76
    { "DUKE_URINATE", DVPTR(DUKE_URINATE), DUKE_URINATE__STATIC },
77
    { "ENDSEQVOL3SND2", DVPTR(ENDSEQVOL3SND2), ENDSEQVOL3SND2__STATIC },
78
    { "ENDSEQVOL3SND3", DVPTR(ENDSEQVOL3SND3), ENDSEQVOL3SND3__STATIC },
79
    { "DUKE_PASSWIND", DVPTR(DUKE_PASSWIND), DUKE_PASSWIND__STATIC },
80
    { "DUKE_CRACK", DVPTR(DUKE_CRACK), DUKE_CRACK__STATIC },
81
    { "SLIM_ATTACK", DVPTR(SLIM_ATTACK), SLIM_ATTACK__STATIC },
82
    { "SOMETHINGHITFORCE", DVPTR(SOMETHINGHITFORCE), SOMETHINGHITFORCE__STATIC },
83
    { "DUKE_DRINKING", DVPTR(DUKE_DRINKING), DUKE_DRINKING__STATIC },
84
    { "DUKE_KILLED1", DVPTR(DUKE_KILLED1), DUKE_KILLED1__STATIC },
85
    { "DUKE_GRUNT", DVPTR(DUKE_GRUNT), DUKE_GRUNT__STATIC },
86
    { "DUKE_HARTBEAT", DVPTR(DUKE_HARTBEAT), DUKE_HARTBEAT__STATIC },
87
    { "DUKE_ONWATER", DVPTR(DUKE_ONWATER), DUKE_ONWATER__STATIC },
88
    { "DUKE_DEAD", DVPTR(DUKE_DEAD), DUKE_DEAD__STATIC },
89
    { "DUKE_LAND", DVPTR(DUKE_LAND), DUKE_LAND__STATIC },
90
    { "DUKE_WALKINDUCTS", DVPTR(DUKE_WALKINDUCTS), DUKE_WALKINDUCTS__STATIC },
91
    { "DUKE_GLAD", DVPTR(DUKE_GLAD), DUKE_GLAD__STATIC },
92
    { "DUKE_YES", DVPTR(DUKE_YES), DUKE_YES__STATIC },
93
    { "DUKE_HEHE", DVPTR(DUKE_HEHE), DUKE_HEHE__STATIC },
94
    { "DUKE_SHUCKS", DVPTR(DUKE_SHUCKS), DUKE_SHUCKS__STATIC },
95
    { "DUKE_UNDERWATER", DVPTR(DUKE_UNDERWATER), DUKE_UNDERWATER__STATIC },
96
    { "DUKE_JETPACK_ON", DVPTR(DUKE_JETPACK_ON), DUKE_JETPACK_ON__STATIC },
97
    { "DUKE_JETPACK_IDLE", DVPTR(DUKE_JETPACK_IDLE), DUKE_JETPACK_IDLE__STATIC },
98
    { "DUKE_JETPACK_OFF", DVPTR(DUKE_JETPACK_OFF), DUKE_JETPACK_OFF__STATIC },
99
    { "LIZTROOP_GROWL", DVPTR(LIZTROOP_GROWL), LIZTROOP_GROWL__STATIC },
100
    { "LIZTROOP_TALK1", DVPTR(LIZTROOP_TALK1), LIZTROOP_TALK1__STATIC },
101
    { "LIZTROOP_TALK2", DVPTR(LIZTROOP_TALK2), LIZTROOP_TALK2__STATIC },
102
    { "LIZTROOP_TALK3", DVPTR(LIZTROOP_TALK3), LIZTROOP_TALK3__STATIC },
103
    { "DUKETALKTOBOSS", DVPTR(DUKETALKTOBOSS), DUKETALKTOBOSS__STATIC },
104
    { "LIZCAPT_GROWL", DVPTR(LIZCAPT_GROWL), LIZCAPT_GROWL__STATIC },
105
    { "LIZCAPT_TALK1", DVPTR(LIZCAPT_TALK1), LIZCAPT_TALK1__STATIC },
106
    { "LIZCAPT_TALK2", DVPTR(LIZCAPT_TALK2), LIZCAPT_TALK2__STATIC },
107
    { "LIZCAPT_TALK3", DVPTR(LIZCAPT_TALK3), LIZCAPT_TALK3__STATIC },
108
    { "LIZARD_BEG", DVPTR(LIZARD_BEG), LIZARD_BEG__STATIC },
109
    { "LIZARD_PAIN", DVPTR(LIZARD_PAIN), LIZARD_PAIN__STATIC },
110
    { "LIZARD_DEATH", DVPTR(LIZARD_DEATH), LIZARD_DEATH__STATIC },
111
    { "LIZARD_SPIT", DVPTR(LIZARD_SPIT), LIZARD_SPIT__STATIC },
112
    { "DRONE1_HISSRATTLE", DVPTR(DRONE1_HISSRATTLE), DRONE1_HISSRATTLE__STATIC },
113
    { "DRONE1_HISSSCREECH", DVPTR(DRONE1_HISSSCREECH), DRONE1_HISSSCREECH__STATIC },
114
    { "DUKE_TIP2", DVPTR(DUKE_TIP2), DUKE_TIP2__STATIC },
115
    { "FLESH_BURNING", DVPTR(FLESH_BURNING), FLESH_BURNING__STATIC },
116
    { "SQUISHED", DVPTR(SQUISHED), SQUISHED__STATIC },
117
    { "TELEPORTER", DVPTR(TELEPORTER), TELEPORTER__STATIC },
118
    { "ELEVATOR_ON", DVPTR(ELEVATOR_ON), ELEVATOR_ON__STATIC },
119
    { "DUKE_KILLED3", DVPTR(DUKE_KILLED3), DUKE_KILLED3__STATIC },
120
    { "ELEVATOR_OFF", DVPTR(ELEVATOR_OFF), ELEVATOR_OFF__STATIC },
121
    { "DOOR_OPERATE1", DVPTR(DOOR_OPERATE1), DOOR_OPERATE1__STATIC },
122
    { "SUBWAY", DVPTR(SUBWAY), SUBWAY__STATIC },
123
    { "SWITCH_ON", DVPTR(SWITCH_ON), SWITCH_ON__STATIC },
124
    { "FAN", DVPTR(FAN), FAN__STATIC },
125
    { "DUKE_GETWEAPON3", DVPTR(DUKE_GETWEAPON3), DUKE_GETWEAPON3__STATIC },
126
    { "FLUSH_TOILET", DVPTR(FLUSH_TOILET), FLUSH_TOILET__STATIC },
127
    { "HOVER_CRAFT", DVPTR(HOVER_CRAFT), HOVER_CRAFT__STATIC },
128
    { "EARTHQUAKE", DVPTR(EARTHQUAKE), EARTHQUAKE__STATIC },
129
    { "INTRUDER_ALERT", DVPTR(INTRUDER_ALERT), INTRUDER_ALERT__STATIC },
130
    { "END_OF_LEVEL_WARN", DVPTR(END_OF_LEVEL_WARN), END_OF_LEVEL_WARN__STATIC },
131
    { "ENGINE_OPERATING", DVPTR(ENGINE_OPERATING), ENGINE_OPERATING__STATIC },
132
    { "REACTOR_ON", DVPTR(REACTOR_ON), REACTOR_ON__STATIC },
133
    { "COMPUTER_AMBIENCE", DVPTR(COMPUTER_AMBIENCE), COMPUTER_AMBIENCE__STATIC },
134
    { "GEARS_GRINDING", DVPTR(GEARS_GRINDING), GEARS_GRINDING__STATIC },
135
    { "BUBBLE_AMBIENCE", DVPTR(BUBBLE_AMBIENCE), BUBBLE_AMBIENCE__STATIC },
136
    { "MACHINE_AMBIENCE", DVPTR(MACHINE_AMBIENCE), MACHINE_AMBIENCE__STATIC },
137
    { "SEWER_AMBIENCE", DVPTR(SEWER_AMBIENCE), SEWER_AMBIENCE__STATIC },
138
    { "WIND_AMBIENCE", DVPTR(WIND_AMBIENCE), WIND_AMBIENCE__STATIC },
139
    { "SOMETHING_DRIPPING", DVPTR(SOMETHING_DRIPPING), SOMETHING_DRIPPING__STATIC },
140
    { "STEAM_HISSING", DVPTR(STEAM_HISSING), STEAM_HISSING__STATIC },
141
    { "THEATER_BREATH", DVPTR(THEATER_BREATH), THEATER_BREATH__STATIC },
142
    { "BAR_MUSIC", DVPTR(BAR_MUSIC), BAR_MUSIC__STATIC },
143
    { "BOS1_ROAM", DVPTR(BOS1_ROAM), BOS1_ROAM__STATIC },
144
    { "BOS1_RECOG", DVPTR(BOS1_RECOG), BOS1_RECOG__STATIC },
145
    { "BOS1_ATTACK1", DVPTR(BOS1_ATTACK1), BOS1_ATTACK1__STATIC },
146
    { "BOS1_PAIN", DVPTR(BOS1_PAIN), BOS1_PAIN__STATIC },
147
    { "BOS1_DYING", DVPTR(BOS1_DYING), BOS1_DYING__STATIC },
148
    { "BOS2_ROAM", DVPTR(BOS2_ROAM), BOS2_ROAM__STATIC },
149
    { "BOS2_RECOG", DVPTR(BOS2_RECOG), BOS2_RECOG__STATIC },
150
    { "BOS2_ATTACK", DVPTR(BOS2_ATTACK), BOS2_ATTACK__STATIC },
151
    { "BOS2_PAIN", DVPTR(BOS2_PAIN), BOS2_PAIN__STATIC },
152
    { "BOS2_DYING", DVPTR(BOS2_DYING), BOS2_DYING__STATIC },
153
    { "GETATOMICHEALTH", DVPTR(GETATOMICHEALTH), GETATOMICHEALTH__STATIC },
154
    { "DUKE_GETWEAPON2", DVPTR(DUKE_GETWEAPON2), DUKE_GETWEAPON2__STATIC },
155
    { "BOS3_DYING", DVPTR(BOS3_DYING), BOS3_DYING__STATIC },
156
    { "SHOTGUN_FIRE", DVPTR(SHOTGUN_FIRE), SHOTGUN_FIRE__STATIC },
157
    { "PRED_ROAM", DVPTR(PRED_ROAM), PRED_ROAM__STATIC },
158
    { "PRED_RECOG", DVPTR(PRED_RECOG), PRED_RECOG__STATIC },
159
    { "PRED_ATTACK", DVPTR(PRED_ATTACK), PRED_ATTACK__STATIC },
160
    { "PRED_PAIN", DVPTR(PRED_PAIN), PRED_PAIN__STATIC },
161
    { "PRED_DYING", DVPTR(PRED_DYING), PRED_DYING__STATIC },
162
    { "CAPT_ROAM", DVPTR(CAPT_ROAM), CAPT_ROAM__STATIC },
163
    { "CAPT_ATTACK", DVPTR(CAPT_ATTACK), CAPT_ATTACK__STATIC },
164
    { "CAPT_RECOG", DVPTR(CAPT_RECOG), CAPT_RECOG__STATIC },
165
    { "CAPT_PAIN", DVPTR(CAPT_PAIN), CAPT_PAIN__STATIC },
166
    { "CAPT_DYING", DVPTR(CAPT_DYING), CAPT_DYING__STATIC },
167
    { "PIG_ROAM", DVPTR(PIG_ROAM), PIG_ROAM__STATIC },
168
    { "PIG_RECOG", DVPTR(PIG_RECOG), PIG_RECOG__STATIC },
169
    { "PIG_ATTACK", DVPTR(PIG_ATTACK), PIG_ATTACK__STATIC },
170
    { "PIG_PAIN", DVPTR(PIG_PAIN), PIG_PAIN__STATIC },
171
    { "PIG_DYING", DVPTR(PIG_DYING), PIG_DYING__STATIC },
172
    { "RECO_ROAM", DVPTR(RECO_ROAM), RECO_ROAM__STATIC },
173
    { "RECO_RECOG", DVPTR(RECO_RECOG), RECO_RECOG__STATIC },
174
    { "RECO_ATTACK", DVPTR(RECO_ATTACK), RECO_ATTACK__STATIC },
175
    { "RECO_PAIN", DVPTR(RECO_PAIN), RECO_PAIN__STATIC },
176
    { "RECO_DYING", DVPTR(RECO_DYING), RECO_DYING__STATIC },
177
    { "DRON_ROAM", DVPTR(DRON_ROAM), DRON_ROAM__STATIC },
178
    { "DRON_RECOG", DVPTR(DRON_RECOG), DRON_RECOG__STATIC },
179
    { "DRON_ATTACK1", DVPTR(DRON_ATTACK1), DRON_ATTACK1__STATIC },
180
    { "DRON_PAIN", DVPTR(DRON_PAIN), DRON_PAIN__STATIC },
181
    { "DRON_DYING", DVPTR(DRON_DYING), DRON_DYING__STATIC },
182
    { "COMM_ROAM", DVPTR(COMM_ROAM), COMM_ROAM__STATIC },
183
    { "COMM_RECOG", DVPTR(COMM_RECOG), COMM_RECOG__STATIC },
184
    { "COMM_ATTACK", DVPTR(COMM_ATTACK), COMM_ATTACK__STATIC },
185
    { "COMM_PAIN", DVPTR(COMM_PAIN), COMM_PAIN__STATIC },
186
    { "COMM_DYING", DVPTR(COMM_DYING), COMM_DYING__STATIC },
187
    { "OCTA_ROAM", DVPTR(OCTA_ROAM), OCTA_ROAM__STATIC },
188
    { "OCTA_RECOG", DVPTR(OCTA_RECOG), OCTA_RECOG__STATIC },
189
    { "OCTA_ATTACK1", DVPTR(OCTA_ATTACK1), OCTA_ATTACK1__STATIC },
190
    { "OCTA_PAIN", DVPTR(OCTA_PAIN), OCTA_PAIN__STATIC },
191
    { "OCTA_DYING", DVPTR(OCTA_DYING), OCTA_DYING__STATIC },
192
    { "TURR_ROAM", DVPTR(TURR_ROAM), TURR_ROAM__STATIC },
193
    { "TURR_RECOG", DVPTR(TURR_RECOG), TURR_RECOG__STATIC },
194
    { "TURR_ATTACK", DVPTR(TURR_ATTACK), TURR_ATTACK__STATIC },
195
    { "DUMPSTER_MOVE", DVPTR(DUMPSTER_MOVE), DUMPSTER_MOVE__STATIC },
196
    { "SLIM_DYING", DVPTR(SLIM_DYING), SLIM_DYING__STATIC },
197
    { "BOS3_ROAM", DVPTR(BOS3_ROAM), BOS3_ROAM__STATIC },
198
    { "BOS3_RECOG", DVPTR(BOS3_RECOG), BOS3_RECOG__STATIC },
199
    { "BOS3_ATTACK1", DVPTR(BOS3_ATTACK1), BOS3_ATTACK1__STATIC },
200
    { "BOS3_PAIN", DVPTR(BOS3_PAIN), BOS3_PAIN__STATIC },
201
    { "BOS1_ATTACK2", DVPTR(BOS1_ATTACK2), BOS1_ATTACK2__STATIC },
202
    { "COMM_SPIN", DVPTR(COMM_SPIN), COMM_SPIN__STATIC },
203
    { "BOS1_WALK", DVPTR(BOS1_WALK), BOS1_WALK__STATIC },
204
    { "DRON_ATTACK2", DVPTR(DRON_ATTACK2), DRON_ATTACK2__STATIC },
205
    { "THUD", DVPTR(THUD), THUD__STATIC },
206
    { "OCTA_ATTACK2", DVPTR(OCTA_ATTACK2), OCTA_ATTACK2__STATIC },
207
    { "WIERDSHOT_FLY", DVPTR(WIERDSHOT_FLY), WIERDSHOT_FLY__STATIC },
208
    { "TURR_PAIN", DVPTR(TURR_PAIN), TURR_PAIN__STATIC },
209
    { "TURR_DYING", DVPTR(TURR_DYING), TURR_DYING__STATIC },
210
    { "SLIM_ROAM", DVPTR(SLIM_ROAM), SLIM_ROAM__STATIC },
211
    { "LADY_SCREAM", DVPTR(LADY_SCREAM), LADY_SCREAM__STATIC },
212
    { "DOOR_OPERATE2", DVPTR(DOOR_OPERATE2), DOOR_OPERATE2__STATIC },
213
    { "DOOR_OPERATE3", DVPTR(DOOR_OPERATE3), DOOR_OPERATE3__STATIC },
214
    { "DOOR_OPERATE4", DVPTR(DOOR_OPERATE4), DOOR_OPERATE4__STATIC },
215
    { "BORNTOBEWILDSND", DVPTR(BORNTOBEWILDSND), BORNTOBEWILDSND__STATIC },
216
    { "SHOTGUN_COCK", DVPTR(SHOTGUN_COCK), SHOTGUN_COCK__STATIC },
217
    { "GENERIC_AMBIENCE1", DVPTR(GENERIC_AMBIENCE1), GENERIC_AMBIENCE1__STATIC },
218
    { "GENERIC_AMBIENCE2", DVPTR(GENERIC_AMBIENCE2), GENERIC_AMBIENCE2__STATIC },
219
    { "GENERIC_AMBIENCE3", DVPTR(GENERIC_AMBIENCE3), GENERIC_AMBIENCE3__STATIC },
220
    { "GENERIC_AMBIENCE4", DVPTR(GENERIC_AMBIENCE4), GENERIC_AMBIENCE4__STATIC },
221
    { "GENERIC_AMBIENCE5", DVPTR(GENERIC_AMBIENCE5), GENERIC_AMBIENCE5__STATIC },
222
    { "GENERIC_AMBIENCE6", DVPTR(GENERIC_AMBIENCE6), GENERIC_AMBIENCE6__STATIC },
223
    { "BOS3_ATTACK2", DVPTR(BOS3_ATTACK2), BOS3_ATTACK2__STATIC },
224
    { "GENERIC_AMBIENCE17", DVPTR(GENERIC_AMBIENCE17), GENERIC_AMBIENCE17__STATIC },
225
    { "GENERIC_AMBIENCE18", DVPTR(GENERIC_AMBIENCE18), GENERIC_AMBIENCE18__STATIC },
226
    { "GENERIC_AMBIENCE19", DVPTR(GENERIC_AMBIENCE19), GENERIC_AMBIENCE19__STATIC },
227
    { "GENERIC_AMBIENCE20", DVPTR(GENERIC_AMBIENCE20), GENERIC_AMBIENCE20__STATIC },
228
    { "GENERIC_AMBIENCE21", DVPTR(GENERIC_AMBIENCE21), GENERIC_AMBIENCE21__STATIC },
229
    { "GENERIC_AMBIENCE22", DVPTR(GENERIC_AMBIENCE22), GENERIC_AMBIENCE22__STATIC },
230
    { "SECRETLEVELSND", DVPTR(SECRETLEVELSND), SECRETLEVELSND__STATIC },
231
    { "GENERIC_AMBIENCE8", DVPTR(GENERIC_AMBIENCE8), GENERIC_AMBIENCE8__STATIC },
232
    { "GENERIC_AMBIENCE9", DVPTR(GENERIC_AMBIENCE9), GENERIC_AMBIENCE9__STATIC },
233
    { "GENERIC_AMBIENCE10", DVPTR(GENERIC_AMBIENCE10), GENERIC_AMBIENCE10__STATIC },
234
    { "GENERIC_AMBIENCE11", DVPTR(GENERIC_AMBIENCE11), GENERIC_AMBIENCE11__STATIC },
235
    { "GENERIC_AMBIENCE12", DVPTR(GENERIC_AMBIENCE12), GENERIC_AMBIENCE12__STATIC },
236
    { "GENERIC_AMBIENCE13", DVPTR(GENERIC_AMBIENCE13), GENERIC_AMBIENCE13__STATIC },
237
    { "GENERIC_AMBIENCE14", DVPTR(GENERIC_AMBIENCE14), GENERIC_AMBIENCE14__STATIC },
238
    { "GENERIC_AMBIENCE15", DVPTR(GENERIC_AMBIENCE15), GENERIC_AMBIENCE15__STATIC },
239
    { "GENERIC_AMBIENCE16", DVPTR(GENERIC_AMBIENCE16), GENERIC_AMBIENCE16__STATIC },
240
    { "FIRE_CRACKLE", DVPTR(FIRE_CRACKLE), FIRE_CRACKLE__STATIC },
241
    { "BONUS_SPEECH1", DVPTR(BONUS_SPEECH1), BONUS_SPEECH1__STATIC },
242
    { "BONUS_SPEECH2", DVPTR(BONUS_SPEECH2), BONUS_SPEECH2__STATIC },
243
    { "BONUS_SPEECH3", DVPTR(BONUS_SPEECH3), BONUS_SPEECH3__STATIC },
244
    { "PIG_CAPTURE_DUKE", DVPTR(PIG_CAPTURE_DUKE), PIG_CAPTURE_DUKE__STATIC },
245
    { "BONUS_SPEECH4", DVPTR(BONUS_SPEECH4), BONUS_SPEECH4__STATIC },
246
    { "DUKE_LAND_HURT", DVPTR(DUKE_LAND_HURT), DUKE_LAND_HURT__STATIC },
247
    { "DUKE_HIT_STRIPPER1", DVPTR(DUKE_HIT_STRIPPER1), DUKE_HIT_STRIPPER1__STATIC },
248
    { "DUKE_TIP1", DVPTR(DUKE_TIP1), DUKE_TIP1__STATIC },
249
    { "DUKE_KILLED2", DVPTR(DUKE_KILLED2), DUKE_KILLED2__STATIC },
250
    { "PRED_ROAM2", DVPTR(PRED_ROAM2), PRED_ROAM2__STATIC },
251
    { "PIG_ROAM2", DVPTR(PIG_ROAM2), PIG_ROAM2__STATIC },
252
    { "DUKE_GETWEAPON1", DVPTR(DUKE_GETWEAPON1), DUKE_GETWEAPON1__STATIC },
253
    { "DUKE_SEARCH2", DVPTR(DUKE_SEARCH2), DUKE_SEARCH2__STATIC },
254
    { "DUKE_CRACK2", DVPTR(DUKE_CRACK2), DUKE_CRACK2__STATIC },
255
    { "DUKE_SEARCH", DVPTR(DUKE_SEARCH), DUKE_SEARCH__STATIC },
256
    { "DUKE_GET", DVPTR(DUKE_GET), DUKE_GET__STATIC },
257
    { "DUKE_LONGTERM_PAIN", DVPTR(DUKE_LONGTERM_PAIN), DUKE_LONGTERM_PAIN__STATIC },
258
    { "MONITOR_ACTIVE", DVPTR(MONITOR_ACTIVE), MONITOR_ACTIVE__STATIC },
259
    { "NITEVISION_ONOFF", DVPTR(NITEVISION_ONOFF), NITEVISION_ONOFF__STATIC },
260
    { "DUKE_HIT_STRIPPER2", DVPTR(DUKE_HIT_STRIPPER2), DUKE_HIT_STRIPPER2__STATIC },
261
    { "DUKE_CRACK_FIRST", DVPTR(DUKE_CRACK_FIRST), DUKE_CRACK_FIRST__STATIC },
262
    { "DUKE_USEMEDKIT", DVPTR(DUKE_USEMEDKIT), DUKE_USEMEDKIT__STATIC },
263
    { "DUKE_TAKEPILLS", DVPTR(DUKE_TAKEPILLS), DUKE_TAKEPILLS__STATIC },
264
    { "DUKE_PISSRELIEF", DVPTR(DUKE_PISSRELIEF), DUKE_PISSRELIEF__STATIC },
265
    { "SELECT_WEAPON", DVPTR(SELECT_WEAPON), SELECT_WEAPON__STATIC },
266
    { "WATER_GURGLE", DVPTR(WATER_GURGLE), WATER_GURGLE__STATIC },
267
    { "DUKE_GETWEAPON4", DVPTR(DUKE_GETWEAPON4), DUKE_GETWEAPON4__STATIC },
268
    { "JIBBED_ACTOR1", DVPTR(JIBBED_ACTOR1), JIBBED_ACTOR1__STATIC },
269
    { "JIBBED_ACTOR2", DVPTR(JIBBED_ACTOR2), JIBBED_ACTOR2__STATIC },
270
    { "JIBBED_ACTOR3", DVPTR(JIBBED_ACTOR3), JIBBED_ACTOR3__STATIC },
271
    { "JIBBED_ACTOR4", DVPTR(JIBBED_ACTOR4), JIBBED_ACTOR4__STATIC },
272
    { "JIBBED_ACTOR5", DVPTR(JIBBED_ACTOR5), JIBBED_ACTOR5__STATIC },
273
    { "JIBBED_ACTOR6", DVPTR(JIBBED_ACTOR6), JIBBED_ACTOR6__STATIC },
274
    { "JIBBED_ACTOR7", DVPTR(JIBBED_ACTOR7), JIBBED_ACTOR7__STATIC },
275
    { "DUKE_GOTHEALTHATLOW", DVPTR(DUKE_GOTHEALTHATLOW), DUKE_GOTHEALTHATLOW__STATIC },
276
    { "BOSSTALKTODUKE", DVPTR(BOSSTALKTODUKE), BOSSTALKTODUKE__STATIC },
277
    { "WAR_AMBIENCE1", DVPTR(WAR_AMBIENCE1), WAR_AMBIENCE1__STATIC },
278
    { "WAR_AMBIENCE2", DVPTR(WAR_AMBIENCE2), WAR_AMBIENCE2__STATIC },
279
    { "WAR_AMBIENCE3", DVPTR(WAR_AMBIENCE3), WAR_AMBIENCE3__STATIC },
280
    { "WAR_AMBIENCE4", DVPTR(WAR_AMBIENCE4), WAR_AMBIENCE4__STATIC },
281
    { "WAR_AMBIENCE5", DVPTR(WAR_AMBIENCE5), WAR_AMBIENCE5__STATIC },
282
    { "WAR_AMBIENCE6", DVPTR(WAR_AMBIENCE6), WAR_AMBIENCE6__STATIC },
283
    { "WAR_AMBIENCE7", DVPTR(WAR_AMBIENCE7), WAR_AMBIENCE7__STATIC },
284
    { "WAR_AMBIENCE8", DVPTR(WAR_AMBIENCE8), WAR_AMBIENCE8__STATIC },
285
    { "WAR_AMBIENCE9", DVPTR(WAR_AMBIENCE9), WAR_AMBIENCE9__STATIC },
286
    { "WAR_AMBIENCE10", DVPTR(WAR_AMBIENCE10), WAR_AMBIENCE10__STATIC },
287
    { "ALIEN_TALK1", DVPTR(ALIEN_TALK1), ALIEN_TALK1__STATIC },
288
    { "ALIEN_TALK2", DVPTR(ALIEN_TALK2), ALIEN_TALK2__STATIC },
289
    { "EXITMENUSOUND", DVPTR(EXITMENUSOUND), EXITMENUSOUND__STATIC },
290
    { "FLY_BY", DVPTR(FLY_BY), FLY_BY__STATIC },
291
    { "DUKE_SCREAM", DVPTR(DUKE_SCREAM), DUKE_SCREAM__STATIC },
292
    { "SHRINKER_HIT", DVPTR(SHRINKER_HIT), SHRINKER_HIT__STATIC },
293
    { "RATTY", DVPTR(RATTY), RATTY__STATIC },
294
    { "INTO_MENU", DVPTR(INTO_MENU), INTO_MENU__STATIC },
295
    { "BONUSMUSIC", DVPTR(BONUSMUSIC), BONUSMUSIC__STATIC },
296
    { "DUKE_BOOBY", DVPTR(DUKE_BOOBY), DUKE_BOOBY__STATIC },
297
    { "DUKE_TALKTOBOSSFALL", DVPTR(DUKE_TALKTOBOSSFALL), DUKE_TALKTOBOSSFALL__STATIC },
298
    { "DUKE_LOOKINTOMIRROR", DVPTR(DUKE_LOOKINTOMIRROR), DUKE_LOOKINTOMIRROR__STATIC },
299
    { "PIG_ROAM3", DVPTR(PIG_ROAM3), PIG_ROAM3__STATIC },
300
    { "KILLME", DVPTR(KILLME), KILLME__STATIC },
301
    { "DRON_JETSND", DVPTR(DRON_JETSND), DRON_JETSND__STATIC },
302
    { "SPACE_DOOR1", DVPTR(SPACE_DOOR1), SPACE_DOOR1__STATIC },
303
    { "SPACE_DOOR2", DVPTR(SPACE_DOOR2), SPACE_DOOR2__STATIC },
304
    { "SPACE_DOOR3", DVPTR(SPACE_DOOR3), SPACE_DOOR3__STATIC },
305
    { "SPACE_DOOR4", DVPTR(SPACE_DOOR4), SPACE_DOOR4__STATIC },
306
    { "SPACE_DOOR5", DVPTR(SPACE_DOOR5), SPACE_DOOR5__STATIC },
307
    { "ALIEN_ELEVATOR1", DVPTR(ALIEN_ELEVATOR1), ALIEN_ELEVATOR1__STATIC },
308
    { "VAULT_DOOR", DVPTR(VAULT_DOOR), VAULT_DOOR__STATIC },
309
    { "JIBBED_ACTOR13", DVPTR(JIBBED_ACTOR13), JIBBED_ACTOR13__STATIC },
310
    { "DUKE_GETWEAPON6", DVPTR(DUKE_GETWEAPON6), DUKE_GETWEAPON6__STATIC },
311
    { "JIBBED_ACTOR8", DVPTR(JIBBED_ACTOR8), JIBBED_ACTOR8__STATIC },
312
    { "JIBBED_ACTOR9", DVPTR(JIBBED_ACTOR9), JIBBED_ACTOR9__STATIC },
313
    { "JIBBED_ACTOR10", DVPTR(JIBBED_ACTOR10), JIBBED_ACTOR10__STATIC },
314
    { "JIBBED_ACTOR11", DVPTR(JIBBED_ACTOR11), JIBBED_ACTOR11__STATIC },
315
    { "JIBBED_ACTOR12", DVPTR(JIBBED_ACTOR12), JIBBED_ACTOR12__STATIC },
316
    { "DUKE_KILLED4", DVPTR(DUKE_KILLED4), DUKE_KILLED4__STATIC },
317
    { "DUKE_KILLED5", DVPTR(DUKE_KILLED5), DUKE_KILLED5__STATIC },
318
    { "ALIEN_SWITCH1", DVPTR(ALIEN_SWITCH1), ALIEN_SWITCH1__STATIC },
319
    { "DUKE_STEPONFECES", DVPTR(DUKE_STEPONFECES), DUKE_STEPONFECES__STATIC },
320
    { "DUKE_LONGTERM_PAIN2", DVPTR(DUKE_LONGTERM_PAIN2), DUKE_LONGTERM_PAIN2__STATIC },
321
    { "DUKE_LONGTERM_PAIN3", DVPTR(DUKE_LONGTERM_PAIN3), DUKE_LONGTERM_PAIN3__STATIC },
322
    { "DUKE_LONGTERM_PAIN4", DVPTR(DUKE_LONGTERM_PAIN4), DUKE_LONGTERM_PAIN4__STATIC },
323
    { "COMPANB2", DVPTR(COMPANB2), COMPANB2__STATIC },
324
    { "KTIT", DVPTR(KTIT), KTIT__STATIC },
325
    { "HELICOP_IDLE", DVPTR(HELICOP_IDLE), HELICOP_IDLE__STATIC },
326
    { "STEPNIT", DVPTR(STEPNIT), STEPNIT__STATIC },
327
    { "SPACE_AMBIENCE1", DVPTR(SPACE_AMBIENCE1), SPACE_AMBIENCE1__STATIC },
328
    { "SPACE_AMBIENCE2", DVPTR(SPACE_AMBIENCE2), SPACE_AMBIENCE2__STATIC },
329
    { "SLIM_HATCH", DVPTR(SLIM_HATCH), SLIM_HATCH__STATIC },
330
    { "RIPHEADNECK", DVPTR(RIPHEADNECK), RIPHEADNECK__STATIC },
331
    { "FOUNDJONES", DVPTR(FOUNDJONES), FOUNDJONES__STATIC },
332
    { "ALIEN_DOOR1", DVPTR(ALIEN_DOOR1), ALIEN_DOOR1__STATIC },
333
    { "ALIEN_DOOR2", DVPTR(ALIEN_DOOR2), ALIEN_DOOR2__STATIC },
334
    { "ENDSEQVOL3SND4", DVPTR(ENDSEQVOL3SND4), ENDSEQVOL3SND4__STATIC },
335
    { "ENDSEQVOL3SND5", DVPTR(ENDSEQVOL3SND5), ENDSEQVOL3SND5__STATIC },
336
    { "ENDSEQVOL3SND6", DVPTR(ENDSEQVOL3SND6), ENDSEQVOL3SND6__STATIC },
337
    { "ENDSEQVOL3SND7", DVPTR(ENDSEQVOL3SND7), ENDSEQVOL3SND7__STATIC },
338
    { "ENDSEQVOL3SND8", DVPTR(ENDSEQVOL3SND8), ENDSEQVOL3SND8__STATIC },
339
    { "ENDSEQVOL3SND9", DVPTR(ENDSEQVOL3SND9), ENDSEQVOL3SND9__STATIC },
340
    { "WHIPYOURASS", DVPTR(WHIPYOURASS), WHIPYOURASS__STATIC },
341
    { "ENDSEQVOL2SND1", DVPTR(ENDSEQVOL2SND1), ENDSEQVOL2SND1__STATIC },
342
    { "ENDSEQVOL2SND2", DVPTR(ENDSEQVOL2SND2), ENDSEQVOL2SND2__STATIC },
343
    { "ENDSEQVOL2SND3", DVPTR(ENDSEQVOL2SND3), ENDSEQVOL2SND3__STATIC },
344
    { "ENDSEQVOL2SND4", DVPTR(ENDSEQVOL2SND4), ENDSEQVOL2SND4__STATIC },
345
    { "ENDSEQVOL2SND5", DVPTR(ENDSEQVOL2SND5), ENDSEQVOL2SND5__STATIC },
346
    { "ENDSEQVOL2SND6", DVPTR(ENDSEQVOL2SND6), ENDSEQVOL2SND6__STATIC },
347
    { "ENDSEQVOL2SND7", DVPTR(ENDSEQVOL2SND7), ENDSEQVOL2SND7__STATIC },
348
    { "GENERIC_AMBIENCE23", DVPTR(GENERIC_AMBIENCE23), GENERIC_AMBIENCE23__STATIC },
349
    { "SOMETHINGFROZE", DVPTR(SOMETHINGFROZE), SOMETHINGFROZE__STATIC },
350
    { "DUKE_LONGTERM_PAIN5", DVPTR(DUKE_LONGTERM_PAIN5), DUKE_LONGTERM_PAIN5__STATIC },
351
    { "DUKE_LONGTERM_PAIN6", DVPTR(DUKE_LONGTERM_PAIN6), DUKE_LONGTERM_PAIN6__STATIC },
352
    { "DUKE_LONGTERM_PAIN7", DVPTR(DUKE_LONGTERM_PAIN7), DUKE_LONGTERM_PAIN7__STATIC },
353
    { "DUKE_LONGTERM_PAIN8", DVPTR(DUKE_LONGTERM_PAIN8), DUKE_LONGTERM_PAIN8__STATIC },
354
    { "WIND_REPEAT", DVPTR(WIND_REPEAT), WIND_REPEAT__STATIC },
355
    { "MYENEMY_ROAM", DVPTR(MYENEMY_ROAM), MYENEMY_ROAM__STATIC },
356
    { "MYENEMY_HURT", DVPTR(MYENEMY_HURT), MYENEMY_HURT__STATIC },
357
    { "MYENEMY_DEAD", DVPTR(MYENEMY_DEAD), MYENEMY_DEAD__STATIC },
358
    { "MYENEMY_SHOOT", DVPTR(MYENEMY_SHOOT), MYENEMY_SHOOT__STATIC },
359
    { "STORE_MUSIC", DVPTR(STORE_MUSIC), STORE_MUSIC__STATIC },
360
    { "STORE_MUSIC_BROKE", DVPTR(STORE_MUSIC_BROKE), STORE_MUSIC_BROKE__STATIC },
361
    { "ACTOR_GROWING", DVPTR(ACTOR_GROWING), ACTOR_GROWING__STATIC },
362
    { "NEWBEAST_ROAM", DVPTR(NEWBEAST_ROAM), NEWBEAST_ROAM__STATIC },
363
    { "NEWBEAST_RECOG", DVPTR(NEWBEAST_RECOG), NEWBEAST_RECOG__STATIC },
364
    { "NEWBEAST_ATTACK", DVPTR(NEWBEAST_ATTACK), NEWBEAST_ATTACK__STATIC },
365
    { "NEWBEAST_PAIN", DVPTR(NEWBEAST_PAIN), NEWBEAST_PAIN__STATIC },
366
    { "NEWBEAST_DYING", DVPTR(NEWBEAST_DYING), NEWBEAST_DYING__STATIC },
367
    { "NEWBEAST_SPIT", DVPTR(NEWBEAST_SPIT), NEWBEAST_SPIT__STATIC },
368
    { "VOL4_1", DVPTR(VOL4_1), VOL4_1__STATIC },
369
    { "SUPERMARKET", DVPTR(SUPERMARKET), SUPERMARKET__STATIC },
370
    { "MOUSEANNOY", DVPTR(MOUSEANNOY), MOUSEANNOY__STATIC },
371
    { "BOOKEM", DVPTR(BOOKEM), BOOKEM__STATIC },
372
    { "SUPERMARKETCRY", DVPTR(SUPERMARKETCRY), SUPERMARKETCRY__STATIC },
373
    { "DESTRUCT", DVPTR(DESTRUCT), DESTRUCT__STATIC },
374
    { "EATFOOD", DVPTR(EATFOOD), EATFOOD__STATIC },
375
    { "MAKEMYDAY", DVPTR(MAKEMYDAY), MAKEMYDAY__STATIC },
376
    { "WITNESSSTAND", DVPTR(WITNESSSTAND), WITNESSSTAND__STATIC },
377
    { "VACATIONSPEECH", DVPTR(VACATIONSPEECH), VACATIONSPEECH__STATIC },
378
    { "YIPPEE1", DVPTR(YIPPEE1), YIPPEE1__STATIC },
379
    { "YOHOO1", DVPTR(YOHOO1), YOHOO1__STATIC },
380
    { "YOHOO2", DVPTR(YOHOO2), YOHOO2__STATIC },
381
    { "DOLPHINSND", DVPTR(DOLPHINSND), DOLPHINSND__STATIC },
382
    { "TOUGHGALSND1", DVPTR(TOUGHGALSND1), TOUGHGALSND1__STATIC },
383
    { "TOUGHGALSND2", DVPTR(TOUGHGALSND2), TOUGHGALSND2__STATIC },
384
    { "TOUGHGALSND3", DVPTR(TOUGHGALSND3), TOUGHGALSND3__STATIC },
385
    { "TOUGHGALSND4", DVPTR(TOUGHGALSND4), TOUGHGALSND4__STATIC },
386
    { "TANK_ROAM", DVPTR(TANK_ROAM), TANK_ROAM__STATIC },
387
    { "BOS4_ROAM", DVPTR(BOS4_ROAM), BOS4_ROAM__STATIC },
388
    { "BOS4_RECOG", DVPTR(BOS4_RECOG), BOS4_RECOG__STATIC },
389
    { "BOS4_ATTACK", DVPTR(BOS4_ATTACK), BOS4_ATTACK__STATIC },
390
    { "BOS4_PAIN", DVPTR(BOS4_PAIN), BOS4_PAIN__STATIC },
391
    { "BOS4_DYING", DVPTR(BOS4_DYING), BOS4_DYING__STATIC },
392
    { "NEWBEAST_ATTACKMISS", DVPTR(NEWBEAST_ATTACKMISS), NEWBEAST_ATTACKMISS__STATIC },
393
    { "VOL4_2", DVPTR(VOL4_2), VOL4_2__STATIC },
394
    { "COOKINGDEEPFRIER", DVPTR(COOKINGDEEPFRIER), COOKINGDEEPFRIER__STATIC },
395
    { "WHINING_DOG", DVPTR(WHINING_DOG), WHINING_DOG__STATIC },
396
    { "DEAD_DOG", DVPTR(DEAD_DOG), DEAD_DOG__STATIC },
397
    { "LIGHTNING_SLAP", DVPTR(LIGHTNING_SLAP), LIGHTNING_SLAP__STATIC },
398
    { "THUNDER", DVPTR(THUNDER), THUNDER__STATIC },
399
    { "HAPPYMOUSESND1", DVPTR(HAPPYMOUSESND1), HAPPYMOUSESND1__STATIC },
400
    { "HAPPYMOUSESND2", DVPTR(HAPPYMOUSESND2), HAPPYMOUSESND2__STATIC },
401
    { "HAPPYMOUSESND3", DVPTR(HAPPYMOUSESND3), HAPPYMOUSESND3__STATIC },
402
    { "HAPPYMOUSESND4", DVPTR(HAPPYMOUSESND4), HAPPYMOUSESND4__STATIC },
403
    { "ALARM", DVPTR(ALARM), ALARM__STATIC },
404
    { "RAIN", DVPTR(RAIN), RAIN__STATIC },
405
    { "DTAG_GREENRUN", DVPTR(DTAG_GREENRUN), DTAG_GREENRUN__STATIC },
406
    { "DTAG_BROWNRUN", DVPTR(DTAG_BROWNRUN), DTAG_BROWNRUN__STATIC },
407
    { "DTAG_GREENSCORE", DVPTR(DTAG_GREENSCORE), DTAG_GREENSCORE__STATIC },
408
    { "DTAG_BROWNSCORE", DVPTR(DTAG_BROWNSCORE), DTAG_BROWNSCORE__STATIC },
409
    { "INTRO4_1", DVPTR(INTRO4_1), INTRO4_1__STATIC },
410
    { "INTRO4_2", DVPTR(INTRO4_2), INTRO4_2__STATIC },
411
    { "INTRO4_3", DVPTR(INTRO4_3), INTRO4_3__STATIC },
412
    { "INTRO4_4", DVPTR(INTRO4_4), INTRO4_4__STATIC },
413
    { "INTRO4_5", DVPTR(INTRO4_5), INTRO4_5__STATIC },
414
    { "INTRO4_6", DVPTR(INTRO4_6), INTRO4_6__STATIC },
415
    { "SCREECH", DVPTR(SCREECH), SCREECH__STATIC },
416
    { "BOSS4_DEADSPEECH", DVPTR(BOSS4_DEADSPEECH), BOSS4_DEADSPEECH__STATIC },
417
    { "BOSS4_FIRSTSEE", DVPTR(BOSS4_FIRSTSEE), BOSS4_FIRSTSEE__STATIC },
418
    { "PARTY_SPEECH", DVPTR(PARTY_SPEECH), PARTY_SPEECH__STATIC },
419
    { "POSTAL_SPEECH", DVPTR(POSTAL_SPEECH), POSTAL_SPEECH__STATIC },
420
    { "TGSPEECH", DVPTR(TGSPEECH), TGSPEECH__STATIC },
421
    { "DOGROOMSPEECH", DVPTR(DOGROOMSPEECH), DOGROOMSPEECH__STATIC },
422
    { "SMACKED", DVPTR(SMACKED), SMACKED__STATIC },
423
    { "MDEVSPEECH", DVPTR(MDEVSPEECH), MDEVSPEECH__STATIC },
424
    { "AREA51SPEECH", DVPTR(AREA51SPEECH), AREA51SPEECH__STATIC },
425
    { "JEEPSOUND", DVPTR(JEEPSOUND), JEEPSOUND__STATIC },
426
    { "BIGDOORSLAM", DVPTR(BIGDOORSLAM), BIGDOORSLAM__STATIC },
427
    { "BOS4_LAY", DVPTR(BOS4_LAY), BOS4_LAY__STATIC },
428
    { "WAVESOUND", DVPTR(WAVESOUND), WAVESOUND__STATIC },
429
    { "ILLBEBACK", DVPTR(ILLBEBACK), ILLBEBACK__STATIC },
430
    { "VOL4ENDSND1", DVPTR(VOL4ENDSND1), VOL4ENDSND1__STATIC },
431
    { "VOL4ENDSND2", DVPTR(VOL4ENDSND2), VOL4ENDSND2__STATIC },
432
    { "EXPANDERHIT", DVPTR(EXPANDERHIT), EXPANDERHIT__STATIC },
433
    { "SNAKESPEECH", DVPTR(SNAKESPEECH), SNAKESPEECH__STATIC },
434
    { "EXPANDERSHOOT", DVPTR(EXPANDERSHOOT), EXPANDERSHOOT__STATIC },
435
    { "GETBACKTOWORK", DVPTR(GETBACKTOWORK), GETBACKTOWORK__STATIC },
436
    { "JIBBED_ACTOR14", DVPTR(JIBBED_ACTOR14), JIBBED_ACTOR14__STATIC },
437
    { "JIBBED_ACTOR15", DVPTR(JIBBED_ACTOR15), JIBBED_ACTOR15__STATIC },
438
    { "INTRO4_B", DVPTR(INTRO4_B), INTRO4_B__STATIC },
439
    { "BIGBANG", DVPTR(BIGBANG), BIGBANG__STATIC },
440
    { "HORNSND", DVPTR(HORNSND), HORNSND__STATIC },
441
    { "BELLSND", DVPTR(BELLSND), BELLSND__STATIC },
442
    { "GOAWAY", DVPTR(GOAWAY), GOAWAY__STATIC },
443
    { "JOKE", DVPTR(JOKE), JOKE__STATIC },
444
    { NULL, NULL, -1 },
445
 };
446
 
447
#ifdef DYNSOUNDREMAP_ENABLE
448
 
449
int32_t KICK_HIT = KICK_HIT__STATIC;
450
int32_t PISTOL_RICOCHET = PISTOL_RICOCHET__STATIC;
451
int32_t PISTOL_BODYHIT = PISTOL_BODYHIT__STATIC;
452
int32_t PISTOL_FIRE = PISTOL_FIRE__STATIC;
453
int32_t EJECT_CLIP = EJECT_CLIP__STATIC;
454
int32_t INSERT_CLIP = INSERT_CLIP__STATIC;
455
int32_t CHAINGUN_FIRE = CHAINGUN_FIRE__STATIC;
456
int32_t RPG_SHOOT = RPG_SHOOT__STATIC;
457
int32_t POOLBALLHIT = POOLBALLHIT__STATIC;
458
int32_t RPG_EXPLODE = RPG_EXPLODE__STATIC;
459
int32_t CAT_FIRE = CAT_FIRE__STATIC;
460
int32_t SHRINKER_FIRE = SHRINKER_FIRE__STATIC;
461
int32_t ACTOR_SHRINKING = ACTOR_SHRINKING__STATIC;
462
int32_t PIPEBOMB_BOUNCE = PIPEBOMB_BOUNCE__STATIC;
463
int32_t PIPEBOMB_EXPLODE = PIPEBOMB_EXPLODE__STATIC;
464
int32_t LASERTRIP_ONWALL = LASERTRIP_ONWALL__STATIC;
465
int32_t LASERTRIP_ARMING = LASERTRIP_ARMING__STATIC;
466
int32_t LASERTRIP_EXPLODE = LASERTRIP_EXPLODE__STATIC;
467
int32_t VENT_BUST = VENT_BUST__STATIC;
468
int32_t GLASS_BREAKING = GLASS_BREAKING__STATIC;
469
int32_t GLASS_HEAVYBREAK = GLASS_HEAVYBREAK__STATIC;
470
int32_t SHORT_CIRCUIT = SHORT_CIRCUIT__STATIC;
471
int32_t ITEM_SPLASH = ITEM_SPLASH__STATIC;
472
int32_t DUKE_BREATHING = DUKE_BREATHING__STATIC;
473
int32_t DUKE_EXHALING = DUKE_EXHALING__STATIC;
474
int32_t DUKE_GASP = DUKE_GASP__STATIC;
475
int32_t SLIM_RECOG = SLIM_RECOG__STATIC;
476
// int32_t ENDSEQVOL3SND1 = ENDSEQVOL3SND1__STATIC;
477
int32_t DUKE_URINATE = DUKE_URINATE__STATIC;
478
int32_t ENDSEQVOL3SND2 = ENDSEQVOL3SND2__STATIC;
479
int32_t ENDSEQVOL3SND3 = ENDSEQVOL3SND3__STATIC;
480
int32_t DUKE_PASSWIND = DUKE_PASSWIND__STATIC;
481
int32_t DUKE_CRACK = DUKE_CRACK__STATIC;
482
int32_t SLIM_ATTACK = SLIM_ATTACK__STATIC;
483
int32_t SOMETHINGHITFORCE = SOMETHINGHITFORCE__STATIC;
484
int32_t DUKE_DRINKING = DUKE_DRINKING__STATIC;
485
int32_t DUKE_KILLED1 = DUKE_KILLED1__STATIC;
486
int32_t DUKE_GRUNT = DUKE_GRUNT__STATIC;
487
int32_t DUKE_HARTBEAT = DUKE_HARTBEAT__STATIC;
488
int32_t DUKE_ONWATER = DUKE_ONWATER__STATIC;
489
int32_t DUKE_DEAD = DUKE_DEAD__STATIC;
490
int32_t DUKE_LAND = DUKE_LAND__STATIC;
491
int32_t DUKE_WALKINDUCTS = DUKE_WALKINDUCTS__STATIC;
492
int32_t DUKE_GLAD = DUKE_GLAD__STATIC;
493
int32_t DUKE_YES = DUKE_YES__STATIC;
494
int32_t DUKE_HEHE = DUKE_HEHE__STATIC;
495
int32_t DUKE_SHUCKS = DUKE_SHUCKS__STATIC;
496
int32_t DUKE_UNDERWATER = DUKE_UNDERWATER__STATIC;
497
int32_t DUKE_JETPACK_ON = DUKE_JETPACK_ON__STATIC;
498
int32_t DUKE_JETPACK_IDLE = DUKE_JETPACK_IDLE__STATIC;
499
int32_t DUKE_JETPACK_OFF = DUKE_JETPACK_OFF__STATIC;
500
int32_t LIZTROOP_GROWL = LIZTROOP_GROWL__STATIC;
501
int32_t LIZTROOP_TALK1 = LIZTROOP_TALK1__STATIC;
502
int32_t LIZTROOP_TALK2 = LIZTROOP_TALK2__STATIC;
503
int32_t LIZTROOP_TALK3 = LIZTROOP_TALK3__STATIC;
504
int32_t DUKETALKTOBOSS = DUKETALKTOBOSS__STATIC;
505
int32_t LIZCAPT_GROWL = LIZCAPT_GROWL__STATIC;
506
int32_t LIZCAPT_TALK1 = LIZCAPT_TALK1__STATIC;
507
int32_t LIZCAPT_TALK2 = LIZCAPT_TALK2__STATIC;
508
int32_t LIZCAPT_TALK3 = LIZCAPT_TALK3__STATIC;
509
int32_t LIZARD_BEG = LIZARD_BEG__STATIC;
510
int32_t LIZARD_PAIN = LIZARD_PAIN__STATIC;
511
int32_t LIZARD_DEATH = LIZARD_DEATH__STATIC;
512
int32_t LIZARD_SPIT = LIZARD_SPIT__STATIC;
513
int32_t DRONE1_HISSRATTLE = DRONE1_HISSRATTLE__STATIC;
514
int32_t DRONE1_HISSSCREECH = DRONE1_HISSSCREECH__STATIC;
515
int32_t DUKE_TIP2 = DUKE_TIP2__STATIC;
516
int32_t FLESH_BURNING = FLESH_BURNING__STATIC;
517
int32_t SQUISHED = SQUISHED__STATIC;
518
int32_t TELEPORTER = TELEPORTER__STATIC;
519
int32_t ELEVATOR_ON = ELEVATOR_ON__STATIC;
520
int32_t DUKE_KILLED3 = DUKE_KILLED3__STATIC;
521
int32_t ELEVATOR_OFF = ELEVATOR_OFF__STATIC;
522
int32_t DOOR_OPERATE1 = DOOR_OPERATE1__STATIC;
523
int32_t SUBWAY = SUBWAY__STATIC;
524
int32_t SWITCH_ON = SWITCH_ON__STATIC;
525
int32_t FAN = FAN__STATIC;
526
int32_t DUKE_GETWEAPON3 = DUKE_GETWEAPON3__STATIC;
527
int32_t FLUSH_TOILET = FLUSH_TOILET__STATIC;
528
int32_t HOVER_CRAFT = HOVER_CRAFT__STATIC;
529
int32_t EARTHQUAKE = EARTHQUAKE__STATIC;
530
int32_t INTRUDER_ALERT = INTRUDER_ALERT__STATIC;
531
int32_t END_OF_LEVEL_WARN = END_OF_LEVEL_WARN__STATIC;
532
int32_t ENGINE_OPERATING = ENGINE_OPERATING__STATIC;
533
int32_t REACTOR_ON = REACTOR_ON__STATIC;
534
int32_t COMPUTER_AMBIENCE = COMPUTER_AMBIENCE__STATIC;
535
int32_t GEARS_GRINDING = GEARS_GRINDING__STATIC;
536
int32_t BUBBLE_AMBIENCE = BUBBLE_AMBIENCE__STATIC;
537
int32_t MACHINE_AMBIENCE = MACHINE_AMBIENCE__STATIC;
538
int32_t SEWER_AMBIENCE = SEWER_AMBIENCE__STATIC;
539
int32_t WIND_AMBIENCE = WIND_AMBIENCE__STATIC;
540
int32_t SOMETHING_DRIPPING = SOMETHING_DRIPPING__STATIC;
541
int32_t STEAM_HISSING = STEAM_HISSING__STATIC;
542
int32_t THEATER_BREATH = THEATER_BREATH__STATIC;
543
int32_t BAR_MUSIC = BAR_MUSIC__STATIC;
544
int32_t BOS1_ROAM = BOS1_ROAM__STATIC;
545
int32_t BOS1_RECOG = BOS1_RECOG__STATIC;
546
int32_t BOS1_ATTACK1 = BOS1_ATTACK1__STATIC;
547
int32_t BOS1_PAIN = BOS1_PAIN__STATIC;
548
int32_t BOS1_DYING = BOS1_DYING__STATIC;
549
int32_t BOS2_ROAM = BOS2_ROAM__STATIC;
550
int32_t BOS2_RECOG = BOS2_RECOG__STATIC;
551
int32_t BOS2_ATTACK = BOS2_ATTACK__STATIC;
552
int32_t BOS2_PAIN = BOS2_PAIN__STATIC;
553
int32_t BOS2_DYING = BOS2_DYING__STATIC;
554
int32_t GETATOMICHEALTH = GETATOMICHEALTH__STATIC;
555
int32_t DUKE_GETWEAPON2 = DUKE_GETWEAPON2__STATIC;
556
int32_t BOS3_DYING = BOS3_DYING__STATIC;
557
int32_t SHOTGUN_FIRE = SHOTGUN_FIRE__STATIC;
558
int32_t PRED_ROAM = PRED_ROAM__STATIC;
559
int32_t PRED_RECOG = PRED_RECOG__STATIC;
560
int32_t PRED_ATTACK = PRED_ATTACK__STATIC;
561
int32_t PRED_PAIN = PRED_PAIN__STATIC;
562
int32_t PRED_DYING = PRED_DYING__STATIC;
563
int32_t CAPT_ROAM = CAPT_ROAM__STATIC;
564
int32_t CAPT_ATTACK = CAPT_ATTACK__STATIC;
565
int32_t CAPT_RECOG = CAPT_RECOG__STATIC;
566
int32_t CAPT_PAIN = CAPT_PAIN__STATIC;
567
int32_t CAPT_DYING = CAPT_DYING__STATIC;
568
int32_t PIG_ROAM = PIG_ROAM__STATIC;
569
int32_t PIG_RECOG = PIG_RECOG__STATIC;
570
int32_t PIG_ATTACK = PIG_ATTACK__STATIC;
571
int32_t PIG_PAIN = PIG_PAIN__STATIC;
572
int32_t PIG_DYING = PIG_DYING__STATIC;
573
int32_t RECO_ROAM = RECO_ROAM__STATIC;
574
int32_t RECO_RECOG = RECO_RECOG__STATIC;
575
int32_t RECO_ATTACK = RECO_ATTACK__STATIC;
576
int32_t RECO_PAIN = RECO_PAIN__STATIC;
577
int32_t RECO_DYING = RECO_DYING__STATIC;
578
int32_t DRON_ROAM = DRON_ROAM__STATIC;
579
int32_t DRON_RECOG = DRON_RECOG__STATIC;
580
int32_t DRON_ATTACK1 = DRON_ATTACK1__STATIC;
581
int32_t DRON_PAIN = DRON_PAIN__STATIC;
582
int32_t DRON_DYING = DRON_DYING__STATIC;
583
int32_t COMM_ROAM = COMM_ROAM__STATIC;
584
int32_t COMM_RECOG = COMM_RECOG__STATIC;
585
int32_t COMM_ATTACK = COMM_ATTACK__STATIC;
586
int32_t COMM_PAIN = COMM_PAIN__STATIC;
587
int32_t COMM_DYING = COMM_DYING__STATIC;
588
int32_t OCTA_ROAM = OCTA_ROAM__STATIC;
589
int32_t OCTA_RECOG = OCTA_RECOG__STATIC;
590
int32_t OCTA_ATTACK1 = OCTA_ATTACK1__STATIC;
591
int32_t OCTA_PAIN = OCTA_PAIN__STATIC;
592
int32_t OCTA_DYING = OCTA_DYING__STATIC;
593
int32_t TURR_ROAM = TURR_ROAM__STATIC;
594
int32_t TURR_RECOG = TURR_RECOG__STATIC;
595
int32_t TURR_ATTACK = TURR_ATTACK__STATIC;
596
int32_t DUMPSTER_MOVE = DUMPSTER_MOVE__STATIC;
597
int32_t SLIM_DYING = SLIM_DYING__STATIC;
598
int32_t BOS3_ROAM = BOS3_ROAM__STATIC;
599
int32_t BOS3_RECOG = BOS3_RECOG__STATIC;
600
int32_t BOS3_ATTACK1 = BOS3_ATTACK1__STATIC;
601
int32_t BOS3_PAIN = BOS3_PAIN__STATIC;
602
int32_t BOS1_ATTACK2 = BOS1_ATTACK2__STATIC;
603
int32_t COMM_SPIN = COMM_SPIN__STATIC;
604
int32_t BOS1_WALK = BOS1_WALK__STATIC;
605
int32_t DRON_ATTACK2 = DRON_ATTACK2__STATIC;
606
int32_t THUD = THUD__STATIC;
607
int32_t OCTA_ATTACK2 = OCTA_ATTACK2__STATIC;
608
int32_t WIERDSHOT_FLY = WIERDSHOT_FLY__STATIC;
609
int32_t TURR_PAIN = TURR_PAIN__STATIC;
610
int32_t TURR_DYING = TURR_DYING__STATIC;
611
int32_t SLIM_ROAM = SLIM_ROAM__STATIC;
612
int32_t LADY_SCREAM = LADY_SCREAM__STATIC;
613
int32_t DOOR_OPERATE2 = DOOR_OPERATE2__STATIC;
614
int32_t DOOR_OPERATE3 = DOOR_OPERATE3__STATIC;
615
int32_t DOOR_OPERATE4 = DOOR_OPERATE4__STATIC;
616
int32_t BORNTOBEWILDSND = BORNTOBEWILDSND__STATIC;
617
int32_t SHOTGUN_COCK = SHOTGUN_COCK__STATIC;
618
int32_t GENERIC_AMBIENCE1 = GENERIC_AMBIENCE1__STATIC;
619
int32_t GENERIC_AMBIENCE2 = GENERIC_AMBIENCE2__STATIC;
620
int32_t GENERIC_AMBIENCE3 = GENERIC_AMBIENCE3__STATIC;
621
int32_t GENERIC_AMBIENCE4 = GENERIC_AMBIENCE4__STATIC;
622
int32_t GENERIC_AMBIENCE5 = GENERIC_AMBIENCE5__STATIC;
623
int32_t GENERIC_AMBIENCE6 = GENERIC_AMBIENCE6__STATIC;
624
int32_t BOS3_ATTACK2 = BOS3_ATTACK2__STATIC;
625
int32_t GENERIC_AMBIENCE17 = GENERIC_AMBIENCE17__STATIC;
626
int32_t GENERIC_AMBIENCE18 = GENERIC_AMBIENCE18__STATIC;
627
int32_t GENERIC_AMBIENCE19 = GENERIC_AMBIENCE19__STATIC;
628
int32_t GENERIC_AMBIENCE20 = GENERIC_AMBIENCE20__STATIC;
629
int32_t GENERIC_AMBIENCE21 = GENERIC_AMBIENCE21__STATIC;
630
int32_t GENERIC_AMBIENCE22 = GENERIC_AMBIENCE22__STATIC;
631
int32_t SECRETLEVELSND = SECRETLEVELSND__STATIC;
632
int32_t GENERIC_AMBIENCE8 = GENERIC_AMBIENCE8__STATIC;
633
int32_t GENERIC_AMBIENCE9 = GENERIC_AMBIENCE9__STATIC;
634
int32_t GENERIC_AMBIENCE10 = GENERIC_AMBIENCE10__STATIC;
635
int32_t GENERIC_AMBIENCE11 = GENERIC_AMBIENCE11__STATIC;
636
int32_t GENERIC_AMBIENCE12 = GENERIC_AMBIENCE12__STATIC;
637
int32_t GENERIC_AMBIENCE13 = GENERIC_AMBIENCE13__STATIC;
638
int32_t GENERIC_AMBIENCE14 = GENERIC_AMBIENCE14__STATIC;
639
int32_t GENERIC_AMBIENCE15 = GENERIC_AMBIENCE15__STATIC;
640
int32_t GENERIC_AMBIENCE16 = GENERIC_AMBIENCE16__STATIC;
641
int32_t FIRE_CRACKLE = FIRE_CRACKLE__STATIC;
642
int32_t BONUS_SPEECH1 = BONUS_SPEECH1__STATIC;
643
int32_t BONUS_SPEECH2 = BONUS_SPEECH2__STATIC;
644
int32_t BONUS_SPEECH3 = BONUS_SPEECH3__STATIC;
645
int32_t PIG_CAPTURE_DUKE = PIG_CAPTURE_DUKE__STATIC;
646
int32_t BONUS_SPEECH4 = BONUS_SPEECH4__STATIC;
647
int32_t DUKE_LAND_HURT = DUKE_LAND_HURT__STATIC;
648
int32_t DUKE_HIT_STRIPPER1 = DUKE_HIT_STRIPPER1__STATIC;
649
int32_t DUKE_TIP1 = DUKE_TIP1__STATIC;
650
int32_t DUKE_KILLED2 = DUKE_KILLED2__STATIC;
651
int32_t PRED_ROAM2 = PRED_ROAM2__STATIC;
652
int32_t PIG_ROAM2 = PIG_ROAM2__STATIC;
653
int32_t DUKE_GETWEAPON1 = DUKE_GETWEAPON1__STATIC;
654
int32_t DUKE_SEARCH2 = DUKE_SEARCH2__STATIC;
655
int32_t DUKE_CRACK2 = DUKE_CRACK2__STATIC;
656
int32_t DUKE_SEARCH = DUKE_SEARCH__STATIC;
657
int32_t DUKE_GET = DUKE_GET__STATIC;
658
int32_t DUKE_LONGTERM_PAIN = DUKE_LONGTERM_PAIN__STATIC;
659
int32_t MONITOR_ACTIVE = MONITOR_ACTIVE__STATIC;
660
int32_t NITEVISION_ONOFF = NITEVISION_ONOFF__STATIC;
661
int32_t DUKE_HIT_STRIPPER2 = DUKE_HIT_STRIPPER2__STATIC;
662
int32_t DUKE_CRACK_FIRST = DUKE_CRACK_FIRST__STATIC;
663
int32_t DUKE_USEMEDKIT = DUKE_USEMEDKIT__STATIC;
664
int32_t DUKE_TAKEPILLS = DUKE_TAKEPILLS__STATIC;
665
int32_t DUKE_PISSRELIEF = DUKE_PISSRELIEF__STATIC;
666
int32_t SELECT_WEAPON = SELECT_WEAPON__STATIC;
667
int32_t WATER_GURGLE = WATER_GURGLE__STATIC;
668
int32_t DUKE_GETWEAPON4 = DUKE_GETWEAPON4__STATIC;
669
int32_t JIBBED_ACTOR1 = JIBBED_ACTOR1__STATIC;
670
int32_t JIBBED_ACTOR2 = JIBBED_ACTOR2__STATIC;
671
int32_t JIBBED_ACTOR3 = JIBBED_ACTOR3__STATIC;
672
int32_t JIBBED_ACTOR4 = JIBBED_ACTOR4__STATIC;
673
int32_t JIBBED_ACTOR5 = JIBBED_ACTOR5__STATIC;
674
int32_t JIBBED_ACTOR6 = JIBBED_ACTOR6__STATIC;
675
int32_t JIBBED_ACTOR7 = JIBBED_ACTOR7__STATIC;
676
int32_t DUKE_GOTHEALTHATLOW = DUKE_GOTHEALTHATLOW__STATIC;
677
int32_t BOSSTALKTODUKE = BOSSTALKTODUKE__STATIC;
678
int32_t WAR_AMBIENCE1 = WAR_AMBIENCE1__STATIC;
679
int32_t WAR_AMBIENCE2 = WAR_AMBIENCE2__STATIC;
680
int32_t WAR_AMBIENCE3 = WAR_AMBIENCE3__STATIC;
681
int32_t WAR_AMBIENCE4 = WAR_AMBIENCE4__STATIC;
682
int32_t WAR_AMBIENCE5 = WAR_AMBIENCE5__STATIC;
683
int32_t WAR_AMBIENCE6 = WAR_AMBIENCE6__STATIC;
684
int32_t WAR_AMBIENCE7 = WAR_AMBIENCE7__STATIC;
685
int32_t WAR_AMBIENCE8 = WAR_AMBIENCE8__STATIC;
686
int32_t WAR_AMBIENCE9 = WAR_AMBIENCE9__STATIC;
687
int32_t WAR_AMBIENCE10 = WAR_AMBIENCE10__STATIC;
688
int32_t ALIEN_TALK1 = ALIEN_TALK1__STATIC;
689
int32_t ALIEN_TALK2 = ALIEN_TALK2__STATIC;
690
int32_t EXITMENUSOUND = EXITMENUSOUND__STATIC;
691
int32_t FLY_BY = FLY_BY__STATIC;
692
int32_t DUKE_SCREAM = DUKE_SCREAM__STATIC;
693
int32_t SHRINKER_HIT = SHRINKER_HIT__STATIC;
694
int32_t RATTY = RATTY__STATIC;
695
int32_t INTO_MENU = INTO_MENU__STATIC;
696
int32_t BONUSMUSIC = BONUSMUSIC__STATIC;
697
int32_t DUKE_BOOBY = DUKE_BOOBY__STATIC;
698
int32_t DUKE_TALKTOBOSSFALL = DUKE_TALKTOBOSSFALL__STATIC;
699
int32_t DUKE_LOOKINTOMIRROR = DUKE_LOOKINTOMIRROR__STATIC;
700
int32_t PIG_ROAM3 = PIG_ROAM3__STATIC;
701
int32_t KILLME = KILLME__STATIC;
702
int32_t DRON_JETSND = DRON_JETSND__STATIC;
703
int32_t SPACE_DOOR1 = SPACE_DOOR1__STATIC;
704
int32_t SPACE_DOOR2 = SPACE_DOOR2__STATIC;
705
int32_t SPACE_DOOR3 = SPACE_DOOR3__STATIC;
706
int32_t SPACE_DOOR4 = SPACE_DOOR4__STATIC;
707
int32_t SPACE_DOOR5 = SPACE_DOOR5__STATIC;
708
int32_t ALIEN_ELEVATOR1 = ALIEN_ELEVATOR1__STATIC;
709
int32_t VAULT_DOOR = VAULT_DOOR__STATIC;
710
int32_t JIBBED_ACTOR13 = JIBBED_ACTOR13__STATIC;
711
int32_t DUKE_GETWEAPON6 = DUKE_GETWEAPON6__STATIC;
712
int32_t JIBBED_ACTOR8 = JIBBED_ACTOR8__STATIC;
713
int32_t JIBBED_ACTOR9 = JIBBED_ACTOR9__STATIC;
714
int32_t JIBBED_ACTOR10 = JIBBED_ACTOR10__STATIC;
715
int32_t JIBBED_ACTOR11 = JIBBED_ACTOR11__STATIC;
716
int32_t JIBBED_ACTOR12 = JIBBED_ACTOR12__STATIC;
717
int32_t DUKE_KILLED4 = DUKE_KILLED4__STATIC;
718
int32_t DUKE_KILLED5 = DUKE_KILLED5__STATIC;
719
int32_t ALIEN_SWITCH1 = ALIEN_SWITCH1__STATIC;
720
int32_t DUKE_STEPONFECES = DUKE_STEPONFECES__STATIC;
721
int32_t DUKE_LONGTERM_PAIN2 = DUKE_LONGTERM_PAIN2__STATIC;
722
int32_t DUKE_LONGTERM_PAIN3 = DUKE_LONGTERM_PAIN3__STATIC;
723
int32_t DUKE_LONGTERM_PAIN4 = DUKE_LONGTERM_PAIN4__STATIC;
724
int32_t COMPANB2 = COMPANB2__STATIC;
725
int32_t KTIT = KTIT__STATIC;
726
int32_t HELICOP_IDLE = HELICOP_IDLE__STATIC;
727
int32_t STEPNIT = STEPNIT__STATIC;
728
int32_t SPACE_AMBIENCE1 = SPACE_AMBIENCE1__STATIC;
729
int32_t SPACE_AMBIENCE2 = SPACE_AMBIENCE2__STATIC;
730
int32_t SLIM_HATCH = SLIM_HATCH__STATIC;
731
int32_t RIPHEADNECK = RIPHEADNECK__STATIC;
732
int32_t FOUNDJONES = FOUNDJONES__STATIC;
733
int32_t ALIEN_DOOR1 = ALIEN_DOOR1__STATIC;
734
int32_t ALIEN_DOOR2 = ALIEN_DOOR2__STATIC;
735
int32_t ENDSEQVOL3SND4 = ENDSEQVOL3SND4__STATIC;
736
int32_t ENDSEQVOL3SND5 = ENDSEQVOL3SND5__STATIC;
737
int32_t ENDSEQVOL3SND6 = ENDSEQVOL3SND6__STATIC;
738
int32_t ENDSEQVOL3SND7 = ENDSEQVOL3SND7__STATIC;
739
int32_t ENDSEQVOL3SND8 = ENDSEQVOL3SND8__STATIC;
740
int32_t ENDSEQVOL3SND9 = ENDSEQVOL3SND9__STATIC;
741
int32_t WHIPYOURASS = WHIPYOURASS__STATIC;
742
int32_t ENDSEQVOL2SND1 = ENDSEQVOL2SND1__STATIC;
743
int32_t ENDSEQVOL2SND2 = ENDSEQVOL2SND2__STATIC;
744
int32_t ENDSEQVOL2SND3 = ENDSEQVOL2SND3__STATIC;
745
int32_t ENDSEQVOL2SND4 = ENDSEQVOL2SND4__STATIC;
746
int32_t ENDSEQVOL2SND5 = ENDSEQVOL2SND5__STATIC;
747
int32_t ENDSEQVOL2SND6 = ENDSEQVOL2SND6__STATIC;
748
int32_t ENDSEQVOL2SND7 = ENDSEQVOL2SND7__STATIC;
749
int32_t GENERIC_AMBIENCE23 = GENERIC_AMBIENCE23__STATIC;
750
int32_t SOMETHINGFROZE = SOMETHINGFROZE__STATIC;
751
int32_t DUKE_LONGTERM_PAIN5 = DUKE_LONGTERM_PAIN5__STATIC;
752
int32_t DUKE_LONGTERM_PAIN6 = DUKE_LONGTERM_PAIN6__STATIC;
753
int32_t DUKE_LONGTERM_PAIN7 = DUKE_LONGTERM_PAIN7__STATIC;
754
int32_t DUKE_LONGTERM_PAIN8 = DUKE_LONGTERM_PAIN8__STATIC;
755
int32_t WIND_REPEAT = WIND_REPEAT__STATIC;
756
int32_t MYENEMY_ROAM = MYENEMY_ROAM__STATIC;
757
int32_t MYENEMY_HURT = MYENEMY_HURT__STATIC;
758
int32_t MYENEMY_DEAD = MYENEMY_DEAD__STATIC;
759
int32_t MYENEMY_SHOOT = MYENEMY_SHOOT__STATIC;
760
int32_t STORE_MUSIC = STORE_MUSIC__STATIC;
761
int32_t STORE_MUSIC_BROKE = STORE_MUSIC_BROKE__STATIC;
762
int32_t ACTOR_GROWING = ACTOR_GROWING__STATIC;
763
int32_t NEWBEAST_ROAM = NEWBEAST_ROAM__STATIC;
764
int32_t NEWBEAST_RECOG = NEWBEAST_RECOG__STATIC;
765
int32_t NEWBEAST_ATTACK = NEWBEAST_ATTACK__STATIC;
766
int32_t NEWBEAST_PAIN = NEWBEAST_PAIN__STATIC;
767
int32_t NEWBEAST_DYING = NEWBEAST_DYING__STATIC;
768
int32_t NEWBEAST_SPIT = NEWBEAST_SPIT__STATIC;
769
int32_t VOL4_1 = VOL4_1__STATIC;
770
int32_t SUPERMARKET = SUPERMARKET__STATIC;
771
int32_t MOUSEANNOY = MOUSEANNOY__STATIC;
772
int32_t BOOKEM = BOOKEM__STATIC;
773
int32_t SUPERMARKETCRY = SUPERMARKETCRY__STATIC;
774
int32_t DESTRUCT = DESTRUCT__STATIC;
775
int32_t EATFOOD = EATFOOD__STATIC;
776
int32_t MAKEMYDAY = MAKEMYDAY__STATIC;
777
int32_t WITNESSSTAND = WITNESSSTAND__STATIC;
778
int32_t VACATIONSPEECH = VACATIONSPEECH__STATIC;
779
int32_t YIPPEE1 = YIPPEE1__STATIC;
780
int32_t YOHOO1 = YOHOO1__STATIC;
781
int32_t YOHOO2 = YOHOO2__STATIC;
782
int32_t DOLPHINSND = DOLPHINSND__STATIC;
783
int32_t TOUGHGALSND1 = TOUGHGALSND1__STATIC;
784
int32_t TOUGHGALSND2 = TOUGHGALSND2__STATIC;
785
int32_t TOUGHGALSND3 = TOUGHGALSND3__STATIC;
786
int32_t TOUGHGALSND4 = TOUGHGALSND4__STATIC;
787
int32_t TANK_ROAM = TANK_ROAM__STATIC;
788
int32_t BOS4_ROAM = BOS4_ROAM__STATIC;
789
int32_t BOS4_RECOG = BOS4_RECOG__STATIC;
790
int32_t BOS4_ATTACK = BOS4_ATTACK__STATIC;
791
int32_t BOS4_PAIN = BOS4_PAIN__STATIC;
792
int32_t BOS4_DYING = BOS4_DYING__STATIC;
793
int32_t NEWBEAST_ATTACKMISS = NEWBEAST_ATTACKMISS__STATIC;
794
int32_t VOL4_2 = VOL4_2__STATIC;
795
int32_t COOKINGDEEPFRIER = COOKINGDEEPFRIER__STATIC;
796
int32_t WHINING_DOG = WHINING_DOG__STATIC;
797
int32_t DEAD_DOG = DEAD_DOG__STATIC;
798
int32_t LIGHTNING_SLAP = LIGHTNING_SLAP__STATIC;
799
int32_t THUNDER = THUNDER__STATIC;
800
int32_t HAPPYMOUSESND1 = HAPPYMOUSESND1__STATIC;
801
int32_t HAPPYMOUSESND2 = HAPPYMOUSESND2__STATIC;
802
int32_t HAPPYMOUSESND3 = HAPPYMOUSESND3__STATIC;
803
int32_t HAPPYMOUSESND4 = HAPPYMOUSESND4__STATIC;
804
int32_t ALARM = ALARM__STATIC;
805
int32_t RAIN = RAIN__STATIC;
806
int32_t DTAG_GREENRUN = DTAG_GREENRUN__STATIC;
807
int32_t DTAG_BROWNRUN = DTAG_BROWNRUN__STATIC;
808
int32_t DTAG_GREENSCORE = DTAG_GREENSCORE__STATIC;
809
int32_t DTAG_BROWNSCORE = DTAG_BROWNSCORE__STATIC;
810
int32_t INTRO4_1 = INTRO4_1__STATIC;
811
int32_t INTRO4_2 = INTRO4_2__STATIC;
812
int32_t INTRO4_3 = INTRO4_3__STATIC;
813
int32_t INTRO4_4 = INTRO4_4__STATIC;
814
int32_t INTRO4_5 = INTRO4_5__STATIC;
815
int32_t INTRO4_6 = INTRO4_6__STATIC;
816
int32_t SCREECH = SCREECH__STATIC;
817
int32_t BOSS4_DEADSPEECH = BOSS4_DEADSPEECH__STATIC;
818
int32_t BOSS4_FIRSTSEE = BOSS4_FIRSTSEE__STATIC;
819
int32_t PARTY_SPEECH = PARTY_SPEECH__STATIC;
820
int32_t POSTAL_SPEECH = POSTAL_SPEECH__STATIC;
821
int32_t TGSPEECH = TGSPEECH__STATIC;
822
int32_t DOGROOMSPEECH = DOGROOMSPEECH__STATIC;
823
int32_t SMACKED = SMACKED__STATIC;
824
int32_t MDEVSPEECH = MDEVSPEECH__STATIC;
825
int32_t AREA51SPEECH = AREA51SPEECH__STATIC;
826
int32_t JEEPSOUND = JEEPSOUND__STATIC;
827
int32_t BIGDOORSLAM = BIGDOORSLAM__STATIC;
828
int32_t BOS4_LAY = BOS4_LAY__STATIC;
829
int32_t WAVESOUND = WAVESOUND__STATIC;
830
int32_t ILLBEBACK = ILLBEBACK__STATIC;
831
int32_t VOL4ENDSND1 = VOL4ENDSND1__STATIC;
832
int32_t VOL4ENDSND2 = VOL4ENDSND2__STATIC;
833
int32_t EXPANDERHIT = EXPANDERHIT__STATIC;
834
int32_t SNAKESPEECH = SNAKESPEECH__STATIC;
835
int32_t EXPANDERSHOOT = EXPANDERSHOOT__STATIC;
836
int32_t GETBACKTOWORK = GETBACKTOWORK__STATIC;
837
int32_t JIBBED_ACTOR14 = JIBBED_ACTOR14__STATIC;
838
int32_t JIBBED_ACTOR15 = JIBBED_ACTOR15__STATIC;
839
int32_t INTRO4_B = INTRO4_B__STATIC;
840
int32_t BIGBANG = BIGBANG__STATIC;
841
int32_t HORNSND = HORNSND__STATIC;
842
int32_t BELLSND = BELLSND__STATIC;
843
int32_t GOAWAY = GOAWAY__STATIC;
844
int32_t JOKE = JOKE__STATIC;
845
 
846
#if !defined LUNATIC
847
static hashtable_t h_names = {512, NULL};
848
 
849
void G_ProcessDynamicSoundMapping(const char *szLabel, int32_t lValue)
850
{
851
    int32_t i;
852
 
853
    if ((unsigned)lValue >= MAXSOUNDS || !szLabel)
854
        return;
855
 
856
    i = hash_find(&h_names,szLabel);
857
    if (i>=0)
858
    {
859
        struct dynitem *di = &g_dynSoundList[i];
860
#ifdef DEBUGGINGAIDS
861
        if (di->staticval != lValue)
862
            OSD_Printf("REMAP %s (%d) --> %d\n", di->str, di->staticval, lValue);
863
#endif
864
        *di->dynvalptr = lValue;
865
    }
866
}
867
 
868
void initsoundhashnames(void)
869
{
870
    int32_t i;
871
 
872
    hash_init(&h_names);
873
 
874
    for (i=0; g_dynSoundList[i].staticval >= 0; i++)
875
        hash_add(&h_names, g_dynSoundList[i].str, i, 0);
876
}
877
 
878
void freesoundhashnames(void)
879
{
880
    hash_free(&h_names);
881
}
882
#endif
883
#endif
884
 
885
// This is run after all CON define's have been processed to set up the
886
// dynamic->static sound mapping.
887
void G_InitDynamicSounds(void)
888
{
889
    int32_t i;
890
 
891
    Bmemset(DynamicSoundMap, 0, sizeof(DynamicSoundMap));
892
 
893
    for (i=0; g_dynSoundList[i].staticval >= 0; i++)
894
#ifdef DYNSOUNDREMAP_ENABLE
895
        DynamicSoundMap[*(g_dynSoundList[i].dynvalptr)] = g_dynSoundList[i].staticval;
896
#else
897
        DynamicSoundMap[g_dynSoundList[i].staticval] = g_dynSoundList[i].staticval;
898
#endif
899
 
900
}