; SPDX-License-Identifier: BSD-3-Clause
;
; Freedoom wadinfo build file
;
; This is parsed by cpp which allows configuring for Phase 1, Phase 2,
; and FreeDM
;
; -DPHASE2 to build for Phase 2
; -DPHASE1 to build for Phase 1
;

; sanity checks:

#ifdef FREEDM
#define PHASE2
#endif

#ifdef PHASE2
#undef PHASE1
#endif

; List of levels
[levels]

#ifndef PHASE2
E1M1 = c1m1
E1M2 = c1m2
E1M3 = c1m3
E1M4 = c1m4
E1M5 = c1m5
E1M6 = c1m6
E1M7 = c1m7
E1M8 = c1m8
E1M9 = c1m9
E2M1 = c2m1
E2M2 = c2m2
E2M3 = c2m3
E2M4 = c2m4
E2M5 = c2m5
E2M6 = c2m6
E2M7 = c2m7
E2M8 = c2m8
E2M9 = c2m9
E3M1 = c3m1
E3M2 = c3m2
E3M3 = c3m3
E3M4 = c3m4
E3M5 = c3m5
E3M6 = c3m6
E3M7 = c3m7
E3M8 = c3m8
E3M9 = c3m9
E4M1 = c4m1
E4M2 = c4m2
E4M3 = c4m3
E4M4 = c4m4
E4M5 = c4m5
E4M6 = c4m6
E4M7 = c4m7
E4M8 = c4m8
E4M9 = c4m9

#else /* #ifndef PHASE2 */

#ifdef FREEDM

MAP01   = dm01
MAP02   = dm02
MAP03   = dm03
MAP04   = dm04
MAP05   = dm05
MAP06   = dm06
MAP07   = dm07
MAP08   = dm08
MAP09   = dm09
MAP10   = dm10
MAP11   = dm11
MAP12   = dm12
MAP13   = dm13
MAP14   = dm14
MAP15   = dm15
MAP16   = dm16
MAP17   = dm17
MAP18   = dm18
MAP19   = dm19
MAP20   = dm20
MAP21   = dm21
MAP22   = dm22
MAP23   = dm23
MAP24   = dm24
MAP25   = dm25
MAP26   = dm26
MAP27   = dm27
MAP28   = dm28
MAP29   = dm29
MAP30   = dm30
MAP31   = dm31
MAP32   = dm32

#else   /* #ifdef FREEDM */

MAP01
MAP02
MAP03
MAP04
MAP05
MAP06
MAP07
MAP08
MAP09
MAP10
MAP11
MAP12
MAP13
MAP14
MAP15
MAP16
MAP17
MAP18
MAP19
MAP20
MAP21
MAP22
MAP23
MAP24
MAP25
MAP26
MAP27
MAP28
MAP29
MAP30
MAP31
MAP32

#endif /* #ifdef FREEDM */

#endif /* #ifndef PHASE2 */

; List of data Lumps
[lumps]
PLAYPAL
COLORMAP
GENMIDI
FREEDOOM

; Big font used by ZDoom-based ports for menu text.
DBIGFONT

#ifdef FREEDM
DEHACKED = fdm_deh
ZMAPINFO = fdmmpinf
ENDOOM = endoomdm
FREEDM
#else
#ifdef PHASE1
DEHACKED = p1_deh
#else
DEHACKED = p2_deh
#endif
ENDOOM
#endif

#ifdef PHASE2
DMXGUSC = dmxgus
#else
DMXGUS
#endif

#ifdef PHASE2

#ifdef FREEDM
DEMO1 = demo1_dm
DEMO2 = demo2_dm
DEMO3 = demo3_dm
DEMO4 = demo4_dm
#else
DEMO1 = demo1_p2
DEMO2 = demo2_p2
DEMO3 = demo3_p2
DEMO4 = demo4_p2
#endif

#else /* not PHASE2 */

DEMO1 = demo1_p1
DEMO2 = demo2_p1
DEMO3 = demo3_p1
DEMO4 = demo4_p1

#endif /* #ifdef PHASE2 */

; Textures:

#ifndef PHASE2

TEXTURE1 = fd1txtr1
TEXTURE2 = fd1txtr2
PNAMES   = fd1pname

#else
#ifdef FREEDM

TEXTURE1 = fdmtxtr1
PNAMES   = fdmpname

#else

TEXTURE1 = fd2txtr1
PNAMES   = fd2pname

#endif
#endif


; List of Sounds
[sounds]
DSPISTOL
DSSHOTGN
DSSGCOCK
DSSAWUP
DSSAWIDL
DSSAWFUL
DSSAWHIT
DSRLAUNC
DSRXPLOD
DSFIRSHT
DSFIRXPL
DSPSTART
DSPSTOP
DSDOROPN
DSDORCLS
DSSTNMOV
DSSWTCHN
DSSWTCHX
DSPLPAIN
DSDMPAIN
DSPOPAIN
DSSLOP
DSITEMUP
DSWPNUP
DSOOF
DSTELEPT
DSPOSIT1
DSPOSIT2
DSPOSIT3
DSBGSIT1
DSBGSIT2
DSSGTSIT
DSBRSSIT
DSSGTATK
DSCLAW
DSPLDETH
DSPDIEHI
DSPODTH1
DSPODTH2
DSPODTH3
DSBGDTH1
DSBGDTH2
DSSGTDTH
DSBRSDTH
DSPOSACT
DSBGACT
DSDMACT
DSNOWAY
DSBAREXP
DSPUNCH
DSTINK
DSBDOPN
DSBDCLS
DSITMBK
DSGETPOW
DSPLASMA
DSBFG
DSCACSIT
DSCYBSIT
DSSPISIT
DSSKLATK
DSCACDTH
DSSKLDTH
DSCYBDTH
DSSPIDTH
DSHOOF
DSMETAL

#ifdef PHASE2
DSDSHTGN
DSDBOPN
DSDBCLS
DSDBLOAD
DSVIPAIN
DSMNPAIN
DSPEPAIN
DSBSPSIT
DSKNTSIT
DSVILSIT
DSMANSIT
DSPESIT
DSSKEPCH
DSVILATK
DSSKESWG
DSBSPDTH
DSVILDTH
DSKNTDTH
DSPEDTH  = dummy
DSSKEDTH
DSBSPACT
DSBSPWLK = dummy
DSVILACT
DSFLAME  = dummy
DSFLAMST = dummy
DSBOSPIT
DSBOSCUB
DSBOSSIT
DSBOSPN
DSBOSDTH
DSMANATK
DSMANDTH
DSSSSIT
DSSSDTH
DSKEENPN
DSKEENDT
DSSKEACT
DSSKESIT
DSSKEATK
DSRADIO
#endif /* #ifdef PHASE2 */

; pc speaker effects

DPPISTOL
DPSHOTGN
DPSGCOCK
DPSAWUP
DPSAWIDL
DPSAWFUL
DPSAWHIT
DPRLAUNC
DPRXPLOD
DPFIRSHT
DPFIRXPL
DPPSTART
DPPSTOP
DPDOROPN
DPDORCLS
DPSTNMOV
DPSWTCHN
DPSWTCHX
DPPLPAIN
DPDMPAIN
DPPOPAIN
DPSLOP
DPITEMUP
DPWPNUP
DPOOF
DPTELEPT
DPPOSIT1
DPPOSIT2
DPPOSIT3
DPBGSIT1
DPBGSIT2
DPSGTSIT
DPBRSSIT
DPSGTATK
DPCLAW
DPPLDETH
DPPDIEHI
DPPODTH1
DPPODTH2
DPPODTH3
DPBGDTH1
DPBGDTH2
DPSGTDTH
DPBRSDTH
DPPOSACT
DPBGACT
DPDMACT
DPNOWAY
DPBAREXP
DPPUNCH
DPTINK
DPBDOPN
DPBDCLS
DPITMBK
DPGETPOW
DPPLASMA
DPBFG
DPCACSIT
DPCYBSIT
DPSPISIT
DPSKLATK
DPCACDTH
DPSKLDTH
DPCYBDTH
DPSPIDTH
DPHOOF
DPMETAL

#ifdef PHASE2
DPDSHTGN
DPDBOPN
DPDBCLS
DPDBLOAD
DPVIPAIN
DPMNPAIN
DPPEPAIN
DPBSPSIT
DPKNTSIT
DPVILSIT
DPMANSIT
DPPESIT
DPSKEPCH
DPVILATK
DPSKESWG
DPBSPDTH
DPVILDTH
DPKNTDTH
DPPEDTH
DPSKEDTH
DPBSPACT
DPBSPWLK
DPVILACT
DPFLAME
DPFLAMST
DPBOSPIT
DPBOSCUB
DPBOSSIT
DPBOSPN
DPBOSDTH
DPMANATK
DPMANDTH
DPSSSIT
DPSSDTH
DPKEENPN
DPKEENDT
DPSKEACT
DPSKESIT
DPSKEATK
DPRADIO

#endif /* #ifdef PHASE2 */

; List of Musics

[musics]

#ifndef PHASE2

D_E1M1 = D_C1M1
D_E1M2 = D_C1M2
D_E1M3 = D_C1M3
D_E1M4 = D_C1M4
D_E1M5 = D_C1M5
D_E1M6 = D_C1M6
D_E1M7 = D_C1M7
D_E1M8 = D_C1M8
D_E1M9 = D_C1M9
D_INTER
D_INTRO
D_VICTOR
D_INTROA

D_E2M1 = D_C2M1
D_E2M2 = D_C2M2
D_E2M3 = D_C2M3
D_E2M4 = D_C2M4
D_E2M5 = D_C2M5
D_E2M6 = D_C2M6
D_E2M7 = D_C2M7
D_E2M8 = D_C2M8
D_E2M9 = D_C2M9

D_E3M1 = D_C3M1
D_E3M2 = D_C3M2
D_E3M3 = D_C3M3
D_E3M4 = D_C3M4
D_E3M5 = D_C3M5
D_E3M6 = D_C3M6
D_E3M7 = D_C3M7
D_E3M8 = D_C3M8
D_E3M9 = D_C3M9

D_BUNNY

#else  /* #ifndef PHASE2 */

; doom 2 music
D_READ_M
D_DM2TTL
D_DM2INT

#ifndef FREEDM

D_RUNNIN = D_MAP01
D_STALKS = D_MAP02
D_COUNTD = D_MAP03
D_BETWEE = D_MAP04
D_DOOM   = D_MAP05
D_THE_DA = D_MAP06
D_SHAWN  = D_MAP07
D_DDTBLU = D_MAP08
D_IN_CIT = D_MAP09
D_DEAD   = D_MAP10
D_STLKS2 = D_MAP11
D_THEDA2 = D_MAP12
D_DOOM2  = D_MAP13
D_DDTBL2 = D_MAP14
D_RUNNI2 = D_MAP15
D_DEAD2  = D_MAP16
D_STLKS3 = D_MAP17
D_ROMERO = D_MAP18
D_SHAWN2 = D_MAP19
D_MESSAG = D_MAP20
D_COUNT2 = D_MAP21
D_DDTBL3 = D_MAP22
D_AMPIE  = D_MAP23
D_THEDA3 = D_MAP24
D_ADRIAN = D_MAP25
D_MESSG2 = D_MAP26
D_ROMER2 = D_MAP27
D_TENSE  = D_MAP28
D_SHAWN3 = D_MAP29
D_OPENIN = D_MAP30
D_EVIL   = D_MAP31
D_ULTIMA = D_MAP32

#else /* FREEDM */

; FreeDM has different music:

D_RUNNIN = D_DM01
D_STALKS = D_DM02
D_COUNTD = D_DM03
D_BETWEE = D_DM04
D_DOOM   = D_DM05
D_THE_DA = D_DM06
D_SHAWN  = D_DM07
D_DDTBLU = D_DM08
D_IN_CIT = D_DM09
D_DEAD   = D_DM10
D_STLKS2 = D_DM11
D_THEDA2 = D_DM12
D_DOOM2  = D_DM13
D_DDTBL2 = D_DM14
D_RUNNI2 = D_DM15
D_DEAD2  = D_DM16
D_STLKS3 = D_DM17
D_ROMERO = D_DM18
D_SHAWN2 = D_DM19
D_MESSAG = D_DM20
D_COUNT2 = D_DM21
D_DDTBL3 = D_DM22
D_AMPIE  = D_DM23
D_THEDA3 = D_DM24
D_ADRIAN = D_DM25
D_MESSG2 = D_DM26
D_ROMER2 = D_DM27
D_TENSE  = D_DM28
D_SHAWN3 = D_DM29
D_OPENIN = D_DM30
D_EVIL   = D_DM31
D_ULTIMA = D_DM32

#endif /* #ifdef FREEDM */
#endif /* #ifndef PHASE2 */

; List of Pictures (with insertion point)
[graphics]

#ifdef PHASE1
TITLEPIC 0 0          = fd1title
M_DOOM   13 -16
#else
#ifdef FREEDM
TITLEPIC 0 0          = fdmtitle
M_DOOM   40 -5        = m_dm
#else
TITLEPIC 0 0          = fd2title
M_DOOM   13 -16
#endif
#endif

; Used both in phase 2 and phase 1 (E4):
INTERPIC	0	0

#ifdef PHASE2
HELP	0	0
#endif
#ifndef PHASE2
HELP1	0	0     = help
HELP2	0	0     = credit
#endif

CREDIT	0	0
BOSSBACK	0	0
AMMNUM0	-1	0
AMMNUM1	-1	0
AMMNUM2	-1	0
AMMNUM3	-1	0
AMMNUM4	-1	0
AMMNUM5	-1	0
AMMNUM6	-1	0
AMMNUM7	-1	0
AMMNUM8	-1	0
AMMNUM9	-1	0
STBAR	0	0
STGNUM0	0	0
STGNUM1	0	0
STGNUM2	0	0
STGNUM3	0	0
STGNUM4	0	0
STGNUM5	0	0
STGNUM6	0	0
STGNUM7	0	0
STGNUM8	0	0
STGNUM9	0	0
STTMINUS	4	0
STTNUM0
STTNUM1
STTNUM2
STTNUM3
STTNUM4
STTNUM5
STTNUM6
STTNUM7
STTNUM8
STTNUM9
STTPRCNT
STYSNUM0	0	0
STYSNUM1	0	0
STYSNUM2	0	0
STYSNUM3	0	0
STYSNUM4	0	0
STYSNUM5	0	0
STYSNUM6	0	0
STYSNUM7	0	0
STYSNUM8	0	0
STYSNUM9	0	0
STKEYS0	0	0
STKEYS1	0	0
STKEYS2	0	0
STKEYS3	0	0
STKEYS4	0	0
STKEYS5	0	0
STDISK	0	-1
STCDROM	-1	-1
STARMS	0	0
STCFN033	0	0
STCFN034	0	0
STCFN035	0	0
STCFN036	0	0
STCFN037	0	0
STCFN038	0	0
STCFN039	0	0
STCFN040	0	0
STCFN041	0	0
STCFN042	0	0
STCFN043	0	0
STCFN044	0	0
STCFN045	0	0
STCFN046	0	0
STCFN047	0	0
STCFN048	0	0
STCFN049	0	0
STCFN050	0	0
STCFN051	0	0
STCFN052	0	0
STCFN053	0	0
STCFN054	0	0
STCFN055	0	0
STCFN056	0	0
STCFN057	0	0
STCFN058	0	0
STCFN059	0	0
STCFN060	0	0
STCFN061	0	0
STCFN062	0	0
STCFN063	0	0
STCFN064	0	0
STCFN065	0	0
STCFN066	0	0
STCFN067	0	0
STCFN068	0	0
STCFN069	0	0
STCFN070	0	0
STCFN071	0	0
STCFN072	0	0
STCFN073	0	0
STCFN074	0	0
STCFN075	0	0
STCFN076	0	0
STCFN077	0	0
STCFN078	0	0
STCFN079	0	0
STCFN080	0	0
STCFN081	0	0
STCFN082	0	0
STCFN083	0	0
STCFN084	0	0
STCFN085	0	0
STCFN086	0	0
STCFN087	0	0
STCFN088	0	0
STCFN089	0	0
STCFN090	0	0
STCFN091	0	0
STCFN092	0	0
STCFN093	0	0
STCFN094	0	0
STCFN095	0	0
STCFN096	0	0
STCFN121	0	0
STCFN123	0	0
STCFN124	0	0
STCFN125	0	0
STFB1	0	0
STFB0	0	0
STFB2	0	0
STFB3	0	0
STPB1	0	0
STPB0	0	0
STPB2	0	0
STPB3	0	0
STFST01	-5	-2
STFST00	-5	-2
STFST02	-5	-2
STFTL00	-5	-1
STFTR00	-3	-2
STFOUCH0	-5	-1
STFEVL0	-5	-2
STFKILL0	-5	-2
STFST11	-5	-2
STFST10	-5	-2
STFST12	-5	-2
STFTL10	-5	-2
STFTR10	-3	-2
STFOUCH1	-5	-1
STFEVL1	-5	-2
STFKILL1	-5	-2
STFST21	-5	-2
STFST20	-5	-2
STFST22	-5	-2
STFTL20	-4	-1
STFTR20	-4	-1
STFOUCH2	-5	-1
STFEVL2	-5	-2
STFKILL2	-5	-2
STFST31	-5	-1
STFST30	-5	-1
STFST32	-5	-1
STFTL30	-2	-1
STFTR30	-3	-2
STFOUCH3	-5	-1
STFEVL3	-5	-2
STFKILL3	-5	-2
STFST41	-5	-1
STFST40	-5	-1
STFST42	-5	-1
STFTL40	-1	-1
STFTR40	-3	-2
STFOUCH4	-5	-1
STFEVL4	-5	-2
STFKILL4	-5	-2
STFGOD0	-5	-2
STFDEAD0	-5	-1
M_EPISOD	0	0
M_RDTHIS	0	0
M_OPTION	0	0
M_QUITG	0	0
M_NGAME	0	0
M_SKULL1	0	-1
M_SKULL2	0	-1
M_THERMO	-2	-1
M_THERMR	0	0
M_THERMM	0	0
M_THERML	-2	0
M_ENDGAM	0	1
M_PAUSE	0	0
M_MESSG	0	1
M_MSGON		20	1
M_MSGOFF	20	1
M_HURT	0	0
M_JKILL	0	0
M_ROUGH	0	0
M_SKILL	0	0
M_NEWG	0	0
M_ULTRA	0	0
M_NMARE	0	0
M_SVOL	0	0
M_OPTTTL	0	0
M_SAVEG	0	0
M_LOADG	0	0
M_DISP	0	0
M_MSENS	0	1
M_GDHIGH	26	1
M_GDLOW		26	1
M_DETAIL	0	1
M_DISOPT	0	0
M_SCRNSZ	0	1
M_SGTTL	0	0
M_LGTTL	0	0
M_SFXVOL	0	1
M_MUSVOL	0	1
M_LSLEFT	3	11
M_LSCNTR	3	11
M_LSRGHT	3	11

PRBOOM		0	1
M_GENERL	0	1
M_SETUP		0	1
M_KEYBND	0	1
M_WEAP		0	1
M_STAT		0	1
M_AUTO		0	1
M_ENEM		0	1
M_MESS		0	1
M_CHAT		0	1
M_HORSEN	0	1
M_VERSEN	0	1
M_LOKSEN	0	1
M_ACCEL		0	1
M_ABOUT		0	1
M_CHATM		0	1
M_COMPAT	0	1
M_DEMOS		0	1
M_DMFLAG	0	1
M_ETCOPT	0	1
M_FEAT		0	1
M_GSET		0	1
M_HUD		0	1
M_JOYSET	0	1
M_LDSV		0	1
M_MENUS		0	1
M_MOUSE		0	1
M_MULTI		0	1
M_PLAYER	0	1
M_SERIAL	0	1
M_SOUND		0	1
M_STATUS	0	1
M_TCPIP		0	1
M_VIDEO		0	1
M_WAD		0	1
M_WADOPT	0	1

BRDR_TL	-5	-5
BRDR_T	0	-5
BRDR_TR	0	-5
BRDR_L	-5	0
BRDR_R	0	0
BRDR_BL	-5	0
BRDR_B	0	0
BRDR_BR	0	0
WIOSTK	0	0
WIOSTI	0	0
WIF	0	0
WIMSTT	0	0
WIOSTS	0	0
WIOSTF	0	0
WITIME	0	0
WIPAR	0	0
WIMSTAR	0	0
WIMINUS	0	0
WIPCNT	0	0
WINUM0	0	0
WINUM1	0	0
WINUM2	0	0
WINUM3	0	0
WINUM4	0	0
WINUM5	0	0
WINUM6	0	0
WINUM7	0	0
WINUM8	0	0
WINUM9	0	0
WICOLON	0	0
WISUCKS	0	0
WIFRGS	0	0
WIP1	0	0
WIP2	0	0
WIP3	0	0
WIP4	0	0
WIBP1	0	0
WIBP2	0	0
WIBP3	0	0
WIBP4	0	0
WIKILRS	0	0
WIVCTMS	0	0
WISCRT2	0	0
WIENTER	0	0

#ifndef PHASE2
M_EPI1	0	0
M_EPI2	0	0
M_EPI3	0	0
M_EPI4	0	0

WILV00  0       0
WILV01  0       0
WILV02  0       0
WILV03  0       0
WILV04  0       0
WILV05  0       0
WILV06  0       0
WILV07  0       0
WILV08  0       0
WILV10	0	0
WILV11  0       0
WILV12  0       0
WILV13  0       0
WILV14  0       0
WILV15  0       0
WILV16  0       0
WILV17  0       0
WILV18  0       0
WILV20  0       0
WILV21  0       0
WILV22  0       0
WILV23  0       0
WILV24  0       0
WILV25  0       0
WILV26  0       0
WILV27  0       0
WILV28  0       0
WILV30  0       0
WILV31  0       0
WILV32  0       0
WILV33	0	0
WILV34	0	0
WILV35	0	0
WILV36  0       0
WILV37  0       0
WILV38  0       0

; Endgame screens:
VICTORY2
PFUB1
PFUB2
ENDPIC

; "The End" animation from E3 endgame screen:
END0	-20	-52
END1	-20	-52
END2	-20	-52
END3	-20	-52
END4	-20	-52
END5	-20	-52
END6	-20	-52

; inter level map

WIURH0   = empty
WIURH1   = empty
WISPLAT  = empty

; We don't have "map" graphics for the E1-3 intermission screens.
; Just use the normal interpic instead.
WIMAP0   = interpic
WIA00900 = empty
WIA00901 = empty
WIA00902 = empty
WIA00800 = empty
WIA00801 = empty
WIA00802 = empty
WIA00700 = empty
WIA00701 = empty
WIA00702 = empty
WIA00600 = empty
WIA00601 = empty
WIA00602 = empty
WIA00500 = empty
WIA00501 = empty
WIA00502 = empty
WIA00400 = empty
WIA00401 = empty
WIA00402 = empty
WIA00300 = empty
WIA00301 = empty
WIA00302 = empty
WIA00200 = empty
WIA00201 = empty
WIA00202 = empty
WIA00100 = empty
WIA00101 = empty
WIA00102 = empty
WIA00000 = empty
WIA00001 = empty
WIA00002 = empty

WIMAP1   = interpic
WIA10000 = empty
WIA10100 = empty
WIA10200 = empty
WIA10300 = empty
WIA10400 = empty
WIA10500 = empty
WIA10600 = empty
WIA10700 = empty
WIA10701 = empty
WIA10702 = empty
WIA20000 = empty

WIMAP2   = interpic
WIA20001 = empty
WIA20002 = empty
WIA20100 = empty
WIA20101 = empty
WIA20102 = empty
WIA20200 = empty
WIA20201 = empty
WIA20202 = empty
WIA20300 = empty
WIA20301 = empty
WIA20302 = empty
WIA20400 = empty
WIA20401 = empty
WIA20402 = empty
WIA20500 = empty
WIA20501 = empty
WIA20502 = empty

#else /* #ifndef PHASE2 */

#ifndef FREEDM

CWILV00
CWILV01
CWILV02
CWILV03
CWILV04
CWILV05
CWILV06
CWILV07
CWILV08
CWILV09
CWILV10
CWILV11
CWILV12
CWILV13
CWILV14
CWILV15
CWILV16
CWILV17
CWILV18
CWILV19
CWILV22
CWILV21
CWILV20
CWILV23
CWILV25
CWILV26
CWILV27
CWILV28
CWILV29
CWILV24
CWILV30
CWILV31

#else  /* #ifdef FREEDM */

; FreeDM has different levels, different level names:

CWILV00 = DMWILV00
CWILV01 = DMWILV01
CWILV02 = DMWILV02
CWILV03 = DMWILV03
CWILV04 = DMWILV04
CWILV05 = DMWILV05
CWILV06 = DMWILV06
CWILV07 = DMWILV07
CWILV08 = DMWILV08
CWILV09 = DMWILV09
CWILV10 = DMWILV10
CWILV11 = DMWILV11
CWILV12 = DMWILV12
CWILV13 = DMWILV13
CWILV14 = DMWILV14
CWILV15 = DMWILV15
CWILV16 = DMWILV16
CWILV17 = DMWILV17
CWILV18 = DMWILV18
CWILV19 = DMWILV19
CWILV22 = DMWILV22
CWILV21 = DMWILV21
CWILV20 = DMWILV20
CWILV23 = DMWILV23
CWILV25 = DMWILV25
CWILV26 = DMWILV26
CWILV27 = DMWILV27
CWILV28 = DMWILV28
CWILV29 = DMWILV29
CWILV24 = DMWILV24
CWILV30 = DMWILV30
CWILV31 = DMWILV31

#endif

#endif /* #ifdef PHASE2 */

; sprites list

[sprites]

#ifdef PHASE2

BBRNA0						; boss brain
BBRNB0
BOS2A1 24 69	; hell knight
BOS2A2 24 69
BOS2A3 26 69
BOS2A4 23 69
BOS2A5 24 69
BOS2A6 23 69
BOS2A7 24 69
BOS2A8 24 69
BOS2B1 26 72
BOS2B2 19 72
BOS2B3 23 72
BOS2B4 20 72
BOS2B5 25 72
BOS2B6 20 72
BOS2B7 21 72
BOS2B8 19 72
BOS2C1 25 69
BOS2C2 25 69
BOS2C3 24 69
BOS2C4 23 69
BOS2C5 24 69
BOS2C6 23 69
BOS2C7 27 69
BOS2C8 24 69
BOS2D1 27 72
BOS2D2 19 72
BOS2D3 21 72
BOS2D4 20 72
BOS2D5 25 72
BOS2D6 20 72
BOS2D7 23 72
BOS2D8 19 72
BOS2E1 27 74
BOS2E2 33 73
BOS2E3 29 73
BOS2E4 19 72
BOS2E5 23 73
BOS2E6 29 73
BOS2E7 33 73
BOS2E8 27 73
BOS2F1 31 73
BOS2F2 33 73
BOS2F3 29 73
BOS2F4 19 72
BOS2F5 23 73
BOS2F6 29 73
BOS2F7 33 73
BOS2F8 27 73
BOS2G1 32 74
BOS2G2 33 73
BOS2G3 29 73
BOS2G4 19 72
BOS2G5 23 73
BOS2G6 29 73
BOS2G7 33 73
BOS2G8 27 73
BOS2H1 28 73
BOS2H2 26 73
BOS2H3 23 73
BOS2H4 24 72
BOS2H5 23 73
BOS2H6 22 73
BOS2H7 22 73
BOS2H8 26 73
BOS2I0 28 73
BOS2J0 31 73
BOS2K0 39 69
BOS2L0 43 67
BOS2M0 49 63
BOS2N0 46 58
BOS2O0 43 33
BRS1A0
bspia1d1			; arachnotron
bspia2a8
bspia3a7
bspia4a6
bspia5d5
bspib1e1
bspib2b8
bspib3b7
bspib4b6
bspib5e5
bspic1f1
bspic2c8
bspic3c7
bspic4c6
bspic5f5
bspid2d8
bspid3d7
bspid4d6
bspie2e8
bspie3e7
bspie4e6
bspif2f8
bspif3f7
bspif4f6
bspig1
bspig2g8
bspig3g7
bspig4g6
bspig5
bspih1
bspih2h8
bspih3h7
bspih4h6
bspih5
bspii1
bspii2i8
bspii3i7
bspii4i6
bspii5
bspij0
bspik0
bspil0
bspim0
bspin0
bspio0
bspip0
CPOSA1	22	52
CPOSA2A8	16	52
CPOSA3A7	21	50
CPOSA4A6	23	49
CPOSA5	19	47
CPOSB1	19	53
CPOSB2B8	18	52
CPOSB3B7	19	52
CPOSB4B6	21	52
CPOSB5	18	51
CPOSC1	20	53
CPOSC2C8	16	51
CPOSC3C7	18	51
CPOSC4C6	22	51
CPOSC5	17	50
CPOSD1	19	52
CPOSD2D8	17	52
CPOSD3D7	19	52
CPOSD4D6	23	52
CPOSD5	19	51
CPOSE1	12	51
CPOSE2E8	28	51
CPOSE3E7	37	50
CPOSE4E6	26	49
CPOSE5	11	48
CPOSF1	12	51
CPOSF2F8	28	51
CPOSF3F7	37	50
CPOSF4F6	26	49
CPOSF5	11	48
CPOSG1	20	52
CPOSG2G8	16	52
CPOSG3G7	21	52
CPOSG4G6	20	50
CPOSG5	17	50
CPOSH0	19	47
CPOSI0	9	42
CPOSJ0	13	46
CPOSK0	17	37
CPOSL0	27	12
CPOSM0	27	12
CPOSN0	27	12
CPOSO0	16	53
CPOSP0	20	50
CPOSQ0	21	47
CPOSR0	24	38
CPOSS0	25	33
CPOST0	27	14
FATTA1	39	60			; mancubus
FATTA2A8	39	61
FATTA3A7	38	60
FATTA4A6	39	57
FATTA5	39	59
FATTB1	43	65
FATTB2B8	43	65
FATTB3B7	43	61
FATTB4B6	42	61
FATTB5	43	58
FATTC1	43	65
FATTC2C8	43	63
FATTC3C7	39	61
FATTC4C6	35	61
FATTC5	36	58
FATTD1	38	60
FATTD2D8	43	63
FATTD3D7	43	62
FATTD4D6	43	59
FATTD5	35	58
FATTE1	43	65
FATTE2E8	43	61
FATTE3E7	43	62
FATTE4E6	43	58
FATTE5	40	57
FATTF1	42	65
FATTF2F8	43	62
FATTF3F7	43	61
FATTF4F6	43	59
FATTF5	39	58
FATTG1	42	60
FATTG2G8	51	59
FATTG3G7	43	60
FATTG4G6	43	62
FATTG5	42	61
FATTH1	42	60
FATTH2H8	50	59
FATTH3H7	33	61
FATTH4H6	42	61
FATTH5	42	60
FATTI1	42	63
FATTI2I8	51	64
FATTI3I7	43	59
FATTI4I6	42	63
FATTI5	39	59
FATTJ1	32	62
FATTJ2	47	62
FATTJ3	39	59
FATTJ4	30	61
FATTJ5	32	59
FATTJ6	29	61
FATTJ7	37	59
FATTJ8	46	62
FATTK0	50	73
FATTL0	50	75
FATTM0	45	66
FATTN0	37	53
FATTO0	35	41
FATTP0	36	40
FATTQ0	36	39
FATTR0	36	39
FATTS0	36	38
FATTT0	36	36
FIREA0	21	54			; archvile fire
FIREB0	23	61
FIREC0	23	78
FIRED0	23	84
FIREE0	24	86
FIREF0	25	90
FIREG0	25	92
FIREH0	26	95
KEENA0	10	68			; commander keen
KEENB0	10	68
KEENC0	10	68
KEEND0	14	68
KEENE0	13	68
KEENF0	14	68
KEENG0	19	68
KEENH0	19	68
KEENI0	19	68
KEENJ0	19	67
KEENK0	19	65
KEENL0	19	22
KEENM0	10	68

PAINA1		31	63		; pain elemental
PAINA2A8	30	60
PAINA3A7	30	63
PAINA4A6	30	60
PAINA5		30	60
PAINB1		30	63
PAINB2B8	30	60
PAINB3B7	30	60
PAINB4B6	30	60
PAINB5		30	60
PAINC1		31	65
PAINC2C8	30	61
PAINC3C7	30	61
PAINC4C6	30	60
PAINC5		31	60
PAIND1		30	61
PAIND2D8	31	60
PAIND3D7	34	60
PAIND4D6	30	60
PAIND5		30	60
PAINE1		30	60
PAINE2E8	34	60
PAINE3E7	37	60
PAINE4E6	30	60
PAINE5		31	60
PAINF1		31	60
PAINF2F8	35	60
PAINF3F7	41	60
PAINF4F6	32	60
PAINF5		31	60
PAING1		30	63
PAING2G8	30	60
PAING3G7	30	60
PAING4G6	30	60
PAING5		30	60
PAINH0		30	68
PAINI0		30	61
PAINJ0		31	61
PAINK0		31	60
PAINL0		31	61
PAINM0		30	61
SKELA1D1	20	58                       ; revenant
SKELA2D8	17	57
SKELA3D7	13	58
SKELA4D6	17	56
SKELA5D5	20	59
SKELA6D4	18	59
SKELA7D3	28	59
SKELA8D2	24	58
SKELB1E1	18	59
SKELB2E8	26	57
SKELB3E7	18	56
SKELB4E6	14	53
SKELB5E5	19	59
SKELB6E4	21	55
SKELB7E3	19	56
SKELB8E2	22	58
SKELC1F1	20	59
SKELC2F8	26	57
SKELC3F7	21	59
SKELC4F6	22	59
SKELC5F5	19	60
SKELC6F4	18	59
SKELC7F3	22	59
SKELC8F2	21	59
SKELG1	22	60
SKELG2	16	60
SKELG3	15	58
SKELG4	23	58
SKELG5	22	60
SKELG6	21	57
SKELG7	23	58
SKELG8	26	58
SKELH1	21	58
SKELH2	19	59
SKELH3	16	56
SKELH4	25	57
SKELH5	20	57
SKELH6	17	57
SKELH7	13	57
SKELH8	18	58
SKELI1	20	60
SKELI2	30	58
SKELI3	34	58
SKELI4	21	59
SKELI5	18	59
SKELI6	16	58
SKELI7	11	59
SKELI8	18	59
SKELJ1	19	58
SKELJ2	17	58
SKELJ3	22	57
SKELJ4	18	57
SKELJ5	19	58
SKELJ6	20	57
SKELJ7	19	58
SKELJ8	14	59
SKELK1	20	57
SKELK2	17	56
SKELK3	17	56
SKELK4	16	56
SKELK5	19	58
SKELK6	17	56
SKELK7	12	56
SKELK8	21	56
SKELL1	32	56
SKELL2	24	55
SKELL3	15	57
SKELL4	27	57
SKELL5	27	58
SKELL6	21	57
SKELL7	20	57
SKELL8	26	53
SKELM0	27	46
SKELN0	22	46
SKELO0	35	40
SKELP0	38	31
SKELQ0	38	19
FATBA1	11	10			; revenant rocket
FATBA2A8	22	10
FATBA3A7	31	9
FATBA4A6	22	9
FATBA5	11	10
FATBB1	11	10
FATBB2B8	22	10
FATBB3B7	31	9
FATBB4B6	23	9
FATBB5	11	10
FBXPA0	13	10			; revenant explosion
FBXPB0	17	14
FBXPC0	17	15
SSWVA1   18 61
SSWVA2A8 15 64
SSWVA3A7 11 66
SSWVA4A6 17 64
SSWVA5   21 55
SSWVB1   20 64
SSWVB2B8 19 65
SSWVB3B7 18 62
SSWVB4B6 16 69
SSWVB5   19 57
SSWVC1   17 60
SSWVC2C8 15 62
SSWVC3C7 14 64
SSWVC4C6 15 65
SSWVC5   19 60
SSWVD1   17 57
SSWVD2D8 14 61
SSWVD3D7 18 62
SSWVD4D6 20 63
SSWVD5   21 61
SSWVE1   14 62
SSWVE2E8 16 64
SSWVE3E7 15 63
SSWVE4E6 15 67
SSWVE5   15 64
SSWVF1   18 65
SSWVF2F8 18 67
SSWVF3F7 31 59
SSWVF4F6 20 66
SSWVF5   15 64
SSWVG1   18 65
SSWVG2G8 22 67
SSWVG3G7 36 59
SSWVG4G6 24 66
SSWVG5   15 64
SSWVH1   18 62
SSWVH2H8 18 63
SSWVH3H7 15 60
SSWVH4H6 15 62
SSWVH5   18 61
SSWVI0   25 59
SSWVJ0   28 53
SSWVK0   26 43
SSWVL0   23 22
SSWVM0   21  7
SSWVN0   26 66
SSWVO0   27 70
SSWVP0   31 67
SSWVQ0   28 69
SSWVR0   28 67
SSWVS0   27 39
SSWVT0   27 32
SSWVU0   27 22
SSWVV0   27 17
VILEA1D1	20	73	; archvile
VILEA2D8	26	73
VILEA3D7	28	72
VILEA4D6	24	72
VILEA5D5	22	73
VILEA6D4	25	72
VILEA7D3	27	72
VILEA8D2	23	73
VILEB1E1	23	72
VILEB2E8	21	75
VILEB3E7	28	75
VILEB4E6	22	74
VILEB5E5	23	72
VILEB6E4	22	74
VILEB7E3	28	74
VILEB8E2	22	72
VILEC1F1	27	72
VILEC2F8	22	73
VILEC3F7	21	75
VILEC4F6	20	73
VILEC5F5	23	72
VILEC6F4	21	73
VILEC7F3	21	72
VILEC8F2	22	74
VILEG1	36	91
VILEG2	36	91
VILEG3	36	91
VILEG4	36	91
VILEG5	36	91
VILEG6	36	91
VILEG7	36	91
VILEG8	36	91
VILEH1	44	109
VILEH2	44	109
VILEH3	44	109
VILEH4	44	109
VILEH5	44	109
VILEH6	44	109
VILEH7	44	109
VILEH8	44	109
VILEI1	44	109
VILEI2	44	109
VILEI3	44	109
VILEI4	44	109
VILEI5	44	109
VILEI6	44	109
VILEI7	44	109
VILEI8	44	109
VILEJ1	44	109
VILEJ2	44	109
VILEJ3	44	109
VILEJ4	44	109
VILEJ5	44	109
VILEJ6	44	109
VILEJ7	44	109
VILEJ8	44	109
VILEK1	44	109
VILEK2	44	109
VILEK3	44	109
VILEK4	44	109
VILEK5	44	109
VILEK6	44	109
VILEK7	44	109
VILEK8	44	109
VILEL1	34	108
VILEL2	34	108
VILEL3	34	108
VILEL4	34	108
VILEL5	34	108
VILEL6	34	108
VILEL7	34	108
VILEL8	34	108
VILEM1	34	108
VILEM2	34	108
VILEM3	34	108
VILEM4	34	108
VILEM5	34	108
VILEM6	34	108
VILEM7	34	108
VILEM8	34	108
VILEN1	42	99
VILEN2	42	99
VILEN3	42	99
VILEN4	42	99
VILEN5	42	99
VILEN6	42	99
VILEN7	42	99
VILEN8	42	99
VILEO1	42	99
VILEO2	42	99
VILEO3	42	99
VILEO4	42	99
VILEO5	42	99
VILEO6	42	99
VILEO7	42	99
VILEO8	42	99
VILEP1	42	99
VILEP2	42	99
VILEP3	42	99
VILEP4	42	99
VILEP5	42	99
VILEP6	42	99
VILEP7	42	99
VILEP8	42	99
VILEQ1	26	73
VILEQ2	26	73
VILEQ3	26	73
VILEQ4	26	73
VILEQ5	26	73
VILEQ6	26	73
VILEQ7	26	73
VILEQ8	26	73
VILER0	28	74
VILES0	31	78
VILET0	33	81
VILEU0	37	78
VILEV0	39	75
VILEW0	45	69
VILEX0	46	70
VILEY0	45	37
VILEZ0	45	37
VILE[1	44	109
VILE[2	44	109
VILE[3	44	109
VILE[4	44	109
VILE[5	44	109
VILE[6	44	109
VILE[7	44	109
VILE[8	44	109
VILE\1	44	109
VILE\2	44	109
VILE\3	44	109
VILE\4	44	109
VILE\5	44	109
VILE\6	44	109
VILE\7	44	109
VILE\8	44	109
VILE]1	44	109
VILE]2	44	109
VILE]3	44	109
VILE]4	44	109
VILE]5	44	109
VILE]6	44	109
VILE]7	44	109
VILE]8	44	109

#endif /* #ifdef PHASE2 */

; The following are normal Doom monsters:

BOSSA1 24 69	; baron
BOSSA2 24 69
BOSSA3 24 69
BOSSA4 23 69
BOSSA5 24 69
BOSSA6 23 69
BOSSA7 26 69
BOSSA8 24 69
BOSSB1 26 72
BOSSB2 19 72
BOSSB3 21 72
BOSSB4 20 72
BOSSB5 25 72
BOSSB6 20 72
BOSSB7 23 72
BOSSB8 19 72
BOSSC1 25 69
BOSSC2 24 69
BOSSC3 27 69
BOSSC4 23 69
BOSSC5 24 69
BOSSC6 23 69
BOSSC7 24 69
BOSSC8 25 69
BOSSD1 27 72
BOSSD2 19 72
BOSSD3 23 72
BOSSD4 20 72
BOSSD5 25 72
BOSSD6 20 72
BOSSD7 21 72
BOSSD8 19 72
BOSSE1 27 74
BOSSE2 27 73
BOSSE3 33 73
BOSSE4 29 73
BOSSE5 23 73
BOSSE6 19 72
BOSSE7 29 73
BOSSE8 33 73
BOSSF1 31 73
BOSSF2 27 73
BOSSF3 33 73
BOSSF4 29 73
BOSSF5 23 73
BOSSF6 19 72
BOSSF7 29 73
BOSSF8 33 73
BOSSG1 32 74
BOSSG2 27 73
BOSSG3 33 73
BOSSG4 29 73
BOSSG5 23 73
BOSSG6 19 72
BOSSG7 29 73
BOSSG8 33 73
BOSSH1 28 73
BOSSH2 26 73
BOSSH3 22 73
BOSSH4 22 73
BOSSH5 23 73
BOSSH6 24 72
BOSSH7 23 73
BOSSH8 26 73
BOSSI0 28 73
BOSSJ0 31 73
BOSSK0 39 69
BOSSL0 43 67
BOSSM0 49 63
BOSSN0 46 58
BOSSO0 43 33
POSSA1		17	50			; former human
POSSA2A8	20	50
POSSA3A7	20	50
POSSA4A6	26	48
POSSA5		17	47
POSSB1		18	52
POSSB2B8	20	51
POSSB3B7	22	52
POSSB4B6	28	52
POSSB5		17	51
POSSC1		19	50
POSSC2C8	19	50
POSSC3C7	21	52
POSSC4C6	30	51
POSSC5		17	51
POSSD1		19	52
POSSD2D8	19	51
POSSD3D7	23	52
POSSD4D6	26	52
POSSD5		19	51
POSSE1		12	50
POSSE2E8	33	50
POSSE3E7	38	50
POSSE4E6	28	50
POSSE5		12	48
POSSF1		13	50
POSSF2F8	31	51
POSSF3F7	39	50
POSSF4F6	32	49
POSSF5		11	48
POSSG1		20	52
POSSG2G8	16	53
POSSG3G7	21	53
POSSG4G6	20	51
POSSG5		17	49
POSSH0		19	57
POSSI0		19	42
POSSJ0		22	34
POSSK0		24	27
POSSL0		25	19
POSSM0		20	59
POSSN0		21	62
POSSO0		24	61
POSSP0		26	55
POSSQ0		27	51
POSSR0		28	43
POSSS0		28	36
POSST0		28	26
POSSU0		28	21

SARGA1	17	55
SARGA2A8	25	54
SARGA3A7	29	53
SARGA4A6	25	53
SARGA5	18	54
SARGB1	17	56
SARGB2B8	25	55
SARGB3B7	26	55
SARGB4B6	24	52
SARGB5	15	51
SARGC1	18	55
SARGC2C8	22	53
SARGC3C7	20	54
SARGC4C6	22	53
SARGC5	17	53
SARGD1	17	55
SARGD2D8	24	54
SARGD3D7	25	54
SARGD4D6	24	53
SARGD5	19	52
SARGE1	20	54
SARGE2	23	54
SARGE3	23	54
SARGE4	20	53
SARGE5	16	52
SARGE6	28	53
SARGE7	26	54
SARGE8	26	54
SARGF1	18	55
SARGF2	25	51
SARGF3	28	53
SARGF4	26	52
SARGF5	15	53
SARGF6	25	52
SARGF7	29	54
SARGF8	22	52
SARGG1	15	57
SARGG2	14	53
SARGG3	20	53
SARGG4	19	53
SARGG5	12	51
SARGG6	23	53
SARGG7	24	53
SARGG8	27	54
SARGH1	15	47
SARGH2	22	47
SARGH3	22	47
SARGH4	19	46
SARGH5	14	45
SARGH6	22	47
SARGH7	25	46
SARGH8	19	47
SARGI0	17	55
SARGJ0	19	56
SARGK0	20	50
SARGL0	20	35
SARGM0	22	26
SARGN0	22	24
SPOSA1	17	50			; shotgun guy
SPOSA2A8	15	50
SPOSA3A7	17	48
SPOSA4A6	22	45
SPOSA5	17	46
SPOSB1	17	50
SPOSB2B8	13	50
SPOSB3B7	16	52
SPOSB4B6	20	49
SPOSB5	17	49
SPOSC1	16	51
SPOSC2C8	14	50
SPOSC3C7	19	51
SPOSC4C6	19	49
SPOSC5	17	50
SPOSD1	17	51
SPOSD2D8	13	51
SPOSD3D7	15	51
SPOSD4D6	18	50
SPOSD5	17	49
SPOSE1	9	51
SPOSE2E8	24	50
SPOSE3E7	28	50
SPOSE4E6	20	50
SPOSE5	13	50
SPOSF1	11	51
SPOSF2F8	29	52
SPOSF3F7	33	50
SPOSF4F6	22	50
SPOSF5	12	50
SPOSG1	16	50
SPOSG2G8	16	49
SPOSG3G7	21	48
SPOSG4G6	17	47
SPOSG5	17	49
SPOSH0	16	55
SPOSI0	17	48
SPOSJ0	21	34
SPOSK0	22	29
SPOSL0	26	20
SPOSM0	18	54
SPOSN0	23	57
SPOSO0	24	56
SPOSP0	26	50
SPOSQ0	27	46
SPOSR0	28	38
SPOSS0	28	31
SPOST0	28	21
SPOSU0	28	11
TROOA1	23	56
TROOA2A8	17	57
TROOA3A7	16	56
TROOA4A6	21	58
TROOA5	25	56
TROOB1	24	58
TROOB2B8	23	57
TROOB3B7	23	59
TROOB4B6	18	60
TROOB5	25	58
TROOC1	25	56
TROOC2C8	17	57
TROOC3C7	16	57
TROOC4C6	15	58
TROOC5	22	56
TROOD1	25	58
TROOD2D8	20	58
TROOD3D7	21	59
TROOD4D6	19	60
TROOD5	25	58
TROOE1	14	58
TROOE2E8	22	59
TROOE3E7	21	59
TROOE4E6	25	58
TROOE5	19	58
TROOF1	27	57
TROOF2F8	32	59
TROOF3F7	42	58
TROOF4F6	29	58
TROOF5	21	58
TROOG1	37	60
TROOG2G8	35	59
TROOG3G7	37	59
TROOG4G6	28	58
TROOG5	32	60
TROOH1	26	59
TROOH2H8	18	57
TROOH3H7	22	56
TROOH4H6	26	58
TROOH5	19	56
TROOI0	26	59
TROOJ0	23	58
TROOK0	23	50
TROOL0	21	39
TROOM0	29	22
TROON0	25	59
TROOO0	26	61
TROOP0	21	54
TROOQ0	28	47
TROOR0	29	39
TROOS0	29	32
TROOT0	29	22
TROOU0	29	7

CYBRA1    47   103  ; Cyberdemon
CYBRA2    39   103
CYBRA3    42   103
CYBRA4    41   102
CYBRA5    48   103
CYBRA6    41   102
CYBRA7    42   103
CYBRA8    39   103
CYBRB1    50   100
CYBRB2    39   96
CYBRB3    54   103
CYBRB4    49   99
CYBRB5    45   100
CYBRB6    49   99
CYBRB7    54   103
CYBRB8    39   96
CYBRC1    45   98
CYBRC2    37   103
CYBRC3    37   98
CYBRC4    48   102
CYBRC5    39   103
CYBRC6    48   102
CYBRC7    37   98
CYBRC8    37   103
CYBRD1    48   100
CYBRD2    43   101
CYBRD3    49   101
CYBRD4    39   99
CYBRD5    37   100
CYBRD6    39   99
CYBRD7    49   101
CYBRD8    43   101
CYBRE1    44   98
CYBRE2    52   101
CYBRE3    46   101
CYBRE4    33   102
CYBRE5    40   103
CYBRE6    33   102
CYBRE7    46   101
CYBRE8    52   101
CYBRF1    47   99
CYBRF2    39   99
CYBRF3    43   100
CYBRF4    44   99
CYBRF5    44   100
CYBRF6    44   99
CYBRF7    43   100
CYBRF8    39   99
CYBRG1    47   99
CYBRG2    39   99
CYBRG3    43   100
CYBRG4    44   99
CYBRG5    44   100
CYBRG6    44   99
CYBRG7    43   100
CYBRG8    39   99
CYBRH0    47   99
CYBRI0    47   99
CYBRJ0    44   99
CYBRK0    52   84
CYBRL0    55   74
CYBRM0    56   80
CYBRN0    56   83
CYBRO0    56   76
CYBRP0    56   36

HEADA1	31	61			; cacodemon
HEADA2A8	32	61
HEADA3A7	33	61
HEADA4A6	31	61
HEADA5	31	61
HEADB1	30	61
HEADB2B8	31	61
HEADB3B7	34	61
HEADB4B6	30	61
HEADB5	31	61
HEADC1	32	62
HEADC2C8	31	61
HEADC3C7	33	61
HEADC4C6	31	60
HEADC5	31	61
HEADD1	32	62
HEADD2D8	31	61
HEADD3D7	33	61
HEADD4D6	32	61
HEADD5	32	61
HEADE1	31	62
HEADE2E8	32	62
HEADE3E7	34	63
HEADE4E6	31	63
HEADE5	31	62
HEADF1	30	63
HEADF2F8	31	63
HEADF3F7	34	64
HEADF4F6	31	62
HEADF5	31	61
HEADG0	30	61
HEADH0	39	61
HEADI0	41	68
HEADJ0	38	71
HEADK0	41	47
HEADL0	41	24
SKULA1  22      44				; lost soul
SKULA8A2        18      39
SKULA7A3        19      43
SKULA6A4        17      43
SKULA5  20      43
SKULB1  20      42
SKULB8B2        18      39
SKULB7B3        19      43
SKULB6B4        16      42
SKULB5  20      43
SKULC1  22      44
SKULC8C2        18      39
SKULC7C3        19      43
SKULC6C4        16      42
SKULC5  20      43
SKULD1  22      44
SKULD8D2        18      39
SKULD7D3        19      43
SKULD6D4        16      42
SKULD5  20      43
SKULE1  22      44
SKULE8E2        18      39
SKULE7E3        19      43
SKULE6E4        16      42
SKULE5  20      43
SKULF0	22	47
SKULG0	22	47
SKULH0	24	46
SKULI0	24	46
SKULJ0	34	68
SKULK0	40	73
SPIDA1	128	100		; spider mastermind
SPIDA2	128	100
SPIDA3	128	100
SPIDA4	128	100
SPIDA5	128	100
SPIDA6	128	100
SPIDA7	128	100
SPIDA8	128	100
SPIDB1	128	100
SPIDB2	128	100
SPIDB3	128	100
SPIDB4	128	100
SPIDB5	128	100
SPIDB6	128	100
SPIDB7	128	100
SPIDB8	128	100
SPIDC1	128	100
SPIDC2	128	100
SPIDC3	128	100
SPIDC4	128	100
SPIDC5	128	100
SPIDC6	128	100
SPIDC7	128	100
SPIDC8	128	100
SPIDD1	128	100
SPIDD2	128	100
SPIDD3	128	100
SPIDD4	128	100
SPIDD5	128	100
SPIDD6	128	100
SPIDD7	128	100
SPIDD8	128	100
SPIDE1	128	100
SPIDE2	128	100
SPIDE3	128	100
SPIDE4	128	100
SPIDE5	128	100
SPIDE6	128	100
SPIDE7	128	100
SPIDE8	128	100
SPIDF1	128	100
SPIDF2	128	100
SPIDF3	128	100
SPIDF4	128	100
SPIDF5	128	100
SPIDF6	128	100
SPIDF7	128	100
SPIDF8	128	100
SPIDG1	128	100
SPIDG2	128	100
SPIDG3	128	100
SPIDG4	128	100
SPIDG5 	128	100
SPIDG6	128	100
SPIDG7	128	100
SPIDG8	128	100
SPIDH1	128	100
SPIDH2	128	100
SPIDH3	128	100
SPIDH4	128	100
SPIDH5 	128	100
SPIDH6	128	100
SPIDH7	128	100
SPIDH8	128	100
SPIDI1 	128	100
SPIDI2	128     100
SPIDI3	128     100
SPIDI4	128     100
SPIDI5	128     100
SPIDI6	128     100
SPIDI7	128     100
SPIDI8	128     100
SPIDJ1 	128	100
SPIDJ2	128     100
SPIDJ3	128     100
SPIDJ4	128     100
SPIDJ5	128     100
SPIDJ6	128     100
SPIDJ7	128     100
SPIDJ8	128     100
SPIDK0	128	100
SPIDL0	128	100
SPIDM0	128	100
SPIDN0	128	100
SPIDO0	128	100
SPIDP0	128	100
SPIDQ0	128	100
SPIDR0	128	100
SPIDS0	128	100

; The following sprites are technically Doom 2 sprites, but appear
; in doom.wad, and so must be included for compatibility reasons (some
; mods use them):

APBXA0	12	11	; Arachnotron plasma ball
APBXB0	15	14
APBXC0	17	17
APBXD0	18	17
APBXE0	19	17
APLSA0	7	9
APLSB0	6	8
BOSFA0	25	29	; Spinning boss 'cube'
BOSFB0	24	29
BOSFC0	21	29
BOSFD0	25	29
MANFA1	19	17	; Mancubus shot
MANFA5	13	15
MANFA6A4	25	19
MANFA7A3	34	16
MANFA8A2	33	17
MANFB1	19	17
MANFB5	12	13
MANFB6B4	18	19
MANFB7B3	30	17
MANFB8B2	27	17

; These are normal items that appear in both Freedoom and FreeDM.

AMMOA0	8	16
ARM1A0	15	17
ARM1B0	15	17
ARM2A0	15	22
ARM2B0	15	22
BAL1A0	8	8
BAL1B0	8	8
BAL1C0	16	17
BAL1D0	20	19
BAL1E0	23	21
BAL7A1A5	10	9
BAL7A2A8	20	9
BAL7A3A7	28	8
BAL7A4A6	21	8
BAL7B1B5	10	9
BAL7B2B8	20	9
BAL7B3B7	27	8
BAL7B4B6	21	8
BAL7C0	16	16
BAL7D0	20	19
BAL7E0	21	20
BAR1A0	11	32
BAR1B0	11	32
BEXPA0	11	33
BEXPB0	12	32
BEXPC0	18	40
BEXPD0	28	50
BEXPE0	29 	53
BKEYA0	7	19
BKEYB0	7	19
BLUDA0	7	5
BLUDB0	8	7
BLUDC0	7	7
BON1A0	6	19
BON1B0	6	19
BON1C0	6	19
BON1D0	6	19
BON2A0	6	19
BON2B0	6	19
BON2C0	6	19
BON2D0	6	19
BPAKA0	11	26
BROKA0	27	20
CANDA0	8	15
CBRAA0	14	61
CHGGA0	-105	-114
CHGGB0	-105	-121
CHGFA0	-125	-83
CHGFB0	-125	-98
CLIPA0	4	12
COLUA0	9	45
CSAWA0	22	20
ELECA0	17	123
IFOGA0 25 44
IFOGB0 25 44
IFOGC0 25 44
IFOGD0 25 44
IFOGE0 25 44
LAUNA0	30	20
MEDIA0	13	19
MGUNA0	28	23
MISGA0	-111 -110
MISGB0	-103 -109
MISFA0	-110 -102
MISFB0	-110 -99
MISFC0	-110 -98
MISFD0	-110 -97
MISLA1	5	12
MISLA5	5	12
MISLA6A4	14	12
MISLA7A3	18	12
MISLA8A2	14	12
MISLB0	36	37
MISLC0	39	38
MISLD0	45	41
PINSA0	15	35
PINSB0	15	35
PINSC0	15	35
PINSD0	15	35
PISFA0	-147	-66
PISGA0	-138	-104
PISGB0	-138	-83
PISGC0	-139	-88
PISGD0	-122	-88
PISGE0  -128    -100
PLAYA1	22	52
PLAYA2A8	16	52
PLAYA3A7	21	50
PLAYA4A6	23	49
PLAYA5	24	53
PLAYB1	19	53
PLAYB2B8	18	52
PLAYB3B7	19	52
PLAYB4B6	21	52
PLAYB5	20	53
PLAYC1	20	53
PLAYC2C8	16	51
PLAYC3C7	18	51
PLAYC4C6	22	51
PLAYC5	21	52
PLAYD1	19	52
PLAYD2D8	17	52
PLAYD3D7	19	52
PLAYD4D6	23	52
PLAYD5	24	52
PLAYE1	11	54
PLAYE2E8	22	54
PLAYE3E7	30	54
PLAYE4E6	22	54
PLAYE5	12	54
PLAYF1	11	54
PLAYF2F8	28	54
PLAYF3F7	37	54
PLAYF4F6	27	54
PLAYF5	12	54
PLAYG1	20	52
PLAYG2G8	16	52
PLAYG3G7	21	52
PLAYG4G6	20	50
PLAYG5	17	50
PLAYH0	19	47
PLAYI0	9	42
PLAYJ0	13	46
PLAYK0	17	37
PLAYL0	27	12
PLAYM0	27	12
PLAYN0	27	12
PLAYO0	16	53
PLAYP0	20	50
PLAYQ0	21	47
PLAYR0	21	43
PLAYS0	24	38
PLAYT0	25	33
PLAYU0	26	25
PLAYV0	27	14
PLAYW0	27	14
PLYCA1	15	34
PLYCA2A8	19	34
PLYCA3A7	24	31
PLYCA4A6	21	32
PLYCA5	14	31
PLYCB1	14	35
PLYCB2B8	17	32
PLYCB3B7	20	31
PLYCB4B6	18	32
PLYCB5	15	31
PLYCC1	14	34
PLYCC2C8	19	35
PLYCC3C7	24	31
PLYCC4C6	21	32
PLYCC5	14	31
PLYCD1	12	36
PLYCD2D8	22	34
PLYCD3D7	28	31
PLYCD4D6	20	32
PLYCD5	15	30
PLYCE1	13	37
PLYCE2E8	28	33
PLYCE3E7	36	30
PLYCE4E6	19	31
PLYCE5	10	30
PLYCF1	14	37
PLYCF2F8	32	33
PLYCF3F7	41	30
PLYCF4F6	22	31
PLYCF5	10	30
PLYCG1	13	35
PLYCG2G8	22	33
PLYCG3G7	31	30
PLYCG4G6	18	30
PLYCG5	10	28
PMAPA0	14	28
PMAPB0	14	28
PMAPC0	14	28
PMAPD0	14	28
POL5A0	27	5
PUFFA0	2	3
PUFFB0	4	4
PUFFC0	6	5
PUFFD0	8	7
PUNGA0  -100	-138
PUNGB0  -68	-75
PUNGC0  -273	-76
PUNGD0  -200	-67
PVISA0	14	13
PVISB0	14	13
RKEYA0	8	19
RKEYB0	8	19
ROCKA0	6	25
SAWGA0	-176	-60
SAWGB0	-176	-59
SAWGC0	-156	-81
SAWGD0	-159	-81
SBOXA0	17	12
SHELA0	7	9
SHOTA0	23	15
SHTGA0	-114	-108
SHTGB0	-68	-39
SHTGC0	-27	-22
SHTGD0	-39	-39
SHTFA0	-142	-94
SHTFB0	-132	-87
SOULA0	12	32
SOULB0	12	32
SOULC0	12	32
SOULD0	12	32
STIMA0	7	15
SUITA0	11	52
TFOGA0 25 59
TFOGB0 25 59
TFOGC0 25 59
TFOGD0 25 59
TFOGE0 25 59
TFOGF0 25 59
TFOGG0 25 59
TFOGH0 25 59
TFOGI0 25 59
TFOGJ0 25 59
TREDA0	14	94
TREDB0	14	96
TREDC0	14	97
TREDD0	14	94

YKEYA0	8	19
YKEYB0	8	19

SMITA0	31	67
TRE1A0	25	65
TRE2A0	76	120

#ifdef PHASE2

; These items only appear in Doom 2

HDB1A0	11	83
HDB2A0	11	83
HDB3A0	11	59
HDB4A0	11	59
HDB5A0	11	59
HDB6A0	11	59
MEGAA0	12	32
MEGAB0	12	32
MEGAC0	12	32
MEGAD0	12	32
SHT2A0	-104	-99
SHT2B0	-102	-102
SHT2C0	-94	-119
SHT2D0	-99	-140
SHT2E0	-100	-92
SHT2F0	-99	-111
SHT2G0	-90	-134
SHT2H0	-100	-112
SHT2I0	-131	-84
SHT2J0	-118	-75
SGN2A0	26	16
TLMPA0	12	79
TLMPB0	12	79
TLMPC0	12	79
TLMPD0	12	79
TLP2A0	10	57
TLP2B0	10	57
TLP2C0	10	57
TLP2D0	10	57
POB1A0
POB2A0

#endif

BAL2A0	8	8
BAL2B0	8	8
BAL2C0	16	16
BAL2D0	20	19
BAL2E0	25	24
BFS1A0	28	33
BFS1B0	29	33
BFUGA0	28	20
BFGGA0	-95	-106
BFGGB0	-95	-106
BFGGC0	-88	-101
BFGFA0	-88	-83
BFGFB0	-88	-82
BFE1A0  69      45
BFE1B0  69      45
BFE1C0  69      63
BFE1D0  69      61
BFE1E0  12      10
BFE1F0  4       4
BFE2A0  36      28
BFE2B0  34      28
BFE2C0  12      10
BFE2D0  4       4
BSKUA0	6	17
BSKUB0	6	17
CELLA0	8	12
CELPA0	15	20
CEYEA0	24	58
CEYEB0	24	58
CEYEC0	24	58
COL1A0 18 53
COL2A0 18 40
COL3A0 18 53
COL4A0 18 40
COL5A0 18 48
COL5B0 18 48
COL6A0 18 50
FCANA0	13	53
FCANB0	13	52
FCANC0	13	51
FSKUA0 18 51
FSKUB0 18 51
FSKUC0 18 51
GOR1A0	12	67
GOR1B0	12	67
GOR1C0	12	67
GOR2A0	12	83
GOR3A0	12	83
GOR4A0	19	67
GOR5A0	12	51
PINVA0	12	32
PINVB0	12	32
PINVC0	12	32
PINVD0	12	32
PLASA0	29	16
PLSEA0	11	11
PLSEB0	15	14
PLSEC0	16	17
PLSED0	18	19
PLSEE0	18	19
PLSFA0	-117	-91
PLSFB0	-117	-90
PLSGA0	-117	-108
PLSGB0	-117	-116
PLSSA0	8	8
PLSSB0	7	9
POL1A0	22	62
POL2A0	19	62
POL3A0	19	48
POL3B0	19	48
POL4A0	19	51
POL6A0	17	62
POL6B0	19	62
PSTRA0	14	19
RSKUA0	6	17
RSKUB0	6	17
SMBTA0	9	67
SMBTB0	9	68
SMBTC0	9	70
SMBTD0	9	69
SMGTA0	9	67
SMGTB0	9	68
SMGTC0	9	70
SMGTD0	9	69
SMRTA0	10	67
SMRTB0	10	68
SMRTC0	10	70
SMRTD0	10	69
SMT2A0	10	42
TBLUA0	13	94
TBLUB0	13	96
TBLUC0	13	97
TBLUD0	13	94
TGRNA0	13	94
TGRNB0	13	96
TGRNC0	13	97
TGRND0	13	94
YSKUA0	6	17
YSKUB0	6	17



[patches]

#ifdef PHASE1
#include "lumps/textures/phase1/pnames.txt"
#else
#ifdef FREEDM
#include "lumps/textures/freedm/pnames.txt"
#else
#include "lumps/textures/phase2/pnames.txt"
#endif
#endif

[flats]

BLOOD1
BLOOD2
BLOOD3
CEIL1_2
CEIL1_3
CEIL3_1
CEIL3_2
CEIL3_4
CEIL3_5
CEIL3_6
CEIL4_3
CEIL5_1
CEIL5_2
DEM1_3
DEM1_5
DEM1_6
DUMMY1
DUMMY2
DUMMY3
FLAT17
FLAT1_1
FLAT1_2
FLAT1_3
FLAT22
FLAT5_1
FLAT5_2
FLAT5_6
FLAT5_7
FLAT8
FLOOR0_2
FLOOR0_7
FLOOR1_6
GRASS1
GRASS2
GRNLITE1
GRNROCK
LAVA1
LAVA2
LAVA3
LAVA4
MFLR8_3
MFLR8_4
RROCK01
RROCK02
RROCK03
RROCK04
RROCK05
RROCK06
RROCK07
RROCK08
RROCK09
RROCK10
RROCK11
RROCK12
RROCK13
RROCK14
RROCK15
RROCK16
RROCK17
RROCK18
RROCK19
RROCK20
SFLR6_1
SFLR6_4
SFLR7_1
SFLR7_4
SLIME01
SLIME02
SLIME03
SLIME04
SLIME05
SLIME06
SLIME07
SLIME08
SLIME09
SLIME10
SLIME11
SLIME12
SLIME13
SLIME14
SLIME15
SLIME16
CEIL4_2
CONS1_1
CONS1_5
CONS1_7
CONS1_9			; this is missing in the original wad
DEM1_1
DEM1_2
DEM1_4
FLAT1
FLAT10
FLAT14
FLAT18
FLAT2
FLAT20
FLAT23
FLAT5
FLAT5_4
FLAT5_5
FLOOR0_1
FLOOR0_3
FLOOR0_6
FLOOR1_1
FLOOR1_7
FLOOR3_3
FLOOR4_1
FLOOR4_5
FLOOR4_6
FLOOR4_8
FLOOR5_1
FLOOR5_2
FLOOR5_3
FLOOR5_4
FLOOR6_1
FLOOR6_2
FLOOR7_1
FLOOR7_2
F_SKY1
MFLR8_1
NUKAGE1
NUKAGE2
NUKAGE3
STEP1
STEP2
TLITE6_1
TLITE6_4
TLITE6_5
TLITE6_6
CEIL1_1
CEIL3_3
CEIL4_1
COMP01
FLAT3
FLAT4
FLAT5_3
FLAT5_8
FLAT9
FLOOR0_5
FWATER1
FWATER2
FWATER3
FWATER4
GATE1
GATE2
GATE3
GATE4
CRATOP1
CRATOP2
FLAT19
MFLR8_2
;These are Aquatex flats.
SWATER1
SWATER2
SWATER3
SWATER4
AQF001
AQF002
AQF003
AQF004
AQF005
AQF006
AQF007
AQF008
AQF009
AQF010
AQF011
AQF012
AQF013
AQF014
AQF015
AQF016
AQF017
AQF018
AQF019
AQF020
AQF021
AQF022
AQF023
AQF024
AQF025
AQF026
AQF027
AQF028
AQF029
AQF030
AQF031
AQF032
AQF033
AQF034
AQF035
AQF036
AQF037
AQF038
AQF039
AQF040
AQF041
AQF042
AQF043
AQF044
AQF045
AQF046
AQF047
AQF048
AQF049
AQF050
AQF051
AQF052
AQF053
AQF054
AQF055
AQF056
AQF057
AQF058
AQF059
AQF060
AQF061
AQF062
AQF063
AQF064
AQF065
AQF066
AQF067
AQF068
AQF069
AQF070
AQF071
AQF072
AQF073
AQF074
AQF075
AQF076

; Custom flats
FCGRATE1
FCGRATE2
