Debian Codegraph @

prboom2/src/hexen/sounds.c

raw
1 //
2 // Copyright(C) 1993-1996 Id Software, Inc.
3 // Copyright(C) 1993-2008 Raven Software
4 // Copyright(C) 2005-2014 Simon Howard
5 //
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License
8 // as published by the Free Software Foundation; either version 2
9 // of the License, or (at your option) any later version.
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. See the
14 // GNU General Public License for more details.
15 //
16
17 #include "doomtype.h"
18 #include "sounds.h"
19
20 // Hexen map music is set dynamically in SNDINFO
21 musicinfo_t hexen_S_music[HEXEN_NUMMUSIC] = {
22 [hexen_mus_hexen] = { "HEXEN", 0 },
23 [hexen_mus_hub] = { "HUB", 0 },
24 [hexen_mus_hall] = { "HALL", 0 },
25 [hexen_mus_orb] = { "ORB", 0 },
26 [hexen_mus_chess] = { "CHESS", 0 },
27 };
28
29 sfxinfo_t hexen_S_sfx[] = {
30 { "", 0, 0, 0, 0, 0, 0, "" },
31 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterNormalDeath" },
32 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterCrazyDeath" },
33 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterExtreme1Death" },
34 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterExtreme2Death" },
35 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterExtreme3Death" },
36 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterBurnDeath" },
37 { "", 256, 0, 1, 0, 0, 2, "PlayerClericNormalDeath" },
38 { "", 256, 0, 1, 0, 0, 2, "PlayerClericCrazyDeath" },
39 { "", 256, 0, 1, 0, 0, 2, "PlayerClericExtreme1Death" },
40 { "", 256, 0, 1, 0, 0, 2, "PlayerClericExtreme2Death" },
41 { "", 256, 0, 1, 0, 0, 2, "PlayerClericExtreme3Death" },
42 { "", 256, 0, 1, 0, 0, 2, "PlayerClericBurnDeath" },
43 { "", 256, 0, 0, 0, 0, 2, "PlayerMageNormalDeath" },
44 { "", 256, 0, 0, 0, 0, 2, "PlayerMageCrazyDeath" },
45 { "", 256, 0, 0, 0, 0, 2, "PlayerMageExtreme1Death" },
46 { "", 256, 0, 0, 0, 0, 2, "PlayerMageExtreme2Death" },
47 { "", 256, 0, 0, 0, 0, 2, "PlayerMageExtreme3Death" },
48 { "", 256, 0, 0, 0, 0, 2, "PlayerMageBurnDeath" },
49 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterPain" },
50 { "", 256, 0, 1, 0, 0, 2, "PlayerClericPain" },
51 { "", 256, 0, 0, 0, 0, 2, "PlayerMagePain" },
52 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterGrunt" },
53 { "", 256, 0, 1, 0, 0, 2, "PlayerClericGrunt" },
54 { "", 256, 0, 0, 0, 0, 2, "PlayerMageGrunt" },
55 { "", 32, 0, 1, 0, 0, 2, "PlayerLand" },
56 { "", 256, 0, 1, 0, 0, 2, "PlayerPoisonCough" },
57 { "", 256, 0, 1, 0, 0, 2, "PlayerFighterFallingScream" },
58 { "", 256, 0, 1, 0, 0, 2, "PlayerClericFallingScream" },
59 { "", 256, 0, 0, 0, 0, 2, "PlayerMageFallingScream" },
60 { "", 256, 0, 1, 0, 0, 2, "PlayerFallingSplat" },
61 { "", 256, 0, 1, 0, 0, 1, "PlayerFighterFailedUse" },
62 { "", 256, 0, 1, 0, 0, 1, "PlayerClericFailedUse" },
63 { "", 256, 0, 0, 0, 0, 1, "PlayerMageFailedUse" },
64 { "", 36, 0, 1, 0, 0, 2, "PlatformStart" },
65 { "", 36, 0, 1, 0, 0, 2, "PlatformStartMetal" },
66 { "", 40, 0, 1, 0, 0, 2, "PlatformStop" },
67 { "", 32, 0, 1, 0, 0, 2, "StoneMove" },
68 { "", 32, 0, 1, 0, 0, 2, "MetalMove" },
69 { "", 36, 0, 1, 0, 0, 2, "DoorOpen" },
70 { "", 36, 0, 1, 0, 0, 2, "DoorLocked" },
71 { "", 36, 0, 1, 0, 0, 2, "DoorOpenMetal" },
72 { "", 36, 0, 1, 0, 0, 2, "DoorCloseMetal" },
73 { "", 36, 0, 1, 0, 0, 2, "DoorCloseLight" },
74 { "", 36, 0, 1, 0, 0, 2, "DoorCloseHeavy" },
75 { "", 36, 0, 1, 0, 0, 2, "DoorCreak" },
76 { "", 36, 0, 0, 0, 0, 2, "PickupWeapon" },
77 { "", 36, 0, 1, 0, 0, 2, "PickupArtifact" },
78 { "", 36, 0, 1, 0, 0, 2, "PickupKey" },
79 { "", 36, 0, 1, 0, 0, 2, "PickupItem" },
80 { "", 36, 0, 0, 0, 0, 2, "PickupPiece" },
81 { "", 36, 0, 0, 0, 0, 2, "WeaponBuild" },
82 { "", 36, 0, 1, 0, 0, 2, "UseArtifact" },
83 { "", 36, 0, 1, 0, 0, 2, "BlastRadius" },
84 { "", 256, 0, 1, 0, 0, 2, "Teleport" },
85 { "", 30, 0, 1, 0, 0, 2, "ThunderCrash" },
86 { "", 80, 0, 1, 0, 0, 2, "FighterPunchMiss" },
87 { "", 80, 0, 1, 0, 0, 2, "FighterPunchHitThing" },
88 { "", 80, 0, 1, 0, 0, 2, "FighterPunchHitWall" },
89 { "", 80, 0, 1, 0, 0, 2, "FighterGrunt" },
90 { "", 80, 0, 1, 0, 0, 2, "FighterAxeHitThing" },
91 { "", 80, 0, 1, 0, 0, 2, "FighterHammerMiss" },
92 { "", 80, 0, 1, 0, 0, 2, "FighterHammerHitThing" },
93 { "", 80, 0, 1, 0, 0, 2, "FighterHammerHitWall" },
94 { "", 32, 0, 1, 0, 0, 2, "FighterHammerContinuous" },
95 { "", 80, 0, 1, 0, 0, 2, "FighterHammerExplode" },
96 { "", 80, 0, 1, 0, 0, 2, "FighterSwordFire" },
97 { "", 80, 0, 1, 0, 0, 2, "FighterSwordExplode" },
98 { "", 80, 0, 1, 0, 0, 2, "ClericCStaffFire" },
99 { "", 40, 0, 1, 0, 0, 2, "ClericCStaffExplode" },
100 { "", 80, 0, 1, 0, 0, 2, "ClericCStaffHitThing" },
101 { "", 80, 0, 1, 0, 0, 2, "ClericFlameFire" },
102 { "", 80, 0, 1, 0, 0, 2, "ClericFlameExplode" },
103 { "", 80, 0, 1, 0, 0, 2, "ClericFlameCircle" },
104 { "", 80, 0, 1, 0, 0, 2, "MageWandFire" },
105 { "", 80, 0, 1, 0, 0, 2, "MageLightningFire" },
106 { "", 32, 0, 1, 0, 0, 2, "MageLightningZap" },
107 { "", 32, 0, 1, 0, 0, 2, "MageLightningContinuous" },
108 { "", 30, 0, 1, 0, 0, 2, "MageLightningReady" },
109 { "", 80, 0, 1, 0, 0, 2, "MageShardsFire" },
110 { "", 36, 0, 1, 0, 0, 2, "MageShardsExplode" },
111 { "", 80, 0, 1, 0, 0, 2, "MageStaffFire" },
112 { "", 40, 0, 1, 0, 0, 2, "MageStaffExplode" },
113 { "", 32, 0, 1, 0, 0, 2, "Switch1" },
114 { "", 32, 0, 1, 0, 0, 2, "Switch2" },
115 { "", 32, 0, 1, 0, 0, 2, "SerpentSight" },
116 { "", 32, 0, 1, 0, 0, 2, "SerpentActive" },
117 { "", 32, 0, 1, 0, 0, 2, "SerpentPain" },
118 { "", 32, 0, 1, 0, 0, 2, "SerpentAttack" },
119 { "", 32, 0, 1, 0, 0, 2, "SerpentMeleeHit" },
120 { "", 40, 0, 1, 0, 0, 2, "SerpentDeath" },
121 { "", 32, 0, 1, 0, 0, 2, "SerpentBirth" },
122 { "", 32, 0, 1, 0, 0, 2, "SerpentFXContinuous" },
123 { "", 32, 0, 1, 0, 0, 2, "SerpentFXHit" },
124 { "", 32, 0, 1, 0, 0, 2, "PotteryExplode" },
125 { "", 32, 0, 1, 0, 0, 2, "Drip" },
126 { "", 32, 0, 1, 0, 0, 2, "CentaurSight" },
127 { "", 32, 0, 1, 0, 0, 2, "CentaurActive" },
128 { "", 32, 0, 1, 0, 0, 2, "CentaurPain" },
129 { "", 32, 0, 1, 0, 0, 2, "CentaurAttack" },
130 { "", 40, 0, 1, 0, 0, 2, "CentaurDeath" },
131 { "", 32, 0, 1, 0, 0, 2, "CentaurLeaderAttack" },
132 { "", 32, 0, 1, 0, 0, 2, "CentaurMissileExplode" },
133 { "", 1, 0, 1, 0, 0, 2, "Wind" },
134 { "", 32, 0, 1, 0, 0, 2, "BishopSight" },
135 { "", 32, 0, 1, 0, 0, 2, "BishopActive" },
136 { "", 32, 0, 1, 0, 0, 2, "BishopPain" },
137 { "", 32, 0, 1, 0, 0, 2, "BishopAttack" },
138 { "", 40, 0, 1, 0, 0, 2, "BishopDeath" },
139 { "", 32, 0, 1, 0, 0, 2, "BishopMissileExplode" },
140 { "", 32, 0, 1, 0, 0, 2, "BishopBlur" },
141 { "", 32, 0, 1, 0, 0, 2, "DemonSight" },
142 { "", 32, 0, 1, 0, 0, 2, "DemonActive" },
143 { "", 32, 0, 1, 0, 0, 2, "DemonPain" },
144 { "", 32, 0, 1, 0, 0, 2, "DemonAttack" },
145 { "", 32, 0, 1, 0, 0, 2, "DemonMissileFire" },
146 { "", 32, 0, 1, 0, 0, 2, "DemonMissileExplode" },
147 { "", 40, 0, 1, 0, 0, 2, "DemonDeath" },
148 { "", 32, 0, 1, 0, 0, 2, "WraithSight" },
149 { "", 32, 0, 1, 0, 0, 2, "WraithActive" },
150 { "", 32, 0, 1, 0, 0, 2, "WraithPain" },
151 { "", 32, 0, 1, 0, 0, 2, "WraithAttack" },
152 { "", 32, 0, 1, 0, 0, 2, "WraithMissileFire" },
153 { "", 32, 0, 1, 0, 0, 2, "WraithMissileExplode" },
154 { "", 40, 0, 1, 0, 0, 2, "WraithDeath" },
155 { "", 32, 0, 1, 0, 0, 2, "PigActive1" },
156 { "", 32, 0, 1, 0, 0, 2, "PigActive2" },
157 { "", 32, 0, 1, 0, 0, 2, "PigPain" },
158 { "", 32, 0, 1, 0, 0, 2, "PigAttack" },
159 { "", 40, 0, 1, 0, 0, 2, "PigDeath" },
160 { "", 32, 0, 1, 0, 0, 2, "MaulatorSight" },
161 { "", 32, 0, 1, 0, 0, 2, "MaulatorActive" },
162 { "", 32, 0, 1, 0, 0, 2, "MaulatorPain" },
163 { "", 32, 0, 1, 0, 0, 2, "MaulatorHamSwing" },
164 { "", 32, 0, 1, 0, 0, 2, "MaulatorHamHit" },
165 { "", 32, 0, 1, 0, 0, 2, "MaulatorMissileHit" },
166 { "", 40, 0, 1, 0, 0, 2, "MaulatorDeath" },
167 { "", 40, 0, 1, 0, 0, 2, "FreezeDeath" },
168 { "", 40, 0, 1, 0, 0, 2, "FreezeShatter" },
169 { "", 32, 0, 1, 0, 0, 2, "EttinSight" },
170 { "", 32, 0, 1, 0, 0, 2, "EttinActive" },
171 { "", 32, 0, 1, 0, 0, 2, "EttinPain" },
172 { "", 32, 0, 1, 0, 0, 2, "EttinAttack" },
173 { "", 40, 0, 1, 0, 0, 2, "EttinDeath" },
174 { "", 32, 0, 1, 0, 0, 2, "FireDemonSpawn" },
175 { "", 32, 0, 1, 0, 0, 2, "FireDemonActive" },
176 { "", 32, 0, 1, 0, 0, 2, "FireDemonPain" },
177 { "", 32, 0, 1, 0, 0, 2, "FireDemonAttack" },
178 { "", 32, 0, 1, 0, 0, 2, "FireDemonMissileHit" },
179 { "", 40, 0, 1, 0, 0, 2, "FireDemonDeath" },
180 { "", 32, 0, 1, 0, 0, 2, "IceGuySight" },
181 { "", 32, 0, 1, 0, 0, 2, "IceGuyActive" },
182 { "", 32, 0, 1, 0, 0, 2, "IceGuyAttack" },
183 { "", 32, 0, 1, 0, 0, 2, "IceGuyMissileExplode" },
184 { "", 256, 0, 1, 0, 0, 2, "SorcererSight" },
185 { "", 256, 0, 1, 0, 0, 2, "SorcererActive" },
186 { "", 256, 0, 1, 0, 0, 2, "SorcererPain" },
187 { "", 256, 0, 1, 0, 0, 2, "SorcererSpellCast" },
188 { "", 256, 0, 1, 0, 0, 4, "SorcererBallWoosh" },
189 { "", 256, 0, 1, 0, 0, 2, "SorcererDeathScream" },
190 { "", 80, 0, 1, 0, 0, 2, "SorcererBishopSpawn" },
191 { "", 80, 0, 1, 0, 0, 2, "SorcererBallPop" },
192 { "", 80, 0, 1, 0, 0, 3, "SorcererBallBounce" },
193 { "", 80, 0, 1, 0, 0, 3, "SorcererBallExplode" },
194 { "", 80, 0, 1, 0, 0, 3, "SorcererBigBallExplode" },
195 { "", 256, 0, 1, 0, 0, 2, "SorcererHeadScream" },
196 { "", 64, 0, 1, 0, 0, 2, "DragonSight" },
197 { "", 64, 0, 1, 0, 0, 2, "DragonActive" },
198 { "", 64, 0, 1, 0, 0, 2, "DragonWingflap" },
199 { "", 64, 0, 1, 0, 0, 2, "DragonAttack" },
200 { "", 64, 0, 1, 0, 0, 2, "DragonPain" },
201 { "", 64, 0, 1, 0, 0, 2, "DragonDeath" },
202 { "", 32, 0, 1, 0, 0, 2, "DragonFireballExplode" },
203 { "", 256, 0, 1, 0, 0, 2, "KoraxSight" },
204 { "", 256, 0, 1, 0, 0, 2, "KoraxActive" },
205 { "", 256, 0, 1, 0, 0, 2, "KoraxPain" },
206 { "", 256, 0, 1, 0, 0, 2, "KoraxAttack" },
207 { "", 256, 0, 1, 0, 0, 2, "KoraxCommand" },
208 { "", 256, 0, 1, 0, 0, 2, "KoraxDeath" },
209 { "", 128, 0, 1, 0, 0, 2, "KoraxStep" },
210 { "", 32, 0, 1, 0, 0, 2, "ThrustSpikeRaise" },
211 { "", 32, 0, 1, 0, 0, 2, "ThrustSpikeLower" },
212 { "", 32, 0, 1, 0, 0, 2, "GlassShatter" },
213 { "", 32, 0, 1, 0, 0, 2, "FlechetteBounce" },
214 { "", 32, 0, 1, 0, 0, 2, "FlechetteExplode" },
215 { "", 36, 0, 1, 0, 0, 2, "LavaMove" },
216 { "", 36, 0, 1, 0, 0, 2, "WaterMove" },
217 { "", 36, 0, 1, 0, 0, 2, "IceStartMove" },
218 { "", 36, 0, 1, 0, 0, 2, "EarthStartMove" },
219 { "", 32, 0, 1, 0, 0, 2, "WaterSplash" },
220 { "", 32, 0, 1, 0, 0, 2, "LavaSizzle" },
221 { "", 32, 0, 1, 0, 0, 2, "SludgeGloop" },
222 { "", 64, 0, 1, 0, 0, 2, "HolySymbolFire" },
223 { "", 32, 0, 1, 0, 0, 2, "SpiritActive" },
224 { "", 32, 0, 1, 0, 0, 2, "SpiritAttack" },
225 { "", 32, 0, 1, 0, 0, 2, "SpiritDie" },
226 { "", 36, 0, 1, 0, 0, 2, "ValveTurn" },
227 { "", 36, 0, 1, 0, 0, 2, "RopePull" },
228 { "", 20, 0, 1, 0, 0, 2, "FlyBuzz" },
229 { "", 32, 0, 1, 0, 0, 2, "Ignite" },
230 { "", 256, 0, 1, 0, 0, 2, "PuzzleSuccess" },
231 { "", 256, 0, 1, 0, 0, 2, "PuzzleFailFighter" },
232 { "", 256, 0, 1, 0, 0, 2, "PuzzleFailCleric" },
233 { "", 256, 0, 1, 0, 0, 2, "PuzzleFailMage" },
234 { "", 32, 0, 1, 0, 0, 2, "Earthquake" },
235 { "", 32, 0, 0, 0, 0, 2, "BellRing" },
236 { "", 32, 0, 1, 0, 0, 2, "TreeBreak" },
237 { "", 32, 0, 1, 0, 0, 2, "TreeExplode" },
238 { "", 32, 0, 1, 0, 0, 2, "SuitofArmorBreak" },
239 { "", 20, 0, 1, 0, 0, 2, "PoisonShroomPain" },
240 { "", 32, 0, 1, 0, 0, 2, "PoisonShroomDeath" },
241 { "", 1, 0, 1, 0, 0, 1, "Ambient1" },
242 { "", 1, 0, 1, 0, 0, 1, "Ambient2" },
243 { "", 1, 0, 1, 0, 0, 1, "Ambient3" },
244 { "", 1, 0, 1, 0, 0, 1, "Ambient4" },
245 { "", 1, 0, 1, 0, 0, 1, "Ambient5" },
246 { "", 1, 0, 1, 0, 0, 1, "Ambient6" },
247 { "", 1, 0, 1, 0, 0, 1, "Ambient7" },
248 { "", 1, 0, 1, 0, 0, 1, "Ambient8" },
249 { "", 1, 0, 1, 0, 0, 1, "Ambient9" },
250 { "", 1, 0, 1, 0, 0, 1, "Ambient10" },
251 { "", 1, 0, 1, 0, 0, 1, "Ambient11" },
252 { "", 1, 0, 1, 0, 0, 1, "Ambient12" },
253 { "", 1, 0, 1, 0, 0, 1, "Ambient13" },
254 { "", 1, 0, 1, 0, 0, 1, "Ambient14" },
255 { "", 1, 0, 1, 0, 0, 1, "Ambient15" },
256 { "", 32, 0, 1, 0, 0, 2, "StartupTick" },
257 { "", 32, 0, 1, 0, 0, 2, "SwitchOtherLevel" },
258 { "", 32, 0, 1, 0, 0, 2, "Respawn" },
259 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceGreetings" },
260 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceReady" },
261 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceBlood" },
262 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceGame" },
263 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceBoard" },
264 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceWorship" },
265 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceMaybe" },
266 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceStrong" },
267 { "", 512, 0, 1, 0, 0, 2, "KoraxVoiceFace" },
268 { "", 32, 0, 1, 0, 0, 2, "BatScream" },
269 { "", 512, 0, 1, 0, 0, 2, "Chat" },
270 { "", 32, 0, 1, 0, 0, 2, "MenuMove" },
271 { "", 32, 0, 1, 0, 0, 2, "ClockTick" },
272 { "", 32, 0, 1, 0, 0, 2, "Fireball" },
273 { "", 30, 0, 1, 0, 0, 2, "PuppyBeat" },
274 { "", 32, 0, 1, 0, 0, 4, "MysticIncant" },
275 };