; 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
E1M2
E1M3
E1M4
E1M5
E1M6
E1M7
E1M8
E1M9
E2M1
E2M2
E2M3
E2M4
E2M5
E2M6
E2M7
E2M8
E2M9
E3M1
E3M2
E3M3
E3M4
E3M5
E3M6
E3M7
E3M8
E3M9
E4M1
E4M2
E4M3
E4M4
E4M5
E4M6
E4M7
E4M8
E4M9

#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
#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
DSSKEDTH
DSBSPACT
DSBSPWLK
DSVILACT
DSFLAME
DSFLAMST
DSBOSPIT
DSBOSCUB
DSBOSSIT
DSBOSPN
DSBOSDTH
DSMANATK
DSMANDTH
DSSSSIT
DSSSDTH
DSKEENPN
DSKEENDT
DSSKEACT
DSSKESIT
DSSKEATK
DSRADIO
#endif /* #ifdef PHASE2 */

; Additional player sounds used in Doom Legacy and ZDoom
DSOUCH ; hit head on ceiling (Doom Legacy only)
DSJUMP

; 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_E1M2
D_E1M3
D_E1M4
D_E1M5
D_E1M6
D_E1M7
D_E1M8
D_E1M9
D_INTER
D_INTRO
D_VICTOR
D_INTROA

D_E2M1
D_E2M2
D_E2M3
D_E2M4
D_E2M5
D_E2M6
D_E2M7
D_E2M8
D_E2M9

D_E3M1
D_E3M2
D_E3M3
D_E3M4
D_E3M5
D_E3M6
D_E3M7
D_E3M8
D_E3M9

D_E4M1
D_E4M2
D_E4M3
D_E4M4
D_E4M5
D_E4M6
D_E4M7
D_E4M8
D_E4M9

D_BUNNY

#else  /* #ifndef PHASE2 */

#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
D_READ_M
D_DM2TTL
D_DM2INT

#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
D_DM2TTL = D_FDMTTL
D_DM2INT = D_FDMINT
D_READ_M = D_FDMRDM

#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
STKEYS6	0	0
STKEYS7	0	0
STKEYS8	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	= pause
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
M_CRISPY	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	-77	-123
END1	-77	-123
END2	-77	-123
END3	-77	-123
END4	-77	-123
END5	-77	-123
END6	-77	-123

; 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 25 118					; boss brain
BBRNB0 31 113
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 39 69
BOS2J0 43 65
BOS2K0 43 63
BOS2L0 40 48
BOS2M0 40 42
BOS2N0 42 33
BOS2O0 43 19
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	18	52	; heavy weapons guy
CPOSB1	18	52
CPOSC1	17	52
CPOSD1	18	52
CPOSE1	13	52
CPOSF1	13	52
CPOSG1	16	53
CPOSA2A8	16	51
CPOSB2B8	18	53
CPOSC2C8	16	52
CPOSD2D8	16	53
CPOSE2E8	30	52
CPOSF2F8	30	52
CPOSG2G8	23	52
CPOSA3A7	17	52
CPOSB3B7	21	52
CPOSC3C7	13	52
CPOSD3D7	21	52
CPOSE3E7	44	52
CPOSF3F7	44	52
CPOSG3G7	24	52
CPOSA4A6	24	52
CPOSB4B6	27	53
CPOSC4C6	26	53
CPOSD4D6	26	54
CPOSE4E6	27	53
CPOSF4F6	27	53
CPOSG4G6	29	53
CPOSA5	25	52
CPOSB5	26	51
CPOSC5	26	52
CPOSD5	25	51
CPOSE5	15	52
CPOSF5	15	52
CPOSG5	27	52
CPOSH0	15	56
CPOSI0	16	47
CPOSJ0	15	36
CPOSK0	15	21
CPOSL0	18	17
CPOSM0	18	15
CPOSN0	18	15
CPOSO0	21	52
CPOSP0	20	49
CPOSQ0	22	45
CPOSR0	24	35
CPOSS0	24	31
CPOST0	26	12
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		37	62		; pain elemental
PAINA2A8	43	60
PAINA3A7	47	62
PAINA4A6	37	58
PAINA5		33	60
PAINB1		37	62
PAINB2B8	43	60
PAINB3B7	47	62
PAINB4B6	37	58
PAINB5		33	60
PAINC1		37	62
PAINC2C8	43	60
PAINC3C7	47	62
PAINC4C6	37	58
PAINC5		33	60
PAIND1		37	56
PAIND2D8	44	57
PAIND3D7	48	57
PAIND4D6	37	59
PAIND5		33	60
PAINE1		37	62
PAINE2E8	44	63
PAINE3E7	49	65
PAINE4E6	37	58
PAINE5		33	62
PAINF1		36	63
PAINF2F8	48	63
PAINF3F7	50	64
PAINF4F6	39	59
PAINF5		33	61
PAING1		37	61
PAING2G8	44	61
PAING3G7	47	62
PAING4G6	37	59
PAING5		33	61
PAINH0		37	61
PAINI0		38	62
PAINJ0		40	71
PAINK0		37	71
PAINL0		38	67
PAINM0		45	69
SKELA1D1	21	61                       ; revenant
SKELA2D8	24	61
SKELA3D7	29	61
SKELA4D6	24	63
SKELA5D5	21	61
SKELA6D4	26	63
SKELA7D3	21	61
SKELA8D2	19	61
SKELB1E1	23	63
SKELB2E8	23	63
SKELB3E7	19	63
SKELB4E6	26	62
SKELB5E5	23	64
SKELB6E4	23	63
SKELB7E3	23	63
SKELB8E2	23	63
SKELC1F1	20	62
SKELC2F8	23	63
SKELC3F7	21	63
SKELC4F6	22	62
SKELC5F5	20	62
SKELC6F4	21	62
SKELC7F3	26	62
SKELC8F2	23	62
SKELG1	24	60
SKELG5	22	59
SKELG6G4	25	62
SKELG7G3	16	60
SKELG8G2	22	60
SKELH1	26	59
SKELH5	22	57
SKELH6H4	25	55
SKELH7H3	17	58
SKELH8H2	22	57
SKELI1	19	54
SKELI5	20	54
SKELI6I4	25	53
SKELI7I3	17	52
SKELI8I2	22	54
SKELJ1	22	51
SKELJ5	21	52
SKELJ6J4	25	49
SKELJ7J3	23	50
SKELJ8J2	25	51
SKELK1	23	59
SKELK5	22	58
SKELK6K4	22	55
SKELK7K3	20	56
SKELK8K2	23	57
SKELL1	31	58
SKELL5	24	63
SKELL6L4	22	63
SKELL7L3	15	61
SKELL8L2	22	62
SKELM0	32	54
SKELN0	30	50
SKELO0	25	34
SKELP0	30	24
SKELQ0	32	19
FATBA1	11	16			; revenant rocket
FATBA2A8	15	15
FATBA3A7	17	15
FATBA4A6	11	15
FATBA5	11	15
FATBB1	11	16
FATBB2B8	14	15
FATBB3B7	16	15
FATBB4B6	11	15
FATBB5	11	15
FBXPA0	19	26			; revenant explosion
FBXPB0	17	27
FBXPC0	17	32
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
VILEG0	36	91
VILEH0	44	109
VILEI0	44	109
VILEJ0	44	109
VILEK0	44	109
VILEL0	34	108
VILEM0	34	108
VILEN0	42	99
VILEO0	42	99
VILEP0	42	99
VILEQ0	26	73
VILER0	28	74
VILES0	31	78
VILET0	33	81
VILEU0	33	78
VILEV0	36	74
VILEW0	45	68
VILEX0	44	67
VILEY0	43	41
VILEZ0	46	24
VILE[0	44	109
VILE\0	44	109
VILE]0	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 25 69
BOSSJ0 35 65
BOSSK0 39 63
BOSSL0 40 48
BOSSM0 42 42
BOSSN0 42 34
BOSSO0 48 20
POSSA1		22	53			; former human
POSSA2		21	53
POSSA3		21	53
POSSA4		26	53
POSSA5		18	52
POSSA6		14	52
POSSA7		18	52
POSSA8		14	52
POSSB1		21	53
POSSB2		21	53
POSSB3		24	53
POSSB4		26	53
POSSB5		18	52
POSSB6		11	52
POSSB7		20	52
POSSB8		15	52
POSSC1		21	53
POSSC2		21	53
POSSC3		29	53
POSSC4		26	53
POSSC5		16	52
POSSC6		17	52
POSSC7		20	52
POSSC8		17	53
POSSD1		21	53
POSSD2		21	53
POSSD3		26	53
POSSD4		31	53
POSSD5		18	47
POSSD6		14	52
POSSD7		19	52
POSSD8		15	53
POSSE1		17	52
POSSE2		34	51
POSSE3		38	50
POSSE4		29	49
POSSE5		11	48
POSSE6		9	49
POSSE7		12	50
POSSE8		14	53
POSSF1		18	52
POSSF2		37	52
POSSF3		44	51
POSSF4		34	50
POSSF5		10	49
POSSF6		10	49
POSSF7		12	50
POSSF8		14	52
POSSG1		19	51
POSSG2		18	51
POSSG3		20	50
POSSG4		20	48
POSSG5		17	49
POSSG6		20	48
POSSG7		19	50
POSSG8		19	53
POSSH0		26	51
POSSI0		19	38
POSSJ0		22	30
POSSK0		24	23
POSSL0		25	15
POSSM0		22	57
POSSN0		23	52
POSSO0		26	51
POSSP0		28	43
POSSQ0		32	36
POSSR0		33	25
POSSS0		32	19
POSST0		32	13
POSSU0		33	12

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
SARGE2E8	23	54
SARGE3E7	23	54
SARGE4E6	20	53
SARGE5	16	52
SARGF1	18	55
SARGF2F8	25	51
SARGF3F7	28	53
SARGF4F6	26	52
SARGF5	15	53
SARGG1	15	57
SARGG2G8	14	53
SARGG3G7	20	53
SARGG4G6	19	53
SARGG5	12	51
SARGH1	15	47
SARGH2H8	22	47
SARGH3H7	22	47
SARGH4H6	19	46
SARGH5	14	45
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   61
SPOSN0      19   56
SPOSO0      24   55
SPOSP0      27   47
SPOSQ0      31   40
SPOSR0      32   30
SPOSS0      31   23
SPOST0      32   17
SPOSU0      34   16

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	59
TROOP0	27	53
TROOQ0	25	44
TROOR0	28	37
TROOS0	30	31
TROOT0	31	28
TROOU0	32	28

CYBRA1	47	102  ; Cyberdemon
CYBRA2A8	46	101
CYBRA3A7	34	103
CYBRA4A6	22	101
CYBRA5	32	105
CYBRB1	50	100
CYBRB2B8	46	100
CYBRB3B7	54	103
CYBRB4B6	49	99
CYBRB5	52	103
CYBRC1	42	98
CYBRC2C8	30	102
CYBRC3C7	33	102
CYBRC4C6	40	102
CYBRC5	47	102
CYBRD1	48	96
CYBRD2D8	36	102
CYBRD3D7	45	103
CYBRD4D6	31	99
CYBRD5	37	100
CYBRE1	46	98
CYBRE2E8	37	101
CYBRE3E7	45	103
CYBRE4E6	41	101
CYBRE5	48	103
CYBRF1	46	96
CYBRF2F8	35	100
CYBRF3F7	43	100
CYBRF4F6	40	99
CYBRF5	45	101
CYBRG1	46	96
CYBRG2G8	34	100
CYBRG3G7	41	100
CYBRG4G6	39	99
CYBRG5	46	101
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	64
HEADH0	46	65
HEADI0	50	69
HEADJ0	39	68
HEADK0	37	47
HEADL0	38	28
SKULA1  15      35				; lost soul
SKULA8A2        14      35
SKULA7A3        15      35
SKULA6A4        15      35
SKULA5  15      35
SKULB1  15      35
SKULB8B2        14      35
SKULB7B3        15      35
SKULB6B4        15      35
SKULB5  15      35
SKULC1  16      33
SKULC8C2        17      33
SKULC7C3        15      34
SKULC6C4        19      32
SKULC5  17      32
SKULD1  16      32
SKULD8D2        16      33
SKULD7D3        17      34
SKULD6D4        18      33
SKULD5  17      32
SKULE1  17      33
SKULE8E2        16      33
SKULE7E3        16      35
SKULE6E4        18      32
SKULE5  17      32
SKULF0	19	39
SKULG0	16	38
SKULH0	20	37
SKULI0	24	40
SKULJ0	27	42
SKULK0	30	46
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	11	17	; Arachnotron plasma ball
APBXB0	15	22
APBXC0	16	26
APBXD0	19	26
APBXE0	19	27
APLSA0	10	12
APLSB0	8	12
BOSFA0	25	50	; Spinning boss 'cube'
BOSFB0	24	50
BOSFC0	21	50
BOSFD0	25	50
MANFA1	17	19	; Mancubus shot
MANFA5	14	17
MANFA6A4	40	18
MANFA7A3	50	16
MANFA8A2	39	16
MANFB1	17	20
MANFB5	12	16
MANFB6B4	33	17
MANFB7B3	45	18
MANFB8B2	35	16

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

AMMOA0	8	16
ARM1A0	18	28
ARM1B0	18	28
ARM2A0	18	24
ARM2B0	18	24
BAL1A0	8	11
BAL1B0	8	11
BAL1C0	17	21
BAL1D0	19	25
BAL1E0	22	28
BAL7A1A5	10	18
BAL7A2A8	14	17
BAL7A3A7	15	16
BAL7A4A6	12	17
BAL7B1B5	10	18
BAL7B2B8	13	17
BAL7B3B7	14	16
BAL7B4B6	12	16
BAL7C0	17	25
BAL7D0	20	29
BAL7E0	21	30
BAR1A0	11	30
BAR1B0	11	30
BEXPA0	11	30
BEXPB0	12	29
BEXPC0	18	40
BEXPD0	28	50
BEXPE0	29 	53
BKEYA0	7	19
BKEYB0	7	19
BLUDA0	8	5
BLUDB0	6	7
BLUDC0	3	5
BON1A0	5	15
BON1B0	5	15
BON1C0	5	15
BON1D0	5	15
BON2A0	6	19
BON2B0	6	19
BON2C0	6	19
BON2D0	6	19
BPAKA0	13	30
BROKA0	27	20
CANDA0	8	17
CBRAA0	15	61
CHGGA0	-107	-117
CHGGB0	-107	-121
CHGFA0	-126	-98
CHGFB0	-128	-111
CLIPA0	4	12
COLUA0	9	45
CSAWA0	22	20
ELECA0	13	128
IFOGA0 25 44
IFOGB0 25 44
IFOGC0 25 44
IFOGD0 25 44
IFOGE0 25 44
LAUNA0	30	20
MEDIA0	14	20
MGUNA0	25	25
MISGA0	-111 -104
MISGB0	-107 -106
MISFA0	-110 -99
MISFB0	-110 -94
MISFC0	-111 -96
MISFD0	-115 -91
MISLA1	9	12
MISLA5	9	12
MISLA6A4	13	13
MISLA7A3	22	13
MISLA8A2	13	13
MISLB0	39	42
MISLC0	38	46
MISLD0	45	47
PINSA0	15	39
PINSB0	15	39
PINSC0	15	39
PINSD0	15	39
PISFA0  -144    -69
PISGA0  -125    -97
PISGB0  -125    -82
PISGC0  -124    -87
PISGD0  -125    -76        ; Unused
PISGE0  -123    -68        ; Unused
PISTA0	10	15
PLAYA1	18	54
PLAYA2A8	11	54
PLAYA3A7	17	54
PLAYA4A6	17	54
PLAYA5	19	54
PLAYB1	19	54
PLAYB2B8	16	54
PLAYB3B7	22	54
PLAYB4B6	20	54
PLAYB5	15	54
PLAYC1	18	54
PLAYC2C8	12	54
PLAYC3C7	18	54
PLAYC4C6	17	54
PLAYC5	19	54
PLAYD1	17	54
PLAYD2D8	14	54
PLAYD3D7	19	54
PLAYD4D6	16	54
PLAYD5	18	54
PLAYE1	15	54
PLAYE2E8	21	54
PLAYE3E7	29	54
PLAYE4E6	24	54
PLAYE5	15	54
PLAYF1	15	54
PLAYF2F8	27	54
PLAYF3F7	36	54
PLAYF4F6	29	54
PLAYF5	15	54
PLAYG1	16	54
PLAYG2G8	19	54
PLAYG3G7	22	54
PLAYG4G6	17	54
PLAYG5	15	53
PLAYH0	15	54
PLAYI0	16	50
PLAYJ0	14	40
PLAYK0	16	24
PLAYL0	17	18
PLAYM0	17	15
PLAYN0	17	15
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	13	37
PLYCA2A8	22	35
PLYCA3A7	25	32
PLYCA4A6	19	35
PLYCA5	11	34
PLYCB1	15	35
PLYCB2B8	17	35
PLYCB3B7	21	34
PLYCB4B6	21	36
PLYCB5	11	35
PLYCC1	15	36
PLYCC2C8	13	35
PLYCC3C7	19	32
PLYCC4C6	18	34
PLYCC5	14	34
PLYCD1	13	35
PLYCD2D8	19	35
PLYCD3D7	21	31
PLYCD4D6	23	34
PLYCD5	13	32
PLYCE1	13	37
PLYCE2E8	25	33
PLYCE3E7	31	33
PLYCE4E6	19	33
PLYCE5	12	33
PLYCF1	13	37
PLYCF2F8	32	33
PLYCF3F7	38	33
PLYCF4F6	23	33
PLYCF5	12	33
PLYCG1	14	35
PLYCG2G8	19	35
PLYCG3G7	29	30
PLYCG4G6	18	30
PLYCG5	12	31
PLYCH0	15	40
PLYCI0	14	34
PLYCJ0	16	24
PLYCK0	16	24
PLYCL0	17	18
PLYCM0	17	15
PLYCN0	17	15
PLYCO0	12	36
PLYCP0	15	41
PLYCQ0	18	50
PLYCR0	22	51
PLYCS0	25	52
PLYCT0	26	40
PLYCU0	26	29
PLYCV0	26	19
PLYCW0	25	14

PMAPA0	14	28
PMAPB0	14	28
PMAPC0	14	28
PMAPD0	14	28
POL5A0	27	5
PUFFA0	2	3
PUFFB0	6	8
PUFFC0	7	9
PUFFD0	8	10
PUNGA0  -96     -128
PUNGB0  -64	-144
PUNGC0  -192	-108
PUNGD0  -144	-84
PVISA0	14	13
PVISB0	14	13
RKEYA0	8	19
RKEYB0	8	19
ROCKA0	5	24
SAWGA0	-176	-60
SAWGB0	-176	-59
SAWGC0	-156	-81
SAWGD0	-159	-81
SBOXA0	17	12
SHELA0	7	9
SHOTA0	21	13
SHTGA0	-122	-107
SHTGB0	-78	-40
SHTGC0	-60	-25
SHTGD0	-44	-39
SHTFA0	-142	-98
SHTFB0	-131	-90
SOULA0	12	39
SOULB0	12	39
SOULC0	12	39
SOULD0	12	39
STIMA0	10	10
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

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	-124	-118
SHT2B0	-128	-129
SHT2C0	-147	-116
SHT2D0	-113	-110
SHT2E0	-151	-106
SHT2F0	-174	-106
SHT2G0	-153	-111
SHT2H0	-125	-116
SHT2I0	-136	-104
SHT2J0	-125	-98
SGN2A0	22	14
TLMPA0	9	79
TLMPB0	9	79
TLMPC0	9	79
TLMPD0	9	79
TLP2A0	8	55
TLP2B0	8	55
TLP2C0	8	55
TLP2D0	8	55
POB1A0
POB2A0

#endif

BAL2A0	8	12
BAL2B0	8	13
BAL2C0	16	23
BAL2D0	20	27
BAL2E0	25	34
BFS1A0	30	36
BFS1B0	29	33
BFUGA0	28	20
BFGGA0	-95	-106
BFGGB0	-95	-106
BFGGC0	-88	-101
BFGFA0	-88	-83
BFGFB0	-88	-82
BFE1A0  69	48
BFE1B0  69	48
BFE1C0  70	68
BFE1D0  69	65
BFE1E0  12	15
BFE1F0  4	9
BFE2A0  36	36
BFE2B0  34	35
BFE2C0  12	16
BFE2D0  4	10
BSKUA0	6	17
BSKUB0	6	17
CELLA0	8	12
CELPA0	15	20
CEYEA0	19	47
CEYEB0	19	47
CEYEC0	19	47
COL1A0 18 53
COL2A0 18 40
COL3A0 18 53
COL4A0 18 40
COL5A0 18 48
COL5B0 18 48
COL6A0 18 52
FCANA0	12	62
FCANB0	12	62
FCANC0	12	62
FSKUA0 17 47
FSKUB0 17 47
FSKUC0 17 47
GOR1A0	12	67
GOR1B0	12	67
GOR1C0	12	67
GOR2A0	15	81
GOR3A0	12	83
GOR4A0	19	67
GOR5A0	18	51
PINVA0	12	25
PINVB0	12	25
PINVC0	12	25
PINVD0	12	25
PLASA0	29	16
PLSEA0	11	15
PLSEB0	15	19
PLSEC0	17	24
PLSED0	18	27
PLSEE0	19	30
PLSFA0	-115	-86
PLSFB0	-115	-85
PLSGA0	-115	-104
PLSGB0	-50	-100
PLSSA0	9	12
PLSSB0	9	12
POL1A0	22	62
POL2A0	20	62
POL3A0	20	44
POL3B0	20	44
POL4A0	17	51
POL6A0	14	62
POL6B0	15	62
PSTRA0	16	18
RSKUA0	6	17
RSKUB0	6	17
SMBTA0	12	70
SMBTB0	12	70
SMBTC0	12	70
SMBTD0	12	70
SMGTA0	12	75
SMGTB0	12	75
SMGTC0	12	75
SMGTD0	12	75
SMRTA0	11	66
SMRTB0	11	66
SMRTC0	11	66
SMRTD0	11	66
SMT2A0	10	42
TBLUA0	12	94
TBLUB0	12	94
TBLUC0	12	94
TBLUD0	12	94
TGRNA0	11	99
TGRNB0	11	99
TGRNC0	11	99
TGRND0	11	99
TREDA0	11	90
TREDB0	11	90
TREDC0	11	90
TREDD0	11	90
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
CEIL5_3
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
FLAT5_6B
FLAT5_6C
SFLR4_1
SFLR4_4
SFLR5_1
SFLR5_4

