Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Iskhodnyy_kod_Doom

.pdf
Скачиваний:
4
Добавлен:
13.02.2015
Размер:
1.01 Mб
Скачать

sfx_None,

 

// deathsound

 

0,

 

// speed

 

16*FRACUNIT,

 

// radius

 

64*FRACUNIT,

 

// height

 

100,

 

// mass

 

0,

 

// damage

 

sfx_None,

 

// activesound

 

MF_SOLID|MF_SPAWNCEILING|MF_NOGRAVITY,

// flags

S_NULL

 

// raisestate

 

},

 

 

 

{

// MT_MISC83

 

78,

 

// doomednum

 

S_HANGTNOBRAIN,

// spawnstate

 

1000,

 

// spawnhealth

 

S_NULL,

 

// seestate

 

sfx_None,

 

// seesound

 

8,

 

// reactiontime

 

sfx_None,

 

// attacksound

 

S_NULL,

 

// painstate

 

0,

 

// painchance

 

sfx_None,

 

// painsound

 

S_NULL,

 

// meleestate

 

S_NULL,

 

// missilestate

 

S_NULL,

 

// deathstate

 

S_NULL,

 

// xdeathstate

 

sfx_None,

 

// deathsound

 

0,

 

// speed

 

16*FRACUNIT,

 

// radius

 

64*FRACUNIT,

 

// height

 

100,

 

// mass

 

0,

 

// damage

 

sfx_None,

 

// activesound

 

MF_SOLID|MF_SPAWNCEILING|MF_NOGRAVITY,

// flags

S_NULL

 

// raisestate

 

},

 

 

 

{

// MT_MISC84

 

79,

 

// doomednum

 

S_COLONGIBS,

 

// spawnstate

 

1000,

 

// spawnhealth

 

S_NULL,

 

// seestate

 

sfx_None,

 

// seesound

 

8,

 

// reactiontime

 

sfx_None,

 

// attacksound

 

S_NULL,

 

// painstate

 

0,

 

// painchance

 

sfx_None,

 

// painsound

 

S_NULL,

 

// meleestate

 

S_NULL,

 

// missilestate

 

S_NULL,

 

// deathstate

 

S_NULL,

 

// xdeathstate

 

sfx_None,

 

// deathsound

 

0,

 

// speed

 

20*FRACUNIT,

 

// radius

 

16*FRACUNIT,

 

// height

 

100,

 

// mass

 

0,

 

// damage

 

sfx_None,

 

// activesound

 

MF_NOBLOCKMAP,

// flags

 

S_NULL

 

// raisestate

 

},

 

 

 

{

// MT_MISC85

 

80,

 

// doomednum

 

341

 

S_SMALLPOOL,

// spawnstate

 

1000,

// spawnhealth

 

S_NULL,

// seestate

 

sfx_None,

// seesound

 

8,

// reactiontime

 

sfx_None,

// attacksound

 

S_NULL,

// painstate

 

0,

// painchance

 

sfx_None,

// painsound

 

S_NULL,

// meleestate

 

S_NULL,

// missilestate

 

S_NULL,

// deathstate

 

S_NULL,

// xdeathstate

 

sfx_None,

// deathsound

 

0,

// speed

 

20*FRACUNIT,

// radius

 

16*FRACUNIT,

// height

 

100,

// mass

 

0,

// damage

 

sfx_None,

// activesound

 

MF_NOBLOCKMAP,

// flags

 

S_NULL

// raisestate

},

 

 

{

// MT_MISC86

 

81,

// doomednum

 

S_BRAINSTEM,

// spawnstate

 

1000,

// spawnhealth

 

S_NULL,

// seestate

 

sfx_None,

// seesound

 

8,

// reactiontime

 

sfx_None,

// attacksound

 

S_NULL,

// painstate

 

0,

// painchance

 

sfx_None,

// painsound

 

S_NULL,

// meleestate

 

S_NULL,

// missilestate

 

S_NULL,

// deathstate

 

S_NULL,

// xdeathstate

 

sfx_None,

// deathsound

 

0,

// speed

 

20*FRACUNIT,

// radius

 

16*FRACUNIT,

// height

 

100,

// mass

 

0,

// damage

 

sfx_None,

// activesound

 

MF_NOBLOCKMAP,

// flags

 

S_NULL

// raisestate

}

 

 

};

9.2 info.h

// Emacs style mode select -*- C++ -*- //-----------------------------------------------------------------------------

//

//$Id:$

//Copyright (C) 1993-1996 by id Software, Inc.

//This program is free software; you can redistribute it and/or

//modify it under the terms of the GNU General Public License

//as published by the Free Software Foundation; either version 2

//of the License, or (at your option) any later version.

342

//

//This program is distributed in the hope that it will be useful,

//but WITHOUT ANY WARRANTY; without even the implied warranty of

//MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the

//GNU General Public License for more details.

//

//DESCRIPTION:

//Thing frame/state LUT,

//generated by multigen utilitiy.

//This one is the original DOOM version, preserved.

//-----------------------------------------------------------------------------

#ifndef __INFO__ #define __INFO__

// Needed for action function pointer handling. #include "d_think.h"

typedef enum

{

SPR_TROO,

SPR_SHTG,

SPR_PUNG,

SPR_PISG,

SPR_PISF,

SPR_SHTF,

SPR_SHT2,

SPR_CHGG,

SPR_CHGF,

SPR_MISG,

SPR_MISF,

SPR_SAWG,

SPR_PLSG,

SPR_PLSF,

SPR_BFGG,

SPR_BFGF,

SPR_BLUD,

SPR_PUFF,

SPR_BAL1,

SPR_BAL2,

SPR_PLSS,

SPR_PLSE,

SPR_MISL,

SPR_BFS1,

SPR_BFE1,

SPR_BFE2,

SPR_TFOG,

SPR_IFOG,

SPR_PLAY,

SPR_POSS,

SPR_SPOS,

SPR_VILE,

SPR_FIRE,

SPR_FATB,

SPR_FBXP,

SPR_SKEL,

SPR_MANF,

SPR_FATT,

SPR_CPOS,

SPR_SARG,

SPR_HEAD,

SPR_BAL7,

SPR_BOSS,

SPR_BOS2,

343

SPR_SKUL, SPR_SPID, SPR_BSPI, SPR_APLS, SPR_APBX, SPR_CYBR, SPR_PAIN, SPR_SSWV, SPR_KEEN, SPR_BBRN, SPR_BOSF, SPR_ARM1, SPR_ARM2, SPR_BAR1, SPR_BEXP, SPR_FCAN, SPR_BON1, SPR_BON2, SPR_BKEY, SPR_RKEY, SPR_YKEY, SPR_BSKU, SPR_RSKU, SPR_YSKU, SPR_STIM, SPR_MEDI, SPR_SOUL, SPR_PINV, SPR_PSTR, SPR_PINS, SPR_MEGA, SPR_SUIT, SPR_PMAP, SPR_PVIS, SPR_CLIP, SPR_AMMO, SPR_ROCK, SPR_BROK, SPR_CELL, SPR_CELP, SPR_SHEL, SPR_SBOX, SPR_BPAK, SPR_BFUG, SPR_MGUN, SPR_CSAW, SPR_LAUN, SPR_PLAS, SPR_SHOT, SPR_SGN2, SPR_COLU, SPR_SMT2, SPR_GOR1, SPR_POL2, SPR_POL5, SPR_POL4, SPR_POL3, SPR_POL1, SPR_POL6, SPR_GOR2, SPR_GOR3, SPR_GOR4, SPR_GOR5, SPR_SMIT, SPR_COL1,

344

SPR_COL2,

SPR_COL3,

SPR_COL4,

SPR_CAND,

SPR_CBRA,

SPR_COL6,

SPR_TRE1,

SPR_TRE2,

SPR_ELEC,

SPR_CEYE,

SPR_FSKU,

SPR_COL5,

SPR_TBLU,

SPR_TGRN,

SPR_TRED,

SPR_SMBT,

SPR_SMGT,

SPR_SMRT,

SPR_HDB1,

SPR_HDB2,

SPR_HDB3,

SPR_HDB4,

SPR_HDB5,

SPR_HDB6,

SPR_POB1,

SPR_POB2,

SPR_BRS1,

SPR_TLMP,

SPR_TLP2,

NUMSPRITES

} spritenum_t;

typedef enum

{

S_NULL, S_LIGHTDONE, S_PUNCH, S_PUNCHDOWN, S_PUNCHUP, S_PUNCH1, S_PUNCH2, S_PUNCH3, S_PUNCH4, S_PUNCH5, S_PISTOL, S_PISTOLDOWN, S_PISTOLUP, S_PISTOL1, S_PISTOL2, S_PISTOL3, S_PISTOL4, S_PISTOLFLASH, S_SGUN, S_SGUNDOWN, S_SGUNUP, S_SGUN1, S_SGUN2, S_SGUN3, S_SGUN4, S_SGUN5, S_SGUN6, S_SGUN7, S_SGUN8, S_SGUN9,

345

S_SGUNFLASH1, S_SGUNFLASH2, S_DSGUN, S_DSGUNDOWN, S_DSGUNUP, S_DSGUN1, S_DSGUN2, S_DSGUN3, S_DSGUN4, S_DSGUN5, S_DSGUN6, S_DSGUN7, S_DSGUN8, S_DSGUN9, S_DSGUN10, S_DSNR1, S_DSNR2, S_DSGUNFLASH1, S_DSGUNFLASH2, S_CHAIN, S_CHAINDOWN, S_CHAINUP, S_CHAIN1, S_CHAIN2, S_CHAIN3, S_CHAINFLASH1, S_CHAINFLASH2, S_MISSILE, S_MISSILEDOWN, S_MISSILEUP, S_MISSILE1, S_MISSILE2, S_MISSILE3, S_MISSILEFLASH1, S_MISSILEFLASH2, S_MISSILEFLASH3, S_MISSILEFLASH4, S_SAW,

S_SAWB, S_SAWDOWN, S_SAWUP, S_SAW1, S_SAW2, S_SAW3, S_PLASMA, S_PLASMADOWN, S_PLASMAUP, S_PLASMA1, S_PLASMA2,

S_PLASMAFLASH1, S_PLASMAFLASH2, S_BFG, S_BFGDOWN, S_BFGUP, S_BFG1,

S_BFG2,

S_BFG3,

S_BFG4, S_BFGFLASH1, S_BFGFLASH2, S_BLOOD1, S_BLOOD2, S_BLOOD3, S_PUFF1, S_PUFF2,

346

S_PUFF3,

S_PUFF4,

S_TBALL1,

S_TBALL2,

S_TBALLX1, S_TBALLX2, S_TBALLX3, S_RBALL1, S_RBALL2, S_RBALLX1, S_RBALLX2, S_RBALLX3, S_PLASBALL, S_PLASBALL2, S_PLASEXP, S_PLASEXP2, S_PLASEXP3, S_PLASEXP4, S_PLASEXP5, S_ROCKET, S_BFGSHOT, S_BFGSHOT2, S_BFGLAND, S_BFGLAND2, S_BFGLAND3, S_BFGLAND4, S_BFGLAND5, S_BFGLAND6, S_BFGEXP, S_BFGEXP2, S_BFGEXP3, S_BFGEXP4, S_EXPLODE1, S_EXPLODE2, S_EXPLODE3, S_TFOG, S_TFOG01, S_TFOG02, S_TFOG2, S_TFOG3, S_TFOG4, S_TFOG5, S_TFOG6, S_TFOG7, S_TFOG8, S_TFOG9, S_TFOG10, S_IFOG, S_IFOG01, S_IFOG02, S_IFOG2, S_IFOG3, S_IFOG4, S_IFOG5, S_PLAY, S_PLAY_RUN1, S_PLAY_RUN2, S_PLAY_RUN3, S_PLAY_RUN4, S_PLAY_ATK1, S_PLAY_ATK2, S_PLAY_PAIN, S_PLAY_PAIN2, S_PLAY_DIE1, S_PLAY_DIE2,

347

S_PLAY_DIE3, S_PLAY_DIE4, S_PLAY_DIE5, S_PLAY_DIE6, S_PLAY_DIE7, S_PLAY_XDIE1, S_PLAY_XDIE2, S_PLAY_XDIE3, S_PLAY_XDIE4, S_PLAY_XDIE5, S_PLAY_XDIE6, S_PLAY_XDIE7, S_PLAY_XDIE8, S_PLAY_XDIE9, S_POSS_STND, S_POSS_STND2, S_POSS_RUN1, S_POSS_RUN2, S_POSS_RUN3, S_POSS_RUN4, S_POSS_RUN5, S_POSS_RUN6, S_POSS_RUN7, S_POSS_RUN8, S_POSS_ATK1, S_POSS_ATK2, S_POSS_ATK3, S_POSS_PAIN, S_POSS_PAIN2, S_POSS_DIE1, S_POSS_DIE2, S_POSS_DIE3, S_POSS_DIE4, S_POSS_DIE5, S_POSS_XDIE1, S_POSS_XDIE2, S_POSS_XDIE3, S_POSS_XDIE4, S_POSS_XDIE5, S_POSS_XDIE6, S_POSS_XDIE7, S_POSS_XDIE8, S_POSS_XDIE9, S_POSS_RAISE1, S_POSS_RAISE2, S_POSS_RAISE3, S_POSS_RAISE4, S_SPOS_STND, S_SPOS_STND2, S_SPOS_RUN1, S_SPOS_RUN2, S_SPOS_RUN3, S_SPOS_RUN4, S_SPOS_RUN5, S_SPOS_RUN6, S_SPOS_RUN7, S_SPOS_RUN8, S_SPOS_ATK1, S_SPOS_ATK2, S_SPOS_ATK3, S_SPOS_PAIN, S_SPOS_PAIN2, S_SPOS_DIE1, S_SPOS_DIE2, S_SPOS_DIE3,

348

S_SPOS_DIE4, S_SPOS_DIE5, S_SPOS_XDIE1, S_SPOS_XDIE2, S_SPOS_XDIE3, S_SPOS_XDIE4, S_SPOS_XDIE5, S_SPOS_XDIE6, S_SPOS_XDIE7, S_SPOS_XDIE8, S_SPOS_XDIE9, S_SPOS_RAISE1, S_SPOS_RAISE2, S_SPOS_RAISE3, S_SPOS_RAISE4, S_SPOS_RAISE5, S_VILE_STND, S_VILE_STND2, S_VILE_RUN1, S_VILE_RUN2, S_VILE_RUN3, S_VILE_RUN4, S_VILE_RUN5, S_VILE_RUN6, S_VILE_RUN7, S_VILE_RUN8, S_VILE_RUN9, S_VILE_RUN10, S_VILE_RUN11, S_VILE_RUN12, S_VILE_ATK1, S_VILE_ATK2, S_VILE_ATK3, S_VILE_ATK4, S_VILE_ATK5, S_VILE_ATK6, S_VILE_ATK7, S_VILE_ATK8, S_VILE_ATK9, S_VILE_ATK10, S_VILE_ATK11, S_VILE_HEAL1, S_VILE_HEAL2, S_VILE_HEAL3, S_VILE_PAIN, S_VILE_PAIN2, S_VILE_DIE1, S_VILE_DIE2, S_VILE_DIE3, S_VILE_DIE4, S_VILE_DIE5, S_VILE_DIE6, S_VILE_DIE7, S_VILE_DIE8, S_VILE_DIE9, S_VILE_DIE10, S_FIRE1, S_FIRE2, S_FIRE3, S_FIRE4, S_FIRE5, S_FIRE6, S_FIRE7, S_FIRE8, S_FIRE9,

349

S_FIRE10,

S_FIRE11,

S_FIRE12,

S_FIRE13,

S_FIRE14,

S_FIRE15,

S_FIRE16,

S_FIRE17,

S_FIRE18,

S_FIRE19,

S_FIRE20,

S_FIRE21,

S_FIRE22,

S_FIRE23,

S_FIRE24,

S_FIRE25,

S_FIRE26,

S_FIRE27,

S_FIRE28,

S_FIRE29,

S_FIRE30,

S_SMOKE1,

S_SMOKE2,

S_SMOKE3,

S_SMOKE4,

S_SMOKE5,

S_TRACER,

S_TRACER2, S_TRACEEXP1, S_TRACEEXP2, S_TRACEEXP3, S_SKEL_STND, S_SKEL_STND2, S_SKEL_RUN1, S_SKEL_RUN2, S_SKEL_RUN3, S_SKEL_RUN4, S_SKEL_RUN5, S_SKEL_RUN6, S_SKEL_RUN7, S_SKEL_RUN8, S_SKEL_RUN9, S_SKEL_RUN10, S_SKEL_RUN11, S_SKEL_RUN12, S_SKEL_FIST1, S_SKEL_FIST2, S_SKEL_FIST3, S_SKEL_FIST4, S_SKEL_MISS1, S_SKEL_MISS2, S_SKEL_MISS3, S_SKEL_MISS4, S_SKEL_PAIN, S_SKEL_PAIN2, S_SKEL_DIE1, S_SKEL_DIE2, S_SKEL_DIE3, S_SKEL_DIE4, S_SKEL_DIE5, S_SKEL_DIE6, S_SKEL_RAISE1, S_SKEL_RAISE2, S_SKEL_RAISE3, S_SKEL_RAISE4,

350

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]