data2.cpp 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. /* $Id$
  2. * MegaZeux
  3. *
  4. * Copyright (C) 1996 Greg Janson
  5. * Copyright (C) 1998 Matthew D. Williams - dbwilli@scsn.net
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License as
  9. * published by the Free Software Foundation; either version 2 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This program is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * 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., 675 Mass Ave, Cambridge, MA 02139, USA.
  20. */
  21. /* Further data definition- declaration of struct storage */
  22. #include <_null.h>
  23. #include "data.h"
  24. #include "const.h"
  25. #include "struct.h"
  26. Robot far *robots=NULL;//NUM_ROBOTS in size
  27. Scroll far *scrolls=NULL;//NUM_SCROLLS in size
  28. Counter far *counters=NULL;//NUM_COUNTERS in size
  29. Sensor far *sensors=NULL;//NUM_SENSORS in size
  30. //Music devices
  31. char far *music_devices[NUM_DEVICES+1]={
  32. "None",
  33. "Soundblaster 1.xx",
  34. "Soundblaster 2.xx",
  35. "Soundblaster PRO",
  36. "Soundblaster 16",
  37. "Pro Audio Spectrum 16",
  38. "Gravis Ultra-Sound (cannot play",
  39. "digital sound effects)" };
  40. char *music_MSEs[NUM_DEVICES]={
  41. "",
  42. "SB1X.MSE",
  43. "SB2X.MSE",
  44. "SBPRO.MSE",
  45. "SB16.MSE",
  46. "PAS.MSE",
  47. "GUS.MSE" };
  48. //Mixing rates, Low Med High quality per device
  49. unsigned int mixing_rates[NUM_DEVICES][3]={
  50. { 0,0,0 },
  51. { 15,30,45 },
  52. { 15,30,45 },
  53. { 15,30,45 },
  54. { 15,30,45 },
  55. { 15,30,45 },
  56. { 45,45,45 } };
  57. //Sound quality strings
  58. char far *music_quality[3]={
  59. "Low",
  60. "Medium",
  61. "High" };
  62. //Names for all things
  63. char far *thing_names[128]={
  64. "Space",
  65. "Normal",
  66. "Solid",
  67. "Tree",
  68. "Line",
  69. "CustomBlock",
  70. "Breakaway",
  71. "CustomBreak",
  72. "Boulder",
  73. "Crate",
  74. "CustomPush",
  75. "Box",
  76. "CustomBox",
  77. "Fake",
  78. "Carpet",
  79. "Floor",
  80. "Tiles",
  81. "CustomFloor",
  82. "Web",
  83. "ThickWeb",
  84. "StillWater",
  85. "NWater",
  86. "SWater",
  87. "EWater",
  88. "WWater",
  89. "Ice",
  90. "Lava",
  91. "Chest",
  92. "Gem",
  93. "MagicGem",
  94. "Health",
  95. "Ring",
  96. "Potion",
  97. "Energizer",
  98. "Goop",
  99. "Ammo",
  100. "Bomb",
  101. "LitBomb",
  102. "Explosion",
  103. "Key",
  104. "Lock",
  105. "Door",
  106. "OpenDoor",
  107. "Stairs",
  108. "Cave",
  109. "CWRotate",
  110. "CCWRotate",
  111. "Gate",
  112. "OpenGate",
  113. "Transport",
  114. "Coin",
  115. "NMovingWall",
  116. "SMovingWall",
  117. "EMovingWall",
  118. "WMovingWall",
  119. "Pouch",
  120. "Pusher",
  121. "SliderNS",
  122. "SliderEW",
  123. "Lazer",
  124. "LazerGun",
  125. "Bullet",
  126. "Missile",
  127. "Fire",
  128. "[unknown]",
  129. "Forest",
  130. "Life",
  131. "Whirlpool",
  132. "Whirlpool2",
  133. "Whirlpool3",
  134. "Whirlpool4",
  135. "InvisWall",
  136. "RicochetPanel",
  137. "Ricochet",
  138. "Mine",
  139. "Spike",
  140. "CustomHurt",
  141. "Text",
  142. "ShootingFire",
  143. "Seeker",
  144. "Snake",
  145. "Eye",
  146. "Thief",
  147. "Slimeblob",
  148. "Runner",
  149. "Ghost",
  150. "Dragon",
  151. "Fish",
  152. "Shark",
  153. "Spider",
  154. "Goblin",
  155. "SpittingTiger",
  156. "BulletGun",
  157. "SpinningGun",
  158. "Bear",
  159. "BearCub",
  160. "[unknown]",
  161. "MissileGun",
  162. "[unknown]","[unknown]","[unknown]","[unknown]",
  163. "[unknown]","[unknown]","[unknown]","[unknown]",
  164. "[unknown]","[unknown]","[unknown]","[unknown]",
  165. "[unknown]","[unknown]","[unknown]","[unknown]",
  166. "[unknown]","[unknown]","[unknown]","[unknown]",
  167. "[unknown]","[unknown]","[unknown]","[unknown]",
  168. "Sensor",
  169. "PushableRobot",
  170. "Robot",
  171. "Sign",
  172. "Scroll",
  173. "Player" };