Subversion Repositories eduke32

Rev

Rev 8788 | Details | Compare with Previous | 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
4541 hendricks2 19
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
3834 hendricks2 20
*/
21
//-------------------------------------------------------------------------
7051 terminx 22
#ifndef soundsdyn_h__
23
#define soundsdyn_h__
3834 hendricks2 24
 
25
#define DYNSOUNDREMAP_ENABLE
26
 
27
 
7187 terminx 28
#define KICK_HIT__STATIC            0
29
#define PISTOL_RICOCHET__STATIC     1
30
#define PISTOL_BODYHIT__STATIC      2
31
#define PISTOL_FIRE__STATIC         3
32
#define EJECT_CLIP__STATIC          4
33
#define INSERT_CLIP__STATIC         5
34
#define CHAINGUN_FIRE__STATIC       6
35
#define RPG_SHOOT__STATIC           7
36
#define POOLBALLHIT__STATIC         8
37
#define RPG_EXPLODE__STATIC         9
38
#define CAT_FIRE__STATIC            10
39
#define SHRINKER_FIRE__STATIC       11
40
#define PIPEBOMB_BOUNCE__STATIC     13
41
#define PIPEBOMB_EXPLODE__STATIC    14
42
#define LASERTRIP_ONWALL__STATIC    15
43
#define LASERTRIP_ARMING__STATIC    16
44
#define LASERTRIP_EXPLODE__STATIC   17
45
#define VENT_BUST__STATIC           18
46
#define GLASS_BREAKING__STATIC      19
47
#define GLASS_HEAVYBREAK__STATIC    20
48
#define SHORT_CIRCUIT__STATIC       21
49
#define ITEM_SPLASH__STATIC         22
50
#define DUKE_GASP__STATIC           25
51
#define SLIM_RECOG__STATIC          26
52
#define DUKE_URINATE__STATIC        28
53
#define ENDSEQVOL3SND2__STATIC      29
54
#define ENDSEQVOL3SND3__STATIC      30
55
#define DUKE_CRACK__STATIC          33
56
#define SLIM_ATTACK__STATIC         34
57
#define SOMETHINGHITFORCE__STATIC   35
58
#define DUKE_DRINKING__STATIC       36
59
#define DUKE_GRUNT__STATIC          38
60
#define DUKE_HARTBEAT__STATIC       39
61
#define DUKE_ONWATER__STATIC        40
62
#define DUKE_LAND__STATIC           42
63
#define DUKE_WALKINDUCTS__STATIC    43
64
#define DUKE_UNDERWATER__STATIC     48
65
#define DUKE_JETPACK_ON__STATIC     49
66
#define DUKE_JETPACK_IDLE__STATIC   50
67
#define DUKE_JETPACK_OFF__STATIC    51
68
#define DUKETALKTOBOSS__STATIC      56
69
#define SQUISHED__STATIC            69
70
#define TELEPORTER__STATIC          70
71
#define ELEVATOR_ON__STATIC         71
72
#define ELEVATOR_OFF__STATIC        73
73
#define SUBWAY__STATIC              75
74
#define SWITCH_ON__STATIC           76
75
#define FLUSH_TOILET__STATIC        79
76
#define EARTHQUAKE__STATIC          81
77
#define END_OF_LEVEL_WARN__STATIC   83
78
#define WIND_AMBIENCE__STATIC       91
79
#define SOMETHING_DRIPPING__STATIC  92
80
#define BOS1_RECOG__STATIC          97
81
#define BOS2_RECOG__STATIC          102
82
#define DUKE_GETWEAPON2__STATIC     107
83
#define SHOTGUN_FIRE__STATIC        109
84
#define PRED_RECOG__STATIC          111
85
#define CAPT_RECOG__STATIC          117
86
#define PIG_RECOG__STATIC           121
87
#define RECO_ROAM__STATIC           125
88
#define RECO_RECOG__STATIC          126
89
#define RECO_ATTACK__STATIC         127
90
#define RECO_PAIN__STATIC           128
91
#define DRON_RECOG__STATIC          131
92
#define COMM_RECOG__STATIC          136
93
#define OCTA_RECOG__STATIC          141
94
#define TURR_RECOG__STATIC          146
95
#define SLIM_DYING__STATIC          149
96
#define BOS3_RECOG__STATIC          151
97
#define BOS1_WALK__STATIC           156
98
#define THUD__STATIC                158
99
#define WIERDSHOT_FLY__STATIC       160
100
#define SLIM_ROAM__STATIC           163
101
#define SHOTGUN_COCK__STATIC        169
102
#define GENERIC_AMBIENCE17__STATIC  177
103
#define BONUS_SPEECH1__STATIC       195
104
#define BONUS_SPEECH2__STATIC       196
105
#define BONUS_SPEECH3__STATIC       197
106
#define BONUS_SPEECH4__STATIC       199
107
#define DUKE_LAND_HURT__STATIC      200
108
#define DUKE_SEARCH2__STATIC        207
109
#define DUKE_CRACK2__STATIC         208
110
#define DUKE_SEARCH__STATIC         209
111
#define DUKE_GET__STATIC            210
112
#define DUKE_LONGTERM_PAIN__STATIC  211
113
#define MONITOR_ACTIVE__STATIC      212
114
#define NITEVISION_ONOFF__STATIC    213
115
#define DUKE_CRACK_FIRST__STATIC    215
116
#define DUKE_USEMEDKIT__STATIC      216
117
#define DUKE_TAKEPILLS__STATIC      217
118
#define DUKE_PISSRELIEF__STATIC     218
119
#define SELECT_WEAPON__STATIC       219
120
#define JIBBED_ACTOR5__STATIC       226
121
#define JIBBED_ACTOR6__STATIC       227
3834 hendricks2 122
#define DUKE_GOTHEALTHATLOW__STATIC 229
7187 terminx 123
#define BOSSTALKTODUKE__STATIC      230
124
#define WAR_AMBIENCE2__STATIC       232
125
#define EXITMENUSOUND__STATIC       243
126
#define FLY_BY__STATIC              244
127
#define DUKE_SCREAM__STATIC         245
128
#define SHRINKER_HIT__STATIC        246
129
#define RATTY__STATIC               247
130
#define BONUSMUSIC__STATIC          249
131
#define DUKE_GETWEAPON6__STATIC     264
132
#define ALIEN_SWITCH1__STATIC       272
133
#define RIPHEADNECK__STATIC         284
134
#define ENDSEQVOL3SND4__STATIC      288
135
#define ENDSEQVOL3SND5__STATIC      289
136
#define ENDSEQVOL3SND6__STATIC      290
137
#define ENDSEQVOL3SND7__STATIC      291
138
#define ENDSEQVOL3SND8__STATIC      292
139
#define ENDSEQVOL3SND9__STATIC      293
140
#define WHIPYOURASS__STATIC         294
141
#define ENDSEQVOL2SND1__STATIC      295
142
#define ENDSEQVOL2SND2__STATIC      296
143
#define ENDSEQVOL2SND3__STATIC      297
144
#define ENDSEQVOL2SND4__STATIC      298
145
#define ENDSEQVOL2SND5__STATIC      299
146
#define ENDSEQVOL2SND6__STATIC      300
147
#define ENDSEQVOL2SND7__STATIC      301
148
#define SOMETHINGFROZE__STATIC      303
149
#define WIND_REPEAT__STATIC         308
150
#define BOS4_RECOG__STATIC          342
151
#define LIGHTNING_SLAP__STATIC      351
152
#define THUNDER__STATIC             352
153
#define INTRO4_1__STATIC            363
154
#define INTRO4_2__STATIC            364
155
#define INTRO4_3__STATIC            365
156
#define INTRO4_4__STATIC            366
157
#define INTRO4_5__STATIC            367
158
#define INTRO4_6__STATIC            368
159
#define BOSS4_DEADSPEECH__STATIC    370
160
#define BOSS4_FIRSTSEE__STATIC      371
161
#define VOL4ENDSND1__STATIC         384
162
#define VOL4ENDSND2__STATIC         385
163
#define EXPANDERSHOOT__STATIC       388
164
#define INTRO4_B__STATIC            392
165
#define BIGBANG__STATIC             393
8788 hendricks2 166
#define FLAMETHROWER_INTRO__STATIC  398
167
#define FLAMETHROWER_LOOP__STATIC   399
168
#define FLAMETHROWER_END__STATIC    400
8790 hendricks2 169
#define E5L7_DUKE_QUIT_YOU__STATIC  401
3834 hendricks2 170
 
171
extern int16_t DynamicSoundMap[MAXSOUNDS];
172
 
173
void G_InitDynamicSounds(void);
174
 
175
#ifdef DYNSOUNDREMAP_ENABLE
176
 
177
void G_ProcessDynamicSoundMapping(const char *szLabel, int32_t lValue);
178
 
179
#if !defined LUNATIC
180
void initsoundhashnames(void);
181
void freesoundhashnames(void);
182
#endif
183
 
7187 terminx 184
extern int32_t ALIEN_SWITCH1;
185
extern int32_t BIGBANG;
186
extern int32_t BONUS_SPEECH1;
187
extern int32_t BONUS_SPEECH2;
188
extern int32_t BONUS_SPEECH3;
189
extern int32_t BONUS_SPEECH4;
190
extern int32_t BONUSMUSIC;
191
extern int32_t BOS1_RECOG;
192
extern int32_t BOS1_WALK;
193
extern int32_t BOS2_RECOG;
194
extern int32_t BOS3_RECOG;
195
extern int32_t BOS4_RECOG;
196
extern int32_t BOSS4_DEADSPEECH;
197
extern int32_t BOSS4_FIRSTSEE;
198
extern int32_t BOSSTALKTODUKE;
199
extern int32_t CAPT_RECOG;
200
extern int32_t CAT_FIRE;
3834 hendricks2 201
extern int32_t CHAINGUN_FIRE;
7187 terminx 202
extern int32_t COMM_RECOG;
203
extern int32_t DRON_RECOG;
3834 hendricks2 204
extern int32_t DUKE_CRACK;
7187 terminx 205
extern int32_t DUKE_CRACK_FIRST;
206
extern int32_t DUKE_CRACK2;
3834 hendricks2 207
extern int32_t DUKE_DRINKING;
7187 terminx 208
extern int32_t DUKE_GASP;
209
extern int32_t DUKE_GET;
210
extern int32_t DUKE_GETWEAPON2;
211
extern int32_t DUKE_GETWEAPON6;
212
extern int32_t DUKE_GOTHEALTHATLOW;
3834 hendricks2 213
extern int32_t DUKE_GRUNT;
214
extern int32_t DUKE_HARTBEAT;
215
extern int32_t DUKE_JETPACK_IDLE;
216
extern int32_t DUKE_JETPACK_OFF;
7187 terminx 217
extern int32_t DUKE_JETPACK_ON;
218
extern int32_t DUKE_LAND;
3834 hendricks2 219
extern int32_t DUKE_LAND_HURT;
220
extern int32_t DUKE_LONGTERM_PAIN;
7187 terminx 221
extern int32_t DUKE_ONWATER;
3834 hendricks2 222
extern int32_t DUKE_PISSRELIEF;
223
extern int32_t DUKE_SCREAM;
7187 terminx 224
extern int32_t DUKE_SEARCH;
225
extern int32_t DUKE_SEARCH2;
226
extern int32_t DUKE_TAKEPILLS;
227
extern int32_t DUKE_UNDERWATER;
228
extern int32_t DUKE_URINATE;
229
extern int32_t DUKE_USEMEDKIT;
230
extern int32_t DUKE_WALKINDUCTS;
231
extern int32_t DUKETALKTOBOSS;
232
extern int32_t EARTHQUAKE;
233
extern int32_t EJECT_CLIP;
234
extern int32_t ELEVATOR_OFF;
235
extern int32_t ELEVATOR_ON;
236
extern int32_t END_OF_LEVEL_WARN;
3834 hendricks2 237
extern int32_t ENDSEQVOL2SND1;
238
extern int32_t ENDSEQVOL2SND2;
239
extern int32_t ENDSEQVOL2SND3;
240
extern int32_t ENDSEQVOL2SND4;
241
extern int32_t ENDSEQVOL2SND5;
242
extern int32_t ENDSEQVOL2SND6;
243
extern int32_t ENDSEQVOL2SND7;
7187 terminx 244
extern int32_t ENDSEQVOL3SND2;
245
extern int32_t ENDSEQVOL3SND3;
246
extern int32_t ENDSEQVOL3SND4;
247
extern int32_t ENDSEQVOL3SND5;
248
extern int32_t ENDSEQVOL3SND6;
249
extern int32_t ENDSEQVOL3SND7;
250
extern int32_t ENDSEQVOL3SND8;
251
extern int32_t ENDSEQVOL3SND9;
252
extern int32_t EXITMENUSOUND;
253
extern int32_t EXPANDERSHOOT;
254
extern int32_t FLUSH_TOILET;
255
extern int32_t FLY_BY;
256
extern int32_t GENERIC_AMBIENCE17;
257
extern int32_t GLASS_BREAKING;
258
extern int32_t GLASS_HEAVYBREAK;
259
extern int32_t INSERT_CLIP;
3834 hendricks2 260
extern int32_t INTRO4_1;
261
extern int32_t INTRO4_2;
262
extern int32_t INTRO4_3;
263
extern int32_t INTRO4_4;
264
extern int32_t INTRO4_5;
265
extern int32_t INTRO4_6;
7187 terminx 266
extern int32_t INTRO4_B;
267
extern int32_t ITEM_SPLASH;
268
extern int32_t JIBBED_ACTOR5;
269
extern int32_t JIBBED_ACTOR6;
270
extern int32_t KICK_HIT;
271
extern int32_t LASERTRIP_ARMING;
272
extern int32_t LASERTRIP_EXPLODE;
273
extern int32_t LASERTRIP_ONWALL;
274
extern int32_t LIGHTNING_SLAP;
275
extern int32_t MONITOR_ACTIVE;
276
extern int32_t NITEVISION_ONOFF;
277
extern int32_t OCTA_RECOG;
278
extern int32_t PIG_RECOG;
279
extern int32_t PIPEBOMB_BOUNCE;
280
extern int32_t PIPEBOMB_EXPLODE;
281
extern int32_t PISTOL_BODYHIT;
282
extern int32_t PISTOL_FIRE;
283
extern int32_t PISTOL_RICOCHET;
284
extern int32_t POOLBALLHIT;
285
extern int32_t PRED_RECOG;
286
extern int32_t RATTY;
287
extern int32_t RECO_ATTACK;
288
extern int32_t RECO_PAIN;
289
extern int32_t RECO_RECOG;
290
extern int32_t RECO_ROAM;
291
extern int32_t RIPHEADNECK;
292
extern int32_t RPG_EXPLODE;
293
extern int32_t RPG_SHOOT;
294
extern int32_t SELECT_WEAPON;
295
extern int32_t SHORT_CIRCUIT;
296
extern int32_t SHOTGUN_COCK;
297
extern int32_t SHOTGUN_FIRE;
298
extern int32_t SHRINKER_FIRE;
299
extern int32_t SHRINKER_HIT;
300
extern int32_t SLIM_ATTACK;
301
extern int32_t SLIM_DYING;
302
extern int32_t SLIM_RECOG;
303
extern int32_t SLIM_ROAM;
304
extern int32_t SOMETHING_DRIPPING;
305
extern int32_t SOMETHINGFROZE;
306
extern int32_t SOMETHINGHITFORCE;
307
extern int32_t SQUISHED;
308
extern int32_t SUBWAY;
309
extern int32_t SWITCH_ON;
310
extern int32_t TELEPORTER;
311
extern int32_t THUD;
312
extern int32_t THUNDER;
313
extern int32_t TURR_RECOG;
314
extern int32_t VENT_BUST;
3834 hendricks2 315
extern int32_t VOL4ENDSND1;
316
extern int32_t VOL4ENDSND2;
7187 terminx 317
extern int32_t WAR_AMBIENCE2;
318
extern int32_t WHIPYOURASS;
319
extern int32_t WIERDSHOT_FLY;
320
extern int32_t WIND_AMBIENCE;
321
extern int32_t WIND_REPEAT;
8788 hendricks2 322
extern int32_t FLAMETHROWER_INTRO;
323
extern int32_t FLAMETHROWER_LOOP;
324
extern int32_t FLAMETHROWER_END;
8790 hendricks2 325
extern int32_t E5L7_DUKE_QUIT_YOU;
3834 hendricks2 326
 
327
#define DYNAMICSOUNDMAP(Soundnum) (DynamicSoundMap[Soundnum])
328
 
329
#else  /* if !defined DYNSOUNDREMAP_ENABLE */
330
 
331
#define G_ProcessDynamicSoundMapping(x, y) ((void)(0))
332
 
333
#define initsoundhashnames() ((void)0)
334
#define freesoundhashnames() ((void)0)
335
 
336
#include "soundefs.h"
337
 
338
#define DYNAMICSOUNDMAP(Soundnum) (Soundnum)
339
 
340
#endif
7051 terminx 341
#endif // soundsdyn_h__