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MEDI,
S_SOUL,
S_SOUL2,
S_SOUL3,
S_SOUL4,
S_SOUL5,
S_SOUL6,
S_PINV,
S_PINV2,
S_PINV3,
S_PINV4,
S_PSTR,
S_PINS,
S_PINS2,
S_PINS3,
S_PINS4,
S_SUIT,
S_PMAP,
S_PMAP2,
S_PMAP3,
S_PMAP4,
S_PMAP5,
S_PMAP6,
S_PVIS,
S_PVIS2,
S_CLIP,
S_AMMO,
S_ROCK,
S_BROK,
S_CELL,
S_CELP,
S_SHEL,
S_SBOX,
S_BPAK,
S_BFUG,
S_MGUN,
S_CSAW,
S_LAUN,
S_PLAS,
S_SHOT,
S_COLU,
S_STALAG,
S_BLOODYTWITCH,
S_BLOODYTWITCH2,
S_BLOODYTWITCH3,
S_BLOODYTWITCH4,
S_DEADTORSO,
S_DEADBOTTOM,
S_HEADSONSTICK,
S_GIBS,
S_HEADONASTICK,
S_HEADCANDLES,
S_HEADCANDLES2,
S_DEADSTICK,
S_LIVESTICK,
S_LIVESTICK2,
S_MEAT2,
S_MEAT3,
S_MEAT4,
S_MEAT5,
S_STALAGTITE,
S_TALLGRNCOL,
S_SHRTGRNCOL,
S_TALLREDCOL,
S_SHRTREDCOL,
S_CANDLESTIK,
S_CANDELABRA,
S_SKULLCOL,
S_TORCHTREE,
S_BIGTREE,
S_TECHPILLAR,
S_EVILEYE,
S_EVILEYE2,
S_EVILEYE3,
S_EVILEYE4,
S_FLOATSKULL,
S_FLOATSKULL2,
S_FLOATSKULL3,
S_HEARTCOL,
S_HEARTCOL2,
S_BLUETORCH,
S_BLUETORCH2,
S_BLUETORCH3,
S_BLUETORCH4,
S_GREENTORCH,
S_GREENTORCH2,
S_GREENTORCH3,
S_GREENTORCH4,
S_REDTORCH,
S_REDTORCH2,
S_REDTORCH3,
S_REDTORCH4,
S_BTORCHSHRT,
S_BTORCHSHRT2,
S_BTORCHSHRT3,
S_BTORCHSHRT4,
S_GTORCHSHRT,
S_GTORCHSHRT2,
S_GTORCHSHRT3,
S_GTORCHSHRT4,
S_RTORCHSHRT,
S_RTORCHSHRT2,
S_RTORCHSHRT3,
S_RTORCHSHRT4,
NUMSTATES
} statenum_t;

typedef struct
{
	 spritenum_t	sprite;
	 long			frame;
	 long			tics;
	 void			(*action) ();
	 statenum_t		nextstate;
	 long			misc1, misc2;
} state_t;

extern state_t	states[NUMSTATES];
extern char *sprnames[NUMSPRITES];



typedef enum {
MT_PLAYER,
MT_POSSESSED,
MT_SHOTGUY,
MT_VILE,
MT_UNDEAD,
MT_FATSO,
MT_BABY,
MT_CHAINGUY,
MT_TROOP,
MT_SERGEANT,
MT_SHADOWS,
MT_HEAD,
MT_BRUISER,
MT_SKULL,
MT_SPIDER,
MT_CYBORG,
MT_BARREL,
MT_TROOPSHOT,
MT_HEADSHOT,
MT_BRUISERSHOT,
MT_ROCKET,
MT_PLASMA,
MT_BFG,
MT_PUFF,
MT_BLOOD,
MT_TFOG,
MT_TELEPORTMAN,
MT_EXTRABFG,
MT_MISC0,
MT_MISC1,
MT_MISC2,
MT_MISC3,
MT_MISC4,
MT_MISC5,
MT_MISC6,
MT_MISC7,
MT_MISC8,
MT_MISC9,
MT_MISC10,
MT_MISC11,
MT_MISC12,
MT_MISC13,
MT_MISC14,
MT_MISC15,
MT_MISC16,
MT_MISC17,
MT_MISC18,
MT_CLIP,
MT_MISC19,
MT_MISC20,
MT_MISC21,
MT_MISC22,
MT_MISC23,
MT_MISC24,
MT_MISC25,
MT_MISC26,
MT_MISC27,
MT_MISC28,
MT_MISC29,
MT_MISC30,
MT_MISC31,
MT_SHOTGUN,
MT_MISC32,
MT_MISC33,
MT_MISC34,
MT_MISC35,
MT_MISC36,
MT_MISC37,
MT_MISC38,
MT_MISC39,
MT_MISC40,
MT_MISC41,
MT_MISC42,
MT_MISC43,
MT_MISC44,
MT_MISC45,
MT_MISC46,
MT_MISC47,
MT_MISC48,
MT_MISC49,
MT_MISC50,
MT_MISC51,
MT_MISC52,
MT_MISC53,
MT_MISC54,
MT_MISC55,
MT_MISC56,
MT_MISC57,
MT_MISC58,
MT_MISC59,
MT_MISC60,
MT_MISC61,
MT_MISC62,
MT_MISC63,
MT_MISC64,
MT_MISC65,
MT_MISC66,
MT_MISC67,
MT_MISC68,
MT_MISC69,
MT_MISC70,
MT_MISC71,
MT_MISC72,
MT_MISC73,
MT_MISC74,
MT_MISC75,
MT_MISC76,
MT_MISC77,
NUMMOBJTYPES} mobjtype_t;

typedef struct {
	int	doomednum;
	int	spawnstate;
	int	spawnhealth;
	int	seestate;
	int	seesound;
	int	reactiontime;
	int	attacksound;
	int	painstate;
	int	painchance;
	int	painsound;
	int	meleestate;
	int	missilestate;
	int	deathstate;
	int	xdeathstate;
	int	deathsound;
	int	speed;
	int	radius;
	int	height;
	int	mass;
	int	damage;
	int	activesound;
	int	flags;
	char *str_name;
} mobjinfo_t;

extern mobjinfo_t mobjinfo[NUMMOBJTYPES];

