SOUNDS.C 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. // sounds.c
  2. #include "DoomDef.h"
  3. #include "sounds.h"
  4. // Music info
  5. musicinfo_t S_music[] =
  6. {
  7. { "MUS_E1M1", 0 }, // 1-1
  8. { "MUS_E1M2", 0 },
  9. { "MUS_E1M3", 0 },
  10. { "MUS_E1M4", 0 },
  11. { "MUS_E1M5", 0 },
  12. { "MUS_E1M6", 0 },
  13. { "MUS_E1M7", 0 },
  14. { "MUS_E1M8", 0 },
  15. { "MUS_E1M9", 0 },
  16. { "MUS_E2M1", 0 }, // 2-1
  17. { "MUS_E2M2", 0 },
  18. { "MUS_E2M3", 0 },
  19. { "MUS_E2M4", 0 },
  20. { "MUS_E1M4", 0 },
  21. { "MUS_E2M6", 0 },
  22. { "MUS_E2M7", 0 },
  23. { "MUS_E2M8", 0 },
  24. { "MUS_E2M9", 0 },
  25. { "MUS_E1M1", 0 }, // 3-1
  26. { "MUS_E3M2", 0 },
  27. { "MUS_E3M3", 0 },
  28. { "MUS_E1M6", 0 },
  29. { "MUS_E1M3", 0 },
  30. { "MUS_E1M2", 0 },
  31. { "MUS_E1M5", 0 },
  32. { "MUS_E1M9", 0 },
  33. { "MUS_E2M6", 0 },
  34. { "MUS_E1M6", 0 }, // 4-1
  35. { "MUS_E1M2", 0 },
  36. { "MUS_E1M3", 0 },
  37. { "MUS_E1M4", 0 },
  38. { "MUS_E1M5", 0 },
  39. { "MUS_E1M1", 0 },
  40. { "MUS_E1M7", 0 },
  41. { "MUS_E1M8", 0 },
  42. { "MUS_E1M9", 0 },
  43. { "MUS_E2M1", 0 }, // 5-1
  44. { "MUS_E2M2", 0 },
  45. { "MUS_E2M3", 0 },
  46. { "MUS_E2M4", 0 },
  47. { "MUS_E1M4", 0 },
  48. { "MUS_E2M6", 0 },
  49. { "MUS_E2M7", 0 },
  50. { "MUS_E2M8", 0 },
  51. { "MUS_E2M9", 0 },
  52. { "MUS_E3M2", 0 }, // 6-1
  53. { "MUS_E3M3", 0 }, // 6-2
  54. { "MUS_E1M6", 0 }, // 6-3
  55. { "MUS_TITL", 0 },
  56. { "MUS_INTR", 0 },
  57. { "MUS_CPTD", 0 }
  58. };
  59. // Sound info
  60. sfxinfo_t S_sfx[] =
  61. {
  62. { {0,0,0,0,0,0,0,0}, NULL, 0, -1, NULL, 0, 0 },
  63. { "gldhit", NULL, 32, -1, NULL, 0, 2 },
  64. { "gntful", NULL, 32, -1, NULL, 0, -1 },
  65. { "gnthit", NULL, 32, -1, NULL, 0, -1 },
  66. { "gntpow", NULL, 32, -1, NULL, 0, -1 },
  67. { "gntact", NULL, 32, -1, NULL, 0, -1 },
  68. { "gntuse", NULL, 32, -1, NULL, 0, -1 },
  69. { "phosht", NULL, 32, -1, NULL, 0, 2 },
  70. { "phohit", NULL, 32, -1, NULL, 0, -1 },
  71. { "-phopow", &S_sfx[sfx_hedat1], 32, -1, NULL, 0, 1 },
  72. { "lobsht", NULL, 20, -1, NULL, 0, 2 },
  73. { "lobhit", NULL, 20, -1, NULL, 0, 2 },
  74. { "lobpow", NULL, 20, -1, NULL, 0, 2 },
  75. { "hrnsht", NULL, 32, -1, NULL, 0, 2 },
  76. { "hrnhit", NULL, 32, -1, NULL, 0, 2 },
  77. { "hrnpow", NULL, 32, -1, NULL, 0, 2 },
  78. { "ramphit", NULL, 32, -1, NULL, 0, 2 },
  79. { "ramrain", NULL, 10, -1, NULL, 0, 2 },
  80. { "bowsht", NULL, 32, -1, NULL, 0, 2 },
  81. { "stfhit", NULL, 32, -1, NULL, 0, 2 },
  82. { "stfpow", NULL, 32, -1, NULL, 0, 2 },
  83. { "stfcrk", NULL, 32, -1, NULL, 0, 2 },
  84. { "impsit", NULL, 32, -1, NULL, 0, 2 },
  85. { "impat1", NULL, 32, -1, NULL, 0, 2 },
  86. { "impat2", NULL, 32, -1, NULL, 0, 2 },
  87. { "impdth", NULL, 80, -1, NULL, 0, 2 },
  88. { "-impact", &S_sfx[sfx_impsit], 20, -1, NULL, 0, 2 },
  89. { "imppai", NULL, 32, -1, NULL, 0, 2 },
  90. { "mumsit", NULL, 32, -1, NULL, 0, 2 },
  91. { "mumat1", NULL, 32, -1, NULL, 0, 2 },
  92. { "mumat2", NULL, 32, -1, NULL, 0, 2 },
  93. { "mumdth", NULL, 80, -1, NULL, 0, 2 },
  94. { "-mumact", &S_sfx[sfx_mumsit], 20, -1, NULL, 0, 2 },
  95. { "mumpai", NULL, 32, -1, NULL, 0, 2 },
  96. { "mumhed", NULL, 32, -1, NULL, 0, 2 },
  97. { "bstsit", NULL, 32, -1, NULL, 0, 2 },
  98. { "bstatk", NULL, 32, -1, NULL, 0, 2 },
  99. { "bstdth", NULL, 80, -1, NULL, 0, 2 },
  100. { "bstact", NULL, 20, -1, NULL, 0, 2 },
  101. { "bstpai", NULL, 32, -1, NULL, 0, 2 },
  102. { "clksit", NULL, 32, -1, NULL, 0, 2 },
  103. { "clkatk", NULL, 32, -1, NULL, 0, 2 },
  104. { "clkdth", NULL, 80, -1, NULL, 0, 2 },
  105. { "clkact", NULL, 20, -1, NULL, 0, 2 },
  106. { "clkpai", NULL, 32, -1, NULL, 0, 2 },
  107. { "snksit", NULL, 32, -1, NULL, 0, 2 },
  108. { "snkatk", NULL, 32, -1, NULL, 0, 2 },
  109. { "snkdth", NULL, 80, -1, NULL, 0, 2 },
  110. { "snkact", NULL, 20, -1, NULL, 0, 2 },
  111. { "snkpai", NULL, 32, -1, NULL, 0, 2 },
  112. { "kgtsit", NULL, 32, -1, NULL, 0, 2 },
  113. { "kgtatk", NULL, 32, -1, NULL, 0, 2 },
  114. { "kgtat2", NULL, 32, -1, NULL, 0, 2 },
  115. { "kgtdth", NULL, 80, -1, NULL, 0, 2 },
  116. { "-kgtact", &S_sfx[sfx_kgtsit], 20, -1, NULL, 0, 2 },
  117. { "kgtpai", NULL, 32, -1, NULL, 0, 2 },
  118. { "wizsit", NULL, 32, -1, NULL, 0, 2 },
  119. { "wizatk", NULL, 32, -1, NULL, 0, 2 },
  120. { "wizdth", NULL, 80, -1, NULL, 0, 2 },
  121. { "wizact", NULL, 20, -1, NULL, 0, 2 },
  122. { "wizpai", NULL, 32, -1, NULL, 0, 2 },
  123. { "minsit", NULL, 32, -1, NULL, 0, 2 },
  124. { "minat1", NULL, 32, -1, NULL, 0, 2 },
  125. { "minat2", NULL, 32, -1, NULL, 0, 2 },
  126. { "minat3", NULL, 32, -1, NULL, 0, 2 },
  127. { "mindth", NULL, 80, -1, NULL, 0, 2 },
  128. { "minact", NULL, 20, -1, NULL, 0, 2 },
  129. { "minpai", NULL, 32, -1, NULL, 0, 2 },
  130. { "hedsit", NULL, 32, -1, NULL, 0, 2 },
  131. { "hedat1", NULL, 32, -1, NULL, 0, 2 },
  132. { "hedat2", NULL, 32, -1, NULL, 0, 2 },
  133. { "hedat3", NULL, 32, -1, NULL, 0, 2 },
  134. { "heddth", NULL, 80, -1, NULL, 0, 2 },
  135. { "hedact", NULL, 20, -1, NULL, 0, 2 },
  136. { "hedpai", NULL, 32, -1, NULL, 0, 2 },
  137. { "sorzap", NULL, 32, -1, NULL, 0, 2 },
  138. { "sorrise", NULL, 32, -1, NULL, 0, 2 },
  139. { "sorsit", NULL, 200, -1, NULL, 0, 2 },
  140. { "soratk", NULL, 32, -1, NULL, 0, 2 },
  141. { "soract", NULL, 200, -1, NULL, 0, 2 },
  142. { "sorpai", NULL, 200, -1, NULL, 0, 2 },
  143. { "sordsph", NULL, 200, -1, NULL, 0, 2 },
  144. { "sordexp", NULL, 200, -1, NULL, 0, 2 },
  145. { "sordbon", NULL, 200, -1, NULL, 0, 2 },
  146. { "-sbtsit", &S_sfx[sfx_bstsit], 32, -1, NULL, 0, 2 },
  147. { "-sbtatk", &S_sfx[sfx_bstatk], 32, -1, NULL, 0, 2 },
  148. { "sbtdth", NULL, 80, -1, NULL, 0, 2 },
  149. { "sbtact", NULL, 20, -1, NULL, 0, 2 },
  150. { "sbtpai", NULL, 32, -1, NULL, 0, 2 },
  151. { "plroof", NULL, 32, -1, NULL, 0, 2 },
  152. { "plrpai", NULL, 32, -1, NULL, 0, 2 },
  153. { "plrdth", NULL, 80, -1, NULL, 0, 2 },
  154. { "gibdth", NULL, 100, -1, NULL, 0, 2 },
  155. { "plrwdth", NULL, 80, -1, NULL, 0, 2 },
  156. { "plrcdth", NULL, 100, -1, NULL, 0, 2 },
  157. { "itemup", NULL, 32, -1, NULL, 0, 2 },
  158. { "wpnup", NULL, 32, -1, NULL, 0, 2 },
  159. { "telept", NULL, 50, -1, NULL, 0, 2 },
  160. { "doropn", NULL, 40, -1, NULL, 0, 2 },
  161. { "dorcls", NULL, 40, -1, NULL, 0, 2 },
  162. { "dormov", NULL, 40, -1, NULL, 0, 2 },
  163. { "artiup", NULL, 32, -1, NULL, 0, 2 },
  164. { "switch", NULL, 40, -1, NULL, 0, 2 },
  165. { "pstart", NULL, 40, -1, NULL, 0, 2 },
  166. { "pstop", NULL, 40, -1, NULL, 0, 2 },
  167. { "stnmov", NULL, 40, -1, NULL, 0, 2 },
  168. { "chicpai", NULL, 32, -1, NULL, 0, 2 },
  169. { "chicatk", NULL, 32, -1, NULL, 0, 2 },
  170. { "chicdth", NULL, 40, -1, NULL, 0, 2 },
  171. { "chicact", NULL, 32, -1, NULL, 0, 2 },
  172. { "chicpk1", NULL, 32, -1, NULL, 0, 2 },
  173. { "chicpk2", NULL, 32, -1, NULL, 0, 2 },
  174. { "chicpk3", NULL, 32, -1, NULL, 0, 2 },
  175. { "keyup", NULL, 50, -1, NULL, 0, 2 },
  176. { "ripslop", NULL, 16, -1, NULL, 0, 2 },
  177. { "newpod", NULL, 16, -1, NULL, 0, -1 },
  178. { "podexp", NULL, 40, -1, NULL, 0, -1 },
  179. { "bounce", NULL, 16, -1, NULL, 0, 2 },
  180. { "-volsht", &S_sfx[sfx_bstatk], 16, -1, NULL, 0, 2 },
  181. { "-volhit", &S_sfx[sfx_lobhit], 16, -1, NULL, 0, 2 },
  182. { "burn", NULL, 10, -1, NULL, 0, 2 },
  183. { "splash", NULL, 10, -1, NULL, 0, 1 },
  184. { "gloop", NULL, 10, -1, NULL, 0, 2 },
  185. { "respawn", NULL, 10, -1, NULL, 0, 1 },
  186. { "blssht", NULL, 32, -1, NULL, 0, 2 },
  187. { "blshit", NULL, 32, -1, NULL, 0, 2 },
  188. { "chat", NULL, 100, -1, NULL, 0, 1 },
  189. { "artiuse", NULL, 32, -1, NULL, 0, 1 },
  190. { "gfrag", NULL, 100, -1, NULL, 0, 1 },
  191. { "waterfl", NULL, 16, -1, NULL, 0, 2 },
  192. // Monophonic sounds
  193. { "wind", NULL, 16, -1, NULL, 0, 1 },
  194. { "amb1", NULL, 1, -1, NULL, 0, 1 },
  195. { "amb2", NULL, 1, -1, NULL, 0, 1 },
  196. { "amb3", NULL, 1, -1, NULL, 0, 1 },
  197. { "amb4", NULL, 1, -1, NULL, 0, 1 },
  198. { "amb5", NULL, 1, -1, NULL, 0, 1 },
  199. { "amb6", NULL, 1, -1, NULL, 0, 1 },
  200. { "amb7", NULL, 1, -1, NULL, 0, 1 },
  201. { "amb8", NULL, 1, -1, NULL, 0, 1 },
  202. { "amb9", NULL, 1, -1, NULL, 0, 1 },
  203. { "amb10", NULL, 1, -1, NULL, 0, 1 },
  204. { "amb11", NULL, 1, -1, NULL, 0, 0 }
  205. };