info.h 22 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348
  1. /*
  2. ===========================================================================
  3. Doom 3 BFG Edition GPL Source Code
  4. Copyright (C) 1993-2012 id Software LLC, a ZeniMax Media company.
  5. This file is part of the Doom 3 BFG Edition GPL Source Code ("Doom 3 BFG Edition Source Code").
  6. Doom 3 BFG Edition Source Code is free software: you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation, either version 3 of the License, or
  9. (at your option) any later version.
  10. Doom 3 BFG Edition Source Code is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with Doom 3 BFG Edition Source Code. If not, see <http://www.gnu.org/licenses/>.
  16. In addition, the Doom 3 BFG Edition Source Code is also subject to certain additional terms. You should have received a copy of these additional terms immediately following the terms and conditions of the GNU General Public License which accompanied the Doom 3 BFG Edition Source Code. If not, please request a copy in writing from id Software at the address below.
  17. If you have questions concerning this license or the applicable additional terms, you may contact in writing id Software LLC, c/o ZeniMax Media Inc., Suite 120, Rockville, Maryland 20850 USA.
  18. ===========================================================================
  19. */
  20. #ifndef __INFO__
  21. #define __INFO__
  22. // Needed for action function pointer handling.
  23. #include "d_think.h"
  24. typedef enum
  25. {
  26. SPR_TROO,
  27. SPR_SHTG,
  28. SPR_PUNG,
  29. SPR_PISG,
  30. SPR_PISF,
  31. SPR_SHTF,
  32. SPR_SHT2,
  33. SPR_CHGG,
  34. SPR_CHGF,
  35. SPR_MISG,
  36. SPR_MISF,
  37. SPR_SAWG,
  38. SPR_PLSG,
  39. SPR_PLSF,
  40. SPR_BFGG,
  41. SPR_BFGF,
  42. SPR_BLUD,
  43. SPR_PUFF,
  44. SPR_BAL1,
  45. SPR_BAL2,
  46. SPR_PLSS,
  47. SPR_PLSE,
  48. SPR_MISL,
  49. SPR_BFS1,
  50. SPR_BFE1,
  51. SPR_BFE2,
  52. SPR_TFOG,
  53. SPR_IFOG,
  54. SPR_PLAY,
  55. SPR_POSS,
  56. SPR_SPOS,
  57. SPR_VILE,
  58. SPR_FIRE,
  59. SPR_FATB,
  60. SPR_FBXP,
  61. SPR_SKEL,
  62. SPR_MANF,
  63. SPR_FATT,
  64. SPR_CPOS,
  65. SPR_SARG,
  66. SPR_HEAD,
  67. SPR_BAL7,
  68. SPR_BOSS,
  69. SPR_BOS2,
  70. SPR_SKUL,
  71. SPR_SPID,
  72. SPR_BSPI,
  73. SPR_APLS,
  74. SPR_APBX,
  75. SPR_CYBR,
  76. SPR_PAIN,
  77. SPR_SSWV,
  78. SPR_KEEN,
  79. SPR_BBRN,
  80. SPR_BOSF,
  81. SPR_ARM1,
  82. SPR_ARM2,
  83. SPR_BAR1,
  84. SPR_BEXP,
  85. SPR_FCAN,
  86. SPR_BON1,
  87. SPR_BON2,
  88. SPR_BKEY,
  89. SPR_RKEY,
  90. SPR_YKEY,
  91. SPR_BSKU,
  92. SPR_RSKU,
  93. SPR_YSKU,
  94. SPR_STIM,
  95. SPR_MEDI,
  96. SPR_SOUL,
  97. SPR_PINV,
  98. SPR_PSTR,
  99. SPR_PINS,
  100. SPR_MEGA,
  101. SPR_SUIT,
  102. SPR_PMAP,
  103. SPR_PVIS,
  104. SPR_CLIP,
  105. SPR_AMMO,
  106. SPR_ROCK,
  107. SPR_BROK,
  108. SPR_CELL,
  109. SPR_CELP,
  110. SPR_SHEL,
  111. SPR_SBOX,
  112. SPR_BPAK,
  113. SPR_BFUG,
  114. SPR_MGUN,
  115. SPR_CSAW,
  116. SPR_LAUN,
  117. SPR_PLAS,
  118. SPR_SHOT,
  119. SPR_SGN2,
  120. SPR_COLU,
  121. SPR_SMT2,
  122. SPR_GOR1,
  123. SPR_POL2,
  124. SPR_POL5,
  125. SPR_POL4,
  126. SPR_POL3,
  127. SPR_POL1,
  128. SPR_POL6,
  129. SPR_GOR2,
  130. SPR_GOR3,
  131. SPR_GOR4,
  132. SPR_GOR5,
  133. SPR_SMIT,
  134. SPR_COL1,
  135. SPR_COL2,
  136. SPR_COL3,
  137. SPR_COL4,
  138. SPR_CAND,
  139. SPR_CBRA,
  140. SPR_COL6,
  141. SPR_TRE1,
  142. SPR_TRE2,
  143. SPR_ELEC,
  144. SPR_CEYE,
  145. SPR_FSKU,
  146. SPR_COL5,
  147. SPR_TBLU,
  148. SPR_TGRN,
  149. SPR_TRED,
  150. SPR_SMBT,
  151. SPR_SMGT,
  152. SPR_SMRT,
  153. SPR_HDB1,
  154. SPR_HDB2,
  155. SPR_HDB3,
  156. SPR_HDB4,
  157. SPR_HDB5,
  158. SPR_HDB6,
  159. SPR_POB1,
  160. SPR_POB2,
  161. SPR_BRS1,
  162. SPR_TLMP,
  163. SPR_TLP2,
  164. NUMSPRITES
  165. } spritenum_t;
  166. typedef enum
  167. {
  168. S_NULL,
  169. S_LIGHTDONE,
  170. S_PUNCH,
  171. S_PUNCHDOWN,
  172. S_PUNCHUP,
  173. S_PUNCH1,
  174. S_PUNCH2,
  175. S_PUNCH3,
  176. S_PUNCH4,
  177. S_PUNCH5,
  178. S_PISTOL,
  179. S_PISTOLDOWN,
  180. S_PISTOLUP,
  181. S_PISTOL1,
  182. S_PISTOL2,
  183. S_PISTOL3,
  184. S_PISTOL4,
  185. S_PISTOLFLASH,
  186. S_SGUN,
  187. S_SGUNDOWN,
  188. S_SGUNUP,
  189. S_SGUN1,
  190. S_SGUN2,
  191. S_SGUN3,
  192. S_SGUN4,
  193. S_SGUN5,
  194. S_SGUN6,
  195. S_SGUN7,
  196. S_SGUN8,
  197. S_SGUN9,
  198. S_SGUNFLASH1,
  199. S_SGUNFLASH2,
  200. S_DSGUN,
  201. S_DSGUNDOWN,
  202. S_DSGUNUP,
  203. S_DSGUN1,
  204. S_DSGUN2,
  205. S_DSGUN3,
  206. S_DSGUN4,
  207. S_DSGUN5,
  208. S_DSGUN6,
  209. S_DSGUN7,
  210. S_DSGUN8,
  211. S_DSGUN9,
  212. S_DSGUN10,
  213. S_DSNR1,
  214. S_DSNR2,
  215. S_DSGUNFLASH1,
  216. S_DSGUNFLASH2,
  217. S_CHAIN,
  218. S_CHAINDOWN,
  219. S_CHAINUP,
  220. S_CHAIN1,
  221. S_CHAIN2,
  222. S_CHAIN3,
  223. S_CHAINFLASH1,
  224. S_CHAINFLASH2,
  225. S_MISSILE,
  226. S_MISSILEDOWN,
  227. S_MISSILEUP,
  228. S_MISSILE1,
  229. S_MISSILE2,
  230. S_MISSILE3,
  231. S_MISSILEFLASH1,
  232. S_MISSILEFLASH2,
  233. S_MISSILEFLASH3,
  234. S_MISSILEFLASH4,
  235. S_SAW,
  236. S_SAWB,
  237. S_SAWDOWN,
  238. S_SAWUP,
  239. S_SAW1,
  240. S_SAW2,
  241. S_SAW3,
  242. S_PLASMA,
  243. S_PLASMADOWN,
  244. S_PLASMAUP,
  245. S_PLASMA1,
  246. S_PLASMA2,
  247. S_PLASMAFLASH1,
  248. S_PLASMAFLASH2,
  249. S_BFG,
  250. S_BFGDOWN,
  251. S_BFGUP,
  252. S_BFG1,
  253. S_BFG2,
  254. S_BFG3,
  255. S_BFG4,
  256. S_BFGFLASH1,
  257. S_BFGFLASH2,
  258. S_BLOOD1,
  259. S_BLOOD2,
  260. S_BLOOD3,
  261. S_PUFF1,
  262. S_PUFF2,
  263. S_PUFF3,
  264. S_PUFF4,
  265. S_TBALL1,
  266. S_TBALL2,
  267. S_TBALLX1,
  268. S_TBALLX2,
  269. S_TBALLX3,
  270. S_RBALL1,
  271. S_RBALL2,
  272. S_RBALLX1,
  273. S_RBALLX2,
  274. S_RBALLX3,
  275. S_PLASBALL,
  276. S_PLASBALL2,
  277. S_PLASEXP,
  278. S_PLASEXP2,
  279. S_PLASEXP3,
  280. S_PLASEXP4,
  281. S_PLASEXP5,
  282. S_ROCKET,
  283. S_BFGSHOT,
  284. S_BFGSHOT2,
  285. S_BFGLAND,
  286. S_BFGLAND2,
  287. S_BFGLAND3,
  288. S_BFGLAND4,
  289. S_BFGLAND5,
  290. S_BFGLAND6,
  291. S_BFGEXP,
  292. S_BFGEXP2,
  293. S_BFGEXP3,
  294. S_BFGEXP4,
  295. S_EXPLODE1,
  296. S_EXPLODE2,
  297. S_EXPLODE3,
  298. S_TFOG,
  299. S_TFOG01,
  300. S_TFOG02,
  301. S_TFOG2,
  302. S_TFOG3,
  303. S_TFOG4,
  304. S_TFOG5,
  305. S_TFOG6,
  306. S_TFOG7,
  307. S_TFOG8,
  308. S_TFOG9,
  309. S_TFOG10,
  310. S_IFOG,
  311. S_IFOG01,
  312. S_IFOG02,
  313. S_IFOG2,
  314. S_IFOG3,
  315. S_IFOG4,
  316. S_IFOG5,
  317. S_PLAY,
  318. S_PLAY_RUN1,
  319. S_PLAY_RUN2,
  320. S_PLAY_RUN3,
  321. S_PLAY_RUN4,
  322. S_PLAY_ATK1,
  323. S_PLAY_ATK2,
  324. S_PLAY_PAIN,
  325. S_PLAY_PAIN2,
  326. S_PLAY_DIE1,
  327. S_PLAY_DIE2,
  328. S_PLAY_DIE3,
  329. S_PLAY_DIE4,
  330. S_PLAY_DIE5,
  331. S_PLAY_DIE6,
  332. S_PLAY_DIE7,
  333. S_PLAY_XDIE1,
  334. S_PLAY_XDIE2,
  335. S_PLAY_XDIE3,
  336. S_PLAY_XDIE4,
  337. S_PLAY_XDIE5,
  338. S_PLAY_XDIE6,
  339. S_PLAY_XDIE7,
  340. S_PLAY_XDIE8,
  341. S_PLAY_XDIE9,
  342. S_POSS_STND,
  343. S_POSS_STND2,
  344. S_POSS_RUN1,
  345. S_POSS_RUN2,
  346. S_POSS_RUN3,
  347. S_POSS_RUN4,
  348. S_POSS_RUN5,
  349. S_POSS_RUN6,
  350. S_POSS_RUN7,
  351. S_POSS_RUN8,
  352. S_POSS_ATK1,
  353. S_POSS_ATK2,
  354. S_POSS_ATK3,
  355. S_POSS_PAIN,
  356. S_POSS_PAIN2,
  357. S_POSS_DIE1,
  358. S_POSS_DIE2,
  359. S_POSS_DIE3,
  360. S_POSS_DIE4,
  361. S_POSS_DIE5,
  362. S_POSS_XDIE1,
  363. S_POSS_XDIE2,
  364. S_POSS_XDIE3,
  365. S_POSS_XDIE4,
  366. S_POSS_XDIE5,
  367. S_POSS_XDIE6,
  368. S_POSS_XDIE7,
  369. S_POSS_XDIE8,
  370. S_POSS_XDIE9,
  371. S_POSS_RAISE1,
  372. S_POSS_RAISE2,
  373. S_POSS_RAISE3,
  374. S_POSS_RAISE4,
  375. S_SPOS_STND,
  376. S_SPOS_STND2,
  377. S_SPOS_RUN1,
  378. S_SPOS_RUN2,
  379. S_SPOS_RUN3,
  380. S_SPOS_RUN4,
  381. S_SPOS_RUN5,
  382. S_SPOS_RUN6,
  383. S_SPOS_RUN7,
  384. S_SPOS_RUN8,
  385. S_SPOS_ATK1,
  386. S_SPOS_ATK2,
  387. S_SPOS_ATK3,
  388. S_SPOS_PAIN,
  389. S_SPOS_PAIN2,
  390. S_SPOS_DIE1,
  391. S_SPOS_DIE2,
  392. S_SPOS_DIE3,
  393. S_SPOS_DIE4,
  394. S_SPOS_DIE5,
  395. S_SPOS_XDIE1,
  396. S_SPOS_XDIE2,
  397. S_SPOS_XDIE3,
  398. S_SPOS_XDIE4,
  399. S_SPOS_XDIE5,
  400. S_SPOS_XDIE6,
  401. S_SPOS_XDIE7,
  402. S_SPOS_XDIE8,
  403. S_SPOS_XDIE9,
  404. S_SPOS_RAISE1,
  405. S_SPOS_RAISE2,
  406. S_SPOS_RAISE3,
  407. S_SPOS_RAISE4,
  408. S_SPOS_RAISE5,
  409. S_VILE_STND,
  410. S_VILE_STND2,
  411. S_VILE_RUN1,
  412. S_VILE_RUN2,
  413. S_VILE_RUN3,
  414. S_VILE_RUN4,
  415. S_VILE_RUN5,
  416. S_VILE_RUN6,
  417. S_VILE_RUN7,
  418. S_VILE_RUN8,
  419. S_VILE_RUN9,
  420. S_VILE_RUN10,
  421. S_VILE_RUN11,
  422. S_VILE_RUN12,
  423. S_VILE_ATK1,
  424. S_VILE_ATK2,
  425. S_VILE_ATK3,
  426. S_VILE_ATK4,
  427. S_VILE_ATK5,
  428. S_VILE_ATK6,
  429. S_VILE_ATK7,
  430. S_VILE_ATK8,
  431. S_VILE_ATK9,
  432. S_VILE_ATK10,
  433. S_VILE_ATK11,
  434. S_VILE_HEAL1,
  435. S_VILE_HEAL2,
  436. S_VILE_HEAL3,
  437. S_VILE_PAIN,
  438. S_VILE_PAIN2,
  439. S_VILE_DIE1,
  440. S_VILE_DIE2,
  441. S_VILE_DIE3,
  442. S_VILE_DIE4,
  443. S_VILE_DIE5,
  444. S_VILE_DIE6,
  445. S_VILE_DIE7,
  446. S_VILE_DIE8,
  447. S_VILE_DIE9,
  448. S_VILE_DIE10,
  449. S_FIRE1,
  450. S_FIRE2,
  451. S_FIRE3,
  452. S_FIRE4,
  453. S_FIRE5,
  454. S_FIRE6,
  455. S_FIRE7,
  456. S_FIRE8,
  457. S_FIRE9,
  458. S_FIRE10,
  459. S_FIRE11,
  460. S_FIRE12,
  461. S_FIRE13,
  462. S_FIRE14,
  463. S_FIRE15,
  464. S_FIRE16,
  465. S_FIRE17,
  466. S_FIRE18,
  467. S_FIRE19,
  468. S_FIRE20,
  469. S_FIRE21,
  470. S_FIRE22,
  471. S_FIRE23,
  472. S_FIRE24,
  473. S_FIRE25,
  474. S_FIRE26,
  475. S_FIRE27,
  476. S_FIRE28,
  477. S_FIRE29,
  478. S_FIRE30,
  479. S_SMOKE1,
  480. S_SMOKE2,
  481. S_SMOKE3,
  482. S_SMOKE4,
  483. S_SMOKE5,
  484. S_TRACER,
  485. S_TRACER2,
  486. S_TRACEEXP1,
  487. S_TRACEEXP2,
  488. S_TRACEEXP3,
  489. S_SKEL_STND,
  490. S_SKEL_STND2,
  491. S_SKEL_RUN1,
  492. S_SKEL_RUN2,
  493. S_SKEL_RUN3,
  494. S_SKEL_RUN4,
  495. S_SKEL_RUN5,
  496. S_SKEL_RUN6,
  497. S_SKEL_RUN7,
  498. S_SKEL_RUN8,
  499. S_SKEL_RUN9,
  500. S_SKEL_RUN10,
  501. S_SKEL_RUN11,
  502. S_SKEL_RUN12,
  503. S_SKEL_FIST1,
  504. S_SKEL_FIST2,
  505. S_SKEL_FIST3,
  506. S_SKEL_FIST4,
  507. S_SKEL_MISS1,
  508. S_SKEL_MISS2,
  509. S_SKEL_MISS3,
  510. S_SKEL_MISS4,
  511. S_SKEL_PAIN,
  512. S_SKEL_PAIN2,
  513. S_SKEL_DIE1,
  514. S_SKEL_DIE2,
  515. S_SKEL_DIE3,
  516. S_SKEL_DIE4,
  517. S_SKEL_DIE5,
  518. S_SKEL_DIE6,
  519. S_SKEL_RAISE1,
  520. S_SKEL_RAISE2,
  521. S_SKEL_RAISE3,
  522. S_SKEL_RAISE4,
  523. S_SKEL_RAISE5,
  524. S_SKEL_RAISE6,
  525. S_FATSHOT1,
  526. S_FATSHOT2,
  527. S_FATSHOTX1,
  528. S_FATSHOTX2,
  529. S_FATSHOTX3,
  530. S_FATT_STND,
  531. S_FATT_STND2,
  532. S_FATT_RUN1,
  533. S_FATT_RUN2,
  534. S_FATT_RUN3,
  535. S_FATT_RUN4,
  536. S_FATT_RUN5,
  537. S_FATT_RUN6,
  538. S_FATT_RUN7,
  539. S_FATT_RUN8,
  540. S_FATT_RUN9,
  541. S_FATT_RUN10,
  542. S_FATT_RUN11,
  543. S_FATT_RUN12,
  544. S_FATT_ATK1,
  545. S_FATT_ATK2,
  546. S_FATT_ATK3,
  547. S_FATT_ATK4,
  548. S_FATT_ATK5,
  549. S_FATT_ATK6,
  550. S_FATT_ATK7,
  551. S_FATT_ATK8,
  552. S_FATT_ATK9,
  553. S_FATT_ATK10,
  554. S_FATT_PAIN,
  555. S_FATT_PAIN2,
  556. S_FATT_DIE1,
  557. S_FATT_DIE2,
  558. S_FATT_DIE3,
  559. S_FATT_DIE4,
  560. S_FATT_DIE5,
  561. S_FATT_DIE6,
  562. S_FATT_DIE7,
  563. S_FATT_DIE8,
  564. S_FATT_DIE9,
  565. S_FATT_DIE10,
  566. S_FATT_RAISE1,
  567. S_FATT_RAISE2,
  568. S_FATT_RAISE3,
  569. S_FATT_RAISE4,
  570. S_FATT_RAISE5,
  571. S_FATT_RAISE6,
  572. S_FATT_RAISE7,
  573. S_FATT_RAISE8,
  574. S_CPOS_STND,
  575. S_CPOS_STND2,
  576. S_CPOS_RUN1,
  577. S_CPOS_RUN2,
  578. S_CPOS_RUN3,
  579. S_CPOS_RUN4,
  580. S_CPOS_RUN5,
  581. S_CPOS_RUN6,
  582. S_CPOS_RUN7,
  583. S_CPOS_RUN8,
  584. S_CPOS_ATK1,
  585. S_CPOS_ATK2,
  586. S_CPOS_ATK3,
  587. S_CPOS_ATK4,
  588. S_CPOS_PAIN,
  589. S_CPOS_PAIN2,
  590. S_CPOS_DIE1,
  591. S_CPOS_DIE2,
  592. S_CPOS_DIE3,
  593. S_CPOS_DIE4,
  594. S_CPOS_DIE5,
  595. S_CPOS_DIE6,
  596. S_CPOS_DIE7,
  597. S_CPOS_XDIE1,
  598. S_CPOS_XDIE2,
  599. S_CPOS_XDIE3,
  600. S_CPOS_XDIE4,
  601. S_CPOS_XDIE5,
  602. S_CPOS_XDIE6,
  603. S_CPOS_RAISE1,
  604. S_CPOS_RAISE2,
  605. S_CPOS_RAISE3,
  606. S_CPOS_RAISE4,
  607. S_CPOS_RAISE5,
  608. S_CPOS_RAISE6,
  609. S_CPOS_RAISE7,
  610. S_TROO_STND,
  611. S_TROO_STND2,
  612. S_TROO_RUN1,
  613. S_TROO_RUN2,
  614. S_TROO_RUN3,
  615. S_TROO_RUN4,
  616. S_TROO_RUN5,
  617. S_TROO_RUN6,
  618. S_TROO_RUN7,
  619. S_TROO_RUN8,
  620. S_TROO_ATK1,
  621. S_TROO_ATK2,
  622. S_TROO_ATK3,
  623. S_TROO_PAIN,
  624. S_TROO_PAIN2,
  625. S_TROO_DIE1,
  626. S_TROO_DIE2,
  627. S_TROO_DIE3,
  628. S_TROO_DIE4,
  629. S_TROO_DIE5,
  630. S_TROO_XDIE1,
  631. S_TROO_XDIE2,
  632. S_TROO_XDIE3,
  633. S_TROO_XDIE4,
  634. S_TROO_XDIE5,
  635. S_TROO_XDIE6,
  636. S_TROO_XDIE7,
  637. S_TROO_XDIE8,
  638. S_TROO_RAISE1,
  639. S_TROO_RAISE2,
  640. S_TROO_RAISE3,
  641. S_TROO_RAISE4,
  642. S_TROO_RAISE5,
  643. S_SARG_STND,
  644. S_SARG_STND2,
  645. S_SARG_RUN1,
  646. S_SARG_RUN2,
  647. S_SARG_RUN3,
  648. S_SARG_RUN4,
  649. S_SARG_RUN5,
  650. S_SARG_RUN6,
  651. S_SARG_RUN7,
  652. S_SARG_RUN8,
  653. S_SARG_ATK1,
  654. S_SARG_ATK2,
  655. S_SARG_ATK3,
  656. S_SARG_PAIN,
  657. S_SARG_PAIN2,
  658. S_SARG_DIE1,
  659. S_SARG_DIE2,
  660. S_SARG_DIE3,
  661. S_SARG_DIE4,
  662. S_SARG_DIE5,
  663. S_SARG_DIE6,
  664. S_SARG_RAISE1,
  665. S_SARG_RAISE2,
  666. S_SARG_RAISE3,
  667. S_SARG_RAISE4,
  668. S_SARG_RAISE5,
  669. S_SARG_RAISE6,
  670. S_HEAD_STND,
  671. S_HEAD_RUN1,
  672. S_HEAD_ATK1,
  673. S_HEAD_ATK2,
  674. S_HEAD_ATK3,
  675. S_HEAD_PAIN,
  676. S_HEAD_PAIN2,
  677. S_HEAD_PAIN3,
  678. S_HEAD_DIE1,
  679. S_HEAD_DIE2,
  680. S_HEAD_DIE3,
  681. S_HEAD_DIE4,
  682. S_HEAD_DIE5,
  683. S_HEAD_DIE6,
  684. S_HEAD_RAISE1,
  685. S_HEAD_RAISE2,
  686. S_HEAD_RAISE3,
  687. S_HEAD_RAISE4,
  688. S_HEAD_RAISE5,
  689. S_HEAD_RAISE6,
  690. S_BRBALL1,
  691. S_BRBALL2,
  692. S_BRBALLX1,
  693. S_BRBALLX2,
  694. S_BRBALLX3,
  695. S_BOSS_STND,
  696. S_BOSS_STND2,
  697. S_BOSS_RUN1,
  698. S_BOSS_RUN2,
  699. S_BOSS_RUN3,
  700. S_BOSS_RUN4,
  701. S_BOSS_RUN5,
  702. S_BOSS_RUN6,
  703. S_BOSS_RUN7,
  704. S_BOSS_RUN8,
  705. S_BOSS_ATK1,
  706. S_BOSS_ATK2,
  707. S_BOSS_ATK3,
  708. S_BOSS_PAIN,
  709. S_BOSS_PAIN2,
  710. S_BOSS_DIE1,
  711. S_BOSS_DIE2,
  712. S_BOSS_DIE3,
  713. S_BOSS_DIE4,
  714. S_BOSS_DIE5,
  715. S_BOSS_DIE6,
  716. S_BOSS_DIE7,
  717. S_BOSS_RAISE1,
  718. S_BOSS_RAISE2,
  719. S_BOSS_RAISE3,
  720. S_BOSS_RAISE4,
  721. S_BOSS_RAISE5,
  722. S_BOSS_RAISE6,
  723. S_BOSS_RAISE7,
  724. S_BOS2_STND,
  725. S_BOS2_STND2,
  726. S_BOS2_RUN1,
  727. S_BOS2_RUN2,
  728. S_BOS2_RUN3,
  729. S_BOS2_RUN4,
  730. S_BOS2_RUN5,
  731. S_BOS2_RUN6,
  732. S_BOS2_RUN7,
  733. S_BOS2_RUN8,
  734. S_BOS2_ATK1,
  735. S_BOS2_ATK2,
  736. S_BOS2_ATK3,
  737. S_BOS2_PAIN,
  738. S_BOS2_PAIN2,
  739. S_BOS2_DIE1,
  740. S_BOS2_DIE2,
  741. S_BOS2_DIE3,
  742. S_BOS2_DIE4,
  743. S_BOS2_DIE5,
  744. S_BOS2_DIE6,
  745. S_BOS2_DIE7,
  746. S_BOS2_RAISE1,
  747. S_BOS2_RAISE2,
  748. S_BOS2_RAISE3,
  749. S_BOS2_RAISE4,
  750. S_BOS2_RAISE5,
  751. S_BOS2_RAISE6,
  752. S_BOS2_RAISE7,
  753. S_SKULL_STND,
  754. S_SKULL_STND2,
  755. S_SKULL_RUN1,
  756. S_SKULL_RUN2,
  757. S_SKULL_ATK1,
  758. S_SKULL_ATK2,
  759. S_SKULL_ATK3,
  760. S_SKULL_ATK4,
  761. S_SKULL_PAIN,
  762. S_SKULL_PAIN2,
  763. S_SKULL_DIE1,
  764. S_SKULL_DIE2,
  765. S_SKULL_DIE3,
  766. S_SKULL_DIE4,
  767. S_SKULL_DIE5,
  768. S_SKULL_DIE6,
  769. S_SPID_STND,
  770. S_SPID_STND2,
  771. S_SPID_RUN1,
  772. S_SPID_RUN2,
  773. S_SPID_RUN3,
  774. S_SPID_RUN4,
  775. S_SPID_RUN5,
  776. S_SPID_RUN6,
  777. S_SPID_RUN7,
  778. S_SPID_RUN8,
  779. S_SPID_RUN9,
  780. S_SPID_RUN10,
  781. S_SPID_RUN11,
  782. S_SPID_RUN12,
  783. S_SPID_ATK1,
  784. S_SPID_ATK2,
  785. S_SPID_ATK3,
  786. S_SPID_ATK4,
  787. S_SPID_PAIN,
  788. S_SPID_PAIN2,
  789. S_SPID_DIE1,
  790. S_SPID_DIE2,
  791. S_SPID_DIE3,
  792. S_SPID_DIE4,
  793. S_SPID_DIE5,
  794. S_SPID_DIE6,
  795. S_SPID_DIE7,
  796. S_SPID_DIE8,
  797. S_SPID_DIE9,
  798. S_SPID_DIE10,
  799. S_SPID_DIE11,
  800. S_BSPI_STND,
  801. S_BSPI_STND2,
  802. S_BSPI_SIGHT,
  803. S_BSPI_RUN1,
  804. S_BSPI_RUN2,
  805. S_BSPI_RUN3,
  806. S_BSPI_RUN4,
  807. S_BSPI_RUN5,
  808. S_BSPI_RUN6,
  809. S_BSPI_RUN7,
  810. S_BSPI_RUN8,
  811. S_BSPI_RUN9,
  812. S_BSPI_RUN10,
  813. S_BSPI_RUN11,
  814. S_BSPI_RUN12,
  815. S_BSPI_ATK1,
  816. S_BSPI_ATK2,
  817. S_BSPI_ATK3,
  818. S_BSPI_ATK4,
  819. S_BSPI_PAIN,
  820. S_BSPI_PAIN2,
  821. S_BSPI_DIE1,
  822. S_BSPI_DIE2,
  823. S_BSPI_DIE3,
  824. S_BSPI_DIE4,
  825. S_BSPI_DIE5,
  826. S_BSPI_DIE6,
  827. S_BSPI_DIE7,
  828. S_BSPI_RAISE1,
  829. S_BSPI_RAISE2,
  830. S_BSPI_RAISE3,
  831. S_BSPI_RAISE4,
  832. S_BSPI_RAISE5,
  833. S_BSPI_RAISE6,
  834. S_BSPI_RAISE7,
  835. S_ARACH_PLAZ,
  836. S_ARACH_PLAZ2,
  837. S_ARACH_PLEX,
  838. S_ARACH_PLEX2,
  839. S_ARACH_PLEX3,
  840. S_ARACH_PLEX4,
  841. S_ARACH_PLEX5,
  842. S_CYBER_STND,
  843. S_CYBER_STND2,
  844. S_CYBER_RUN1,
  845. S_CYBER_RUN2,
  846. S_CYBER_RUN3,
  847. S_CYBER_RUN4,
  848. S_CYBER_RUN5,
  849. S_CYBER_RUN6,
  850. S_CYBER_RUN7,
  851. S_CYBER_RUN8,
  852. S_CYBER_ATK1,
  853. S_CYBER_ATK2,
  854. S_CYBER_ATK3,
  855. S_CYBER_ATK4,
  856. S_CYBER_ATK5,
  857. S_CYBER_ATK6,
  858. S_CYBER_PAIN,
  859. S_CYBER_DIE1,
  860. S_CYBER_DIE2,
  861. S_CYBER_DIE3,
  862. S_CYBER_DIE4,
  863. S_CYBER_DIE5,
  864. S_CYBER_DIE6,
  865. S_CYBER_DIE7,
  866. S_CYBER_DIE8,
  867. S_CYBER_DIE9,
  868. S_CYBER_DIE10,
  869. S_PAIN_STND,
  870. S_PAIN_RUN1,
  871. S_PAIN_RUN2,
  872. S_PAIN_RUN3,
  873. S_PAIN_RUN4,
  874. S_PAIN_RUN5,
  875. S_PAIN_RUN6,
  876. S_PAIN_ATK1,
  877. S_PAIN_ATK2,
  878. S_PAIN_ATK3,
  879. S_PAIN_ATK4,
  880. S_PAIN_PAIN,
  881. S_PAIN_PAIN2,
  882. S_PAIN_DIE1,
  883. S_PAIN_DIE2,
  884. S_PAIN_DIE3,
  885. S_PAIN_DIE4,
  886. S_PAIN_DIE5,
  887. S_PAIN_DIE6,
  888. S_PAIN_RAISE1,
  889. S_PAIN_RAISE2,
  890. S_PAIN_RAISE3,
  891. S_PAIN_RAISE4,
  892. S_PAIN_RAISE5,
  893. S_PAIN_RAISE6,
  894. S_SSWV_STND,
  895. S_SSWV_STND2,
  896. S_SSWV_RUN1,
  897. S_SSWV_RUN2,
  898. S_SSWV_RUN3,
  899. S_SSWV_RUN4,
  900. S_SSWV_RUN5,
  901. S_SSWV_RUN6,
  902. S_SSWV_RUN7,
  903. S_SSWV_RUN8,
  904. S_SSWV_ATK1,
  905. S_SSWV_ATK2,
  906. S_SSWV_ATK3,
  907. S_SSWV_ATK4,
  908. S_SSWV_ATK5,
  909. S_SSWV_ATK6,
  910. S_SSWV_PAIN,
  911. S_SSWV_PAIN2,
  912. S_SSWV_DIE1,
  913. S_SSWV_DIE2,
  914. S_SSWV_DIE3,
  915. S_SSWV_DIE4,
  916. S_SSWV_DIE5,
  917. S_SSWV_XDIE1,
  918. S_SSWV_XDIE2,
  919. S_SSWV_XDIE3,
  920. S_SSWV_XDIE4,
  921. S_SSWV_XDIE5,
  922. S_SSWV_XDIE6,
  923. S_SSWV_XDIE7,
  924. S_SSWV_XDIE8,
  925. S_SSWV_XDIE9,
  926. S_SSWV_RAISE1,
  927. S_SSWV_RAISE2,
  928. S_SSWV_RAISE3,
  929. S_SSWV_RAISE4,
  930. S_SSWV_RAISE5,
  931. S_KEENSTND,
  932. S_COMMKEEN,
  933. S_COMMKEEN2,
  934. S_COMMKEEN3,
  935. S_COMMKEEN4,
  936. S_COMMKEEN5,
  937. S_COMMKEEN6,
  938. S_COMMKEEN7,
  939. S_COMMKEEN8,
  940. S_COMMKEEN9,
  941. S_COMMKEEN10,
  942. S_COMMKEEN11,
  943. S_COMMKEEN12,
  944. S_KEENPAIN,
  945. S_KEENPAIN2,
  946. S_BRAIN,
  947. S_BRAIN_PAIN,
  948. S_BRAIN_DIE1,
  949. S_BRAIN_DIE2,
  950. S_BRAIN_DIE3,
  951. S_BRAIN_DIE4,
  952. S_BRAINEYE,
  953. S_BRAINEYESEE,
  954. S_BRAINEYE1,
  955. S_SPAWN1,
  956. S_SPAWN2,
  957. S_SPAWN3,
  958. S_SPAWN4,
  959. S_SPAWNFIRE1,
  960. S_SPAWNFIRE2,
  961. S_SPAWNFIRE3,
  962. S_SPAWNFIRE4,
  963. S_SPAWNFIRE5,
  964. S_SPAWNFIRE6,
  965. S_SPAWNFIRE7,
  966. S_SPAWNFIRE8,
  967. S_BRAINEXPLODE1,
  968. S_BRAINEXPLODE2,
  969. S_BRAINEXPLODE3,
  970. S_ARM1,
  971. S_ARM1A,
  972. S_ARM2,
  973. S_ARM2A,
  974. S_BAR1,
  975. S_BAR2,
  976. S_BEXP,
  977. S_BEXP2,
  978. S_BEXP3,
  979. S_BEXP4,
  980. S_BEXP5,
  981. S_BBAR1,
  982. S_BBAR2,
  983. S_BBAR3,
  984. S_BON1,
  985. S_BON1A,
  986. S_BON1B,
  987. S_BON1C,
  988. S_BON1D,
  989. S_BON1E,
  990. S_BON2,
  991. S_BON2A,
  992. S_BON2B,
  993. S_BON2C,
  994. S_BON2D,
  995. S_BON2E,
  996. S_BKEY,
  997. S_BKEY2,
  998. S_RKEY,
  999. S_RKEY2,
  1000. S_YKEY,
  1001. S_YKEY2,
  1002. S_BSKULL,
  1003. S_BSKULL2,
  1004. S_RSKULL,
  1005. S_RSKULL2,
  1006. S_YSKULL,
  1007. S_YSKULL2,
  1008. S_STIM,
  1009. S_MEDI,
  1010. S_SOUL,
  1011. S_SOUL2,
  1012. S_SOUL3,
  1013. S_SOUL4,
  1014. S_SOUL5,
  1015. S_SOUL6,
  1016. S_PINV,
  1017. S_PINV2,
  1018. S_PINV3,
  1019. S_PINV4,
  1020. S_PSTR,
  1021. S_PINS,
  1022. S_PINS2,
  1023. S_PINS3,
  1024. S_PINS4,
  1025. S_MEGA,
  1026. S_MEGA2,
  1027. S_MEGA3,
  1028. S_MEGA4,
  1029. S_SUIT,
  1030. S_PMAP,
  1031. S_PMAP2,
  1032. S_PMAP3,
  1033. S_PMAP4,
  1034. S_PMAP5,
  1035. S_PMAP6,
  1036. S_PVIS,
  1037. S_PVIS2,
  1038. S_CLIP,
  1039. S_AMMO,
  1040. S_ROCK,
  1041. S_BROK,
  1042. S_CELL,
  1043. S_CELP,
  1044. S_SHEL,
  1045. S_SBOX,
  1046. S_BPAK,
  1047. S_BFUG,
  1048. S_MGUN,
  1049. S_CSAW,
  1050. S_LAUN,
  1051. S_PLAS,
  1052. S_SHOT,
  1053. S_SHOT2,
  1054. S_COLU,
  1055. S_STALAG,
  1056. S_BLOODYTWITCH,
  1057. S_BLOODYTWITCH2,
  1058. S_BLOODYTWITCH3,
  1059. S_BLOODYTWITCH4,
  1060. S_DEADTORSO,
  1061. S_DEADBOTTOM,
  1062. S_HEADSONSTICK,
  1063. S_GIBS,
  1064. S_HEADONASTICK,
  1065. S_HEADCANDLES,
  1066. S_HEADCANDLES2,
  1067. S_DEADSTICK,
  1068. S_LIVESTICK,
  1069. S_LIVESTICK2,
  1070. S_MEAT2,
  1071. S_MEAT3,
  1072. S_MEAT4,
  1073. S_MEAT5,
  1074. S_STALAGTITE,
  1075. S_TALLGRNCOL,
  1076. S_SHRTGRNCOL,
  1077. S_TALLREDCOL,
  1078. S_SHRTREDCOL,
  1079. S_CANDLESTIK,
  1080. S_CANDELABRA,
  1081. S_SKULLCOL,
  1082. S_TORCHTREE,
  1083. S_BIGTREE,
  1084. S_TECHPILLAR,
  1085. S_EVILEYE,
  1086. S_EVILEYE2,
  1087. S_EVILEYE3,
  1088. S_EVILEYE4,
  1089. S_FLOATSKULL,
  1090. S_FLOATSKULL2,
  1091. S_FLOATSKULL3,
  1092. S_HEARTCOL,
  1093. S_HEARTCOL2,
  1094. S_BLUETORCH,
  1095. S_BLUETORCH2,
  1096. S_BLUETORCH3,
  1097. S_BLUETORCH4,
  1098. S_GREENTORCH,
  1099. S_GREENTORCH2,
  1100. S_GREENTORCH3,
  1101. S_GREENTORCH4,
  1102. S_REDTORCH,
  1103. S_REDTORCH2,
  1104. S_REDTORCH3,
  1105. S_REDTORCH4,
  1106. S_BTORCHSHRT,
  1107. S_BTORCHSHRT2,
  1108. S_BTORCHSHRT3,
  1109. S_BTORCHSHRT4,
  1110. S_GTORCHSHRT,
  1111. S_GTORCHSHRT2,
  1112. S_GTORCHSHRT3,
  1113. S_GTORCHSHRT4,
  1114. S_RTORCHSHRT,
  1115. S_RTORCHSHRT2,
  1116. S_RTORCHSHRT3,
  1117. S_RTORCHSHRT4,
  1118. S_HANGNOGUTS,
  1119. S_HANGBNOBRAIN,
  1120. S_HANGTLOOKDN,
  1121. S_HANGTSKULL,
  1122. S_HANGTLOOKUP,
  1123. S_HANGTNOBRAIN,
  1124. S_COLONGIBS,
  1125. S_SMALLPOOL,
  1126. S_BRAINSTEM,
  1127. S_TECHLAMP,
  1128. S_TECHLAMP2,
  1129. S_TECHLAMP3,
  1130. S_TECHLAMP4,
  1131. S_TECH2LAMP,
  1132. S_TECH2LAMP2,
  1133. S_TECH2LAMP3,
  1134. S_TECH2LAMP4,
  1135. NUMSTATES
  1136. } statenum_t;
  1137. typedef struct
  1138. {
  1139. spritenum_t sprite;
  1140. long frame;
  1141. long tics;
  1142. // void (*action) ();
  1143. // GCC 4.1 for PS3 gives the error "braces around scalar initializer"
  1144. // for these actionf_p2s. So, let's make it not a scalar!
  1145. // The second value of the struct will be initalized to 0.
  1146. // struct {
  1147. actionf_p2 action;
  1148. // int filler;
  1149. // };
  1150. statenum_t nextstate;
  1151. long misc1, misc2;
  1152. } state_t;
  1153. extern const state_t tempStates[NUMSTATES];
  1154. extern const char * const sprnames[NUMSPRITES+1];
  1155. typedef enum {
  1156. MT_PLAYER,
  1157. MT_POSSESSED,
  1158. MT_SHOTGUY,
  1159. MT_VILE,
  1160. MT_FIRE,
  1161. MT_UNDEAD,
  1162. MT_TRACER,
  1163. MT_SMOKE,
  1164. MT_FATSO,
  1165. MT_FATSHOT,
  1166. MT_CHAINGUY,
  1167. MT_TROOP,
  1168. MT_SERGEANT,
  1169. MT_SHADOWS,
  1170. MT_HEAD,
  1171. MT_BRUISER,
  1172. MT_BRUISERSHOT,
  1173. MT_KNIGHT,
  1174. MT_SKULL,
  1175. MT_SPIDER,
  1176. MT_BABY,
  1177. MT_CYBORG,
  1178. MT_PAIN,
  1179. MT_WOLFSS,
  1180. MT_KEEN,
  1181. MT_BOSSBRAIN,
  1182. MT_BOSSSPIT,
  1183. MT_BOSSTARGET,
  1184. MT_SPAWNSHOT,
  1185. MT_SPAWNFIRE,
  1186. MT_BARREL,
  1187. MT_TROOPSHOT,
  1188. MT_HEADSHOT,
  1189. MT_ROCKET,
  1190. MT_PLASMA,
  1191. MT_BFG,
  1192. MT_ARACHPLAZ,
  1193. MT_PUFF,
  1194. MT_BLOOD,
  1195. MT_TFOG,
  1196. MT_IFOG,
  1197. MT_TELEPORTMAN,
  1198. MT_EXTRABFG,
  1199. MT_MISC0,
  1200. MT_MISC1,
  1201. MT_MISC2,
  1202. MT_MISC3,
  1203. MT_MISC4,
  1204. MT_MISC5,
  1205. MT_MISC6,
  1206. MT_MISC7,
  1207. MT_MISC8,
  1208. MT_MISC9,
  1209. MT_MISC10,
  1210. MT_MISC11,
  1211. MT_MISC12,
  1212. MT_INV,
  1213. MT_MISC13,
  1214. MT_INS,
  1215. MT_MISC14,
  1216. MT_MISC15,
  1217. MT_MISC16,
  1218. MT_MEGA,
  1219. MT_CLIP,
  1220. MT_MISC17,
  1221. MT_MISC18,
  1222. MT_MISC19,
  1223. MT_MISC20,
  1224. MT_MISC21,
  1225. MT_MISC22,
  1226. MT_MISC23,
  1227. MT_MISC24,
  1228. MT_MISC25,
  1229. MT_CHAINGUN,
  1230. MT_MISC26,
  1231. MT_MISC27,
  1232. MT_MISC28,
  1233. MT_SHOTGUN,
  1234. MT_SUPERSHOTGUN,
  1235. MT_MISC29,
  1236. MT_MISC30,
  1237. MT_MISC31,
  1238. MT_MISC32,
  1239. MT_MISC33,
  1240. MT_MISC34,
  1241. MT_MISC35,
  1242. MT_MISC36,
  1243. MT_MISC37,
  1244. MT_MISC38,
  1245. MT_MISC39,
  1246. MT_MISC40,
  1247. MT_MISC41,
  1248. MT_MISC42,
  1249. MT_MISC43,
  1250. MT_MISC44,
  1251. MT_MISC45,
  1252. MT_MISC46,
  1253. MT_MISC47,
  1254. MT_MISC48,
  1255. MT_MISC49,
  1256. MT_MISC50,
  1257. MT_MISC51,
  1258. MT_MISC52,
  1259. MT_MISC53,
  1260. MT_MISC54,
  1261. MT_MISC55,
  1262. MT_MISC56,
  1263. MT_MISC57,
  1264. MT_MISC58,
  1265. MT_MISC59,
  1266. MT_MISC60,
  1267. MT_MISC61,
  1268. MT_MISC62,
  1269. MT_MISC63,
  1270. MT_MISC64,
  1271. MT_MISC65,
  1272. MT_MISC66,
  1273. MT_MISC67,
  1274. MT_MISC68,
  1275. MT_MISC69,
  1276. MT_MISC70,
  1277. MT_MISC71,
  1278. MT_MISC72,
  1279. MT_MISC73,
  1280. MT_MISC74,
  1281. MT_MISC75,
  1282. MT_MISC76,
  1283. MT_MISC77,
  1284. MT_MISC78,
  1285. MT_MISC79,
  1286. MT_MISC80,
  1287. MT_MISC81,
  1288. MT_MISC82,
  1289. MT_MISC83,
  1290. MT_MISC84,
  1291. MT_MISC85,
  1292. MT_MISC86,
  1293. NUMMOBJTYPES
  1294. } mobjtype_t;
  1295. typedef struct
  1296. {
  1297. int doomednum;
  1298. int spawnstate;
  1299. int spawnhealth;
  1300. int seestate;
  1301. int seesound;
  1302. int reactiontime;
  1303. int attacksound;
  1304. int painstate;
  1305. int painchance;
  1306. int painsound;
  1307. int meleestate;
  1308. int missilestate;
  1309. int deathstate;
  1310. int xdeathstate;
  1311. int deathsound;
  1312. int speed;
  1313. int radius;
  1314. int height;
  1315. int mass;
  1316. int damage;
  1317. int activesound;
  1318. int flags;
  1319. int raisestate;
  1320. } mobjinfo_t;
  1321. extern const mobjinfo_t mobjinfo[NUMMOBJTYPES];
  1322. #endif