info.h
上传用户:xuyinpeng
上传日期:2021-05-12
资源大小:455k
文件大小:23k
源码类别:

射击游戏

开发平台:

Visual C++

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