summaryrefslogtreecommitdiff
path: root/apps/plugins/doom/sounds.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/doom/sounds.c')
-rw-r--r--apps/plugins/doom/sounds.c240
1 files changed, 240 insertions, 0 deletions
diff --git a/apps/plugins/doom/sounds.c b/apps/plugins/doom/sounds.c
new file mode 100644
index 0000000000..200a402403
--- /dev/null
+++ b/apps/plugins/doom/sounds.c
@@ -0,0 +1,240 @@
1/* Emacs style mode select -*- C++ -*-
2 *-----------------------------------------------------------------------------
3 *
4 *
5 * PrBoom a Doom port merged with LxDoom and LSDLDoom
6 * based on BOOM, a modified and improved DOOM engine
7 * Copyright (C) 1999 by
8 * id Software, Chi Hoang, Lee Killough, Jim Flynn, Rand Phares, Ty Halderman
9 * Copyright (C) 1999-2000 by
10 * Jess Haas, Nicolas Kalkhof, Colin Phipps, Florian Schulze
11 *
12 * This program is free software; you can redistribute it and/or
13 * modify it under the terms of the GNU General Public License
14 * as published by the Free Software Foundation; either version 2
15 * of the License, or (at your option) any later version.
16 *
17 * This program is distributed in the hope that it will be useful,
18 * but WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 * GNU General Public License for more details.
21 *
22 * You should have received a copy of the GNU General Public License
23 * along with this program; if not, write to the Free Software
24 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
25 * 02111-1307, USA.
26 *
27 * DESCRIPTION:
28 * Created by a sound utility.
29 * Kept as a sample, DOOM2 sounds.
30 *
31 *-----------------------------------------------------------------------------*/
32
33#include "doomtype.h"
34#include "sounds.h"
35
36//
37// Information about all the music
38//
39
40musicinfo_t S_music[] =
41 {
42 { 0, 0, 0, 0 },
43 { "e1m1", 0, 0, 0 },
44 { "e1m2", 0, 0, 0 },
45 { "e1m3", 0, 0, 0 },
46 { "e1m4", 0, 0, 0 },
47 { "e1m5", 0, 0, 0 },
48 { "e1m6", 0, 0, 0 },
49 { "e1m7", 0, 0, 0 },
50 { "e1m8", 0, 0, 0 },
51 { "e1m9", 0, 0, 0 },
52 { "e2m1", 0, 0, 0 },
53 { "e2m2", 0, 0, 0 },
54 { "e2m3", 0, 0, 0 },
55 { "e2m4", 0, 0, 0 },
56 { "e2m5", 0, 0, 0 },
57 { "e2m6", 0, 0, 0 },
58 { "e2m7", 0, 0, 0 },
59 { "e2m8", 0, 0, 0 },
60 { "e2m9", 0, 0, 0 },
61 { "e3m1", 0, 0, 0 },
62 { "e3m2", 0, 0, 0 },
63 { "e3m3", 0, 0, 0 },
64 { "e3m4", 0, 0, 0 },
65 { "e3m5", 0, 0, 0 },
66 { "e3m6", 0, 0, 0 },
67 { "e3m7", 0, 0, 0 },
68 { "e3m8", 0, 0, 0 },
69 { "e3m9", 0, 0, 0 },
70 { "inter", 0, 0, 0 },
71 { "intro", 0, 0, 0 },
72 { "bunny", 0, 0, 0 },
73 { "victor", 0, 0, 0 },
74 { "introa", 0, 0, 0 },
75 { "runnin", 0, 0, 0 },
76 { "stalks", 0, 0, 0 },
77 { "countd", 0, 0, 0 },
78 { "betwee", 0, 0, 0 },
79 { "doom", 0, 0, 0 },
80 { "the_da", 0, 0, 0 },
81 { "shawn", 0, 0, 0 },
82 { "ddtblu", 0, 0, 0 },
83 { "in_cit", 0, 0, 0 },
84 { "dead", 0, 0, 0 },
85 { "stlks2", 0, 0, 0 },
86 { "theda2", 0, 0, 0 },
87 { "doom2", 0, 0, 0 },
88 { "ddtbl2", 0, 0, 0 },
89 { "runni2", 0, 0, 0 },
90 { "dead2", 0, 0, 0 },
91 { "stlks3", 0, 0, 0 },
92 { "romero", 0, 0, 0 },
93 { "shawn2", 0, 0, 0 },
94 { "messag", 0, 0, 0 },
95 { "count2", 0, 0, 0 },
96 { "ddtbl3", 0, 0, 0 },
97 { "ampie", 0, 0, 0 },
98 { "theda3", 0, 0, 0 },
99 { "adrian", 0, 0, 0 },
100 { "messg2", 0, 0, 0 },
101 { "romer2", 0, 0, 0 },
102 { "tense", 0, 0, 0 },
103 { "shawn3", 0, 0, 0 },
104 { "openin", 0, 0, 0 },
105 { "evil", 0, 0, 0 },
106 { "ultima", 0, 0, 0 },
107 { "read_m", 0, 0, 0 },
108 { "dm2ttl", 0, 0, 0 },
109 { "dm2int", 0, 0, 0 }
110 };
111
112
113//
114// Information about all the sfx
115//
116
117sfxinfo_t S_sfx[] =
118 {
119 // S_sfx[0] needs to be a dummy for odd reasons.
120 { "none", false, 0, 0, -1, -1, 0, 0, 0 },
121
122 { "pistol", false, 64, 0, -1, -1, 0, 0, 0 },
123 { "shotgn", false, 64, 0, -1, -1, 0, 0, 0 },
124 { "sgcock", false, 64, 0, -1, -1, 0, 0, 0 },
125 { "dshtgn", false, 64, 0, -1, -1, 0, 0, 0 },
126 { "dbopn", false, 64, 0, -1, -1, 0, 0, 0 },
127 { "dbcls", false, 64, 0, -1, -1, 0, 0, 0 },
128 { "dbload", false, 64, 0, -1, -1, 0, 0, 0 },
129 { "plasma", false, 64, 0, -1, -1, 0, 0, 0 },
130 { "bfg", false, 64, 0, -1, -1, 0, 0, 0 },
131 { "sawup", false, 64, 0, -1, -1, 0, 0, 0 },
132 { "sawidl", false, 118, 0, -1, -1, 0, 0, 0 },
133 { "sawful", false, 64, 0, -1, -1, 0, 0, 0 },
134 { "sawhit", false, 64, 0, -1, -1, 0, 0, 0 },
135 { "rlaunc", false, 64, 0, -1, -1, 0, 0, 0 },
136 { "rxplod", false, 70, 0, -1, -1, 0, 0, 0 },
137 { "firsht", false, 70, 0, -1, -1, 0, 0, 0 },
138 { "firxpl", false, 70, 0, -1, -1, 0, 0, 0 },
139 { "pstart", false, 100, 0, -1, -1, 0, 0, 0 },
140 { "pstop", false, 100, 0, -1, -1, 0, 0, 0 },
141 { "doropn", false, 100, 0, -1, -1, 0, 0, 0 },
142 { "dorcls", false, 100, 0, -1, -1, 0, 0, 0 },
143 { "stnmov", false, 119, 0, -1, -1, 0, 0, 0 },
144 { "swtchn", false, 78, 0, -1, -1, 0, 0, 0 },
145 { "swtchx", false, 78, 0, -1, -1, 0, 0, 0 },
146 { "plpain", false, 96, 0, -1, -1, 0, 0, 0 },
147 { "dmpain", false, 96, 0, -1, -1, 0, 0, 0 },
148 { "popain", false, 96, 0, -1, -1, 0, 0, 0 },
149 { "vipain", false, 96, 0, -1, -1, 0, 0, 0 },
150 { "mnpain", false, 96, 0, -1, -1, 0, 0, 0 },
151 { "pepain", false, 96, 0, -1, -1, 0, 0, 0 },
152 { "slop", false, 78, 0, -1, -1, 0, 0, 0 },
153 { "itemup", true, 78, 0, -1, -1, 0, 0, 0 },
154 { "wpnup", true, 78, 0, -1, -1, 0, 0, 0 },
155 { "oof", false, 96, 0, -1, -1, 0, 0, 0 },
156 { "telept", false, 32, 0, -1, -1, 0, 0, 0 },
157 { "posit1", true, 98, 0, -1, -1, 0, 0, 0 },
158 { "posit2", true, 98, 0, -1, -1, 0, 0, 0 },
159 { "posit3", true, 98, 0, -1, -1, 0, 0, 0 },
160 { "bgsit1", true, 98, 0, -1, -1, 0, 0, 0 },
161 { "bgsit2", true, 98, 0, -1, -1, 0, 0, 0 },
162 { "sgtsit", true, 98, 0, -1, -1, 0, 0, 0 },
163 { "cacsit", true, 98, 0, -1, -1, 0, 0, 0 },
164 { "brssit", true, 94, 0, -1, -1, 0, 0, 0 },
165 { "cybsit", true, 92, 0, -1, -1, 0, 0, 0 },
166 { "spisit", true, 90, 0, -1, -1, 0, 0, 0 },
167 { "bspsit", true, 90, 0, -1, -1, 0, 0, 0 },
168 { "kntsit", true, 90, 0, -1, -1, 0, 0, 0 },
169 { "vilsit", true, 90, 0, -1, -1, 0, 0, 0 },
170 { "mansit", true, 90, 0, -1, -1, 0, 0, 0 },
171 { "pesit", true, 90, 0, -1, -1, 0, 0, 0 },
172 { "sklatk", false, 70, 0, -1, -1, 0, 0, 0 },
173 { "sgtatk", false, 70, 0, -1, -1, 0, 0, 0 },
174 { "skepch", false, 70, 0, -1, -1, 0, 0, 0 },
175 { "vilatk", false, 70, 0, -1, -1, 0, 0, 0 },
176 { "claw", false, 70, 0, -1, -1, 0, 0, 0 },
177 { "skeswg", false, 70, 0, -1, -1, 0, 0, 0 },
178 { "pldeth", false, 32, 0, -1, -1, 0, 0, 0 },
179 { "pdiehi", false, 32, 0, -1, -1, 0, 0, 0 },
180 { "podth1", false, 70, 0, -1, -1, 0, 0, 0 },
181 { "podth2", false, 70, 0, -1, -1, 0, 0, 0 },
182 { "podth3", false, 70, 0, -1, -1, 0, 0, 0 },
183 { "bgdth1", false, 70, 0, -1, -1, 0, 0, 0 },
184 { "bgdth2", false, 70, 0, -1, -1, 0, 0, 0 },
185 { "sgtdth", false, 70, 0, -1, -1, 0, 0, 0 },
186 { "cacdth", false, 70, 0, -1, -1, 0, 0, 0 },
187 { "skldth", false, 70, 0, -1, -1, 0, 0, 0 },
188 { "brsdth", false, 32, 0, -1, -1, 0, 0, 0 },
189 { "cybdth", false, 32, 0, -1, -1, 0, 0, 0 },
190 { "spidth", false, 32, 0, -1, -1, 0, 0, 0 },
191 { "bspdth", false, 32, 0, -1, -1, 0, 0, 0 },
192 { "vildth", false, 32, 0, -1, -1, 0, 0, 0 },
193 { "kntdth", false, 32, 0, -1, -1, 0, 0, 0 },
194 { "pedth", false, 32, 0, -1, -1, 0, 0, 0 },
195 { "skedth", false, 32, 0, -1, -1, 0, 0, 0 },
196 { "posact", true, 120, 0, -1, -1, 0, 0, 0 },
197 { "bgact", true, 120, 0, -1, -1, 0, 0, 0 },
198 { "dmact", true, 120, 0, -1, -1, 0, 0, 0 },
199 { "bspact", true, 100, 0, -1, -1, 0, 0, 0 },
200 { "bspwlk", true, 100, 0, -1, -1, 0, 0, 0 },
201 { "vilact", true, 100, 0, -1, -1, 0, 0, 0 },
202 { "noway", false, 78, 0, -1, -1, 0, 0, 0 },
203 { "barexp", false, 60, 0, -1, -1, 0, 0, 0 },
204 { "punch", false, 64, 0, -1, -1, 0, 0, 0 },
205 { "hoof", false, 70, 0, -1, -1, 0, 0, 0 },
206 { "metal", false, 70, 0, -1, -1, 0, 0, 0 },
207 { "chgun", false, 64, &S_sfx[sfx_pistol], 150, 0, 0, 0, 0 },
208 { "tink", false, 60, 0, -1, -1, 0, 0, 0 },
209 { "bdopn", false, 100, 0, -1, -1, 0, 0, 0 },
210 { "bdcls", false, 100, 0, -1, -1, 0, 0, 0 },
211 { "itmbk", false, 100, 0, -1, -1, 0, 0, 0 },
212 { "flame", false, 32, 0, -1, -1, 0, 0, 0 },
213 { "flamst", false, 32, 0, -1, -1, 0, 0, 0 },
214 { "getpow", false, 60, 0, -1, -1, 0, 0, 0 },
215 { "bospit", false, 70, 0, -1, -1, 0, 0, 0 },
216 { "boscub", false, 70, 0, -1, -1, 0, 0, 0 },
217 { "bossit", false, 70, 0, -1, -1, 0, 0, 0 },
218 { "bospn", false, 70, 0, -1, -1, 0, 0, 0 },
219 { "bosdth", false, 70, 0, -1, -1, 0, 0, 0 },
220 { "manatk", false, 70, 0, -1, -1, 0, 0, 0 },
221 { "mandth", false, 70, 0, -1, -1, 0, 0, 0 },
222 { "sssit", false, 70, 0, -1, -1, 0, 0, 0 },
223 { "ssdth", false, 70, 0, -1, -1, 0, 0, 0 },
224 { "keenpn", false, 70, 0, -1, -1, 0, 0, 0 },
225 { "keendt", false, 70, 0, -1, -1, 0, 0, 0 },
226 { "skeact", false, 70, 0, -1, -1, 0, 0, 0 },
227 { "skesit", false, 70, 0, -1, -1, 0, 0, 0 },
228 { "skeatk", false, 70, 0, -1, -1, 0, 0, 0 },
229 { "radio", false, 60, 0, -1, -1, 0, 0, 0 },
230
231#ifdef DOGS
232 // killough 11/98: dog sounds
233 { "dgsit", false, 98, 0, -1, -1, 0, 0, 0 },
234 { "dgatk", false, 70, 0, -1, -1, 0, 0, 0 },
235 { "dgact", false, 120, 0, -1, -1, 0, 0, 0 },
236 { "dgdth", false, 70, 0, -1, -1, 0, 0, 0 },
237 { "dgpain", false, 96, 0, -1, -1, 0, 0, 0 },
238#endif
239 };
240