Add FreeDM levels and freedm.wad IWAD build.
15
Makefile
|
@ -19,7 +19,8 @@ OBJS = \
|
|||
$(WADS_DIR)/freedoom_sounds.wad \
|
||||
$(WADS_DIR)/freedoom_textures.wad \
|
||||
$(WADS_DIR)/doom1.wad \
|
||||
$(WADS_DIR)/doom2.wad
|
||||
$(WADS_DIR)/doom2.wad \
|
||||
$(WADS_DIR)/freedm.wad
|
||||
|
||||
# disable this for now
|
||||
# $(WADS_DIR)/freedoom_hires.zip
|
||||
|
@ -43,6 +44,8 @@ textures/doom2/texture1.txt: textures/combined.txt
|
|||
$(CPP) -DDOOM1 -DDOOM2 < $< > $@
|
||||
textures/doom/texture1.txt: textures/combined.txt
|
||||
$(CPP) -DDOOM1 < $< > $@
|
||||
textures/freedm/texture1.txt: textures/combined.txt
|
||||
$(CPP) -DFREEDM < $< > $@
|
||||
textures/shareware/texture1.txt: textures/combined.txt
|
||||
$(CPP) -DSHAREWARE < $< > $@
|
||||
|
||||
|
@ -64,6 +67,8 @@ wadinfo_sw.txt: buildcfg.txt force textures/shareware/pnames.txt
|
|||
$(CPP) -P -DSHAREWARE < $< | ./wadinfo-builder.pl -dummy > $@
|
||||
wadinfo_iwad.txt: buildcfg.txt force textures/doom2/pnames.txt
|
||||
$(CPP) -P -DDOOM2 < $< | ./wadinfo-builder.pl -dummy > $@
|
||||
wadinfo_freedm.txt : buildcfg.txt force textures/freedm/pnames.txt
|
||||
$(CPP) -P -DFREEDM < $< | ./wadinfo-builder.pl -dummy > $@
|
||||
|
||||
%.wad.gz: %.wad
|
||||
gzip < $< > $@
|
||||
|
@ -93,6 +98,14 @@ $(WADS_DIR)/freedoom.wad: wadinfo.txt subdirs force $(WADS_DIR)
|
|||
rm -f $@
|
||||
$(DEUTEX) $(DEUTEX_ARGS) -textures -lumps -patch -flats -sounds -musics -graphics -sprites -build wadinfo.txt $@
|
||||
|
||||
#---------------------------------------------------------
|
||||
# freedm iwad
|
||||
|
||||
$(WADS_DIR)/freedm.wad: wadinfo_freedm.txt subdirs force $(WADS_DIR)
|
||||
ln -sf freedm/texture1.txt textures/texture1.txt
|
||||
rm -f $@
|
||||
$(DEUTEX) $(DEUTEX_ARGS) -iwad -build wadinfo_freedm.txt $@
|
||||
|
||||
#---------------------------------------------------------
|
||||
# iwad
|
||||
|
||||
|
|
1320
buildcfg.txt
1
flats/dummy1.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dummy1.gif
|
1
flats/dummy2.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dummy2.gif
|
1
flats/dummy3.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dummy3.gif
|
BIN
flats/rellik/dummy1.gif
Normal file
After Width: | Height: | Size: 900 B |
BIN
flats/rellik/dummy2.gif
Normal file
After Width: | Height: | Size: 900 B |
BIN
flats/rellik/dummy3.gif
Normal file
After Width: | Height: | Size: 1.7 KiB |
1
levels/dm01.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm01.wad
|
1
levels/dm02.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm02.wad
|
1
levels/dm03.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm03.wad
|
1
levels/dm04.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm04.wad
|
1
levels/dm05.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm05.wad
|
1
levels/dm06.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm06.wad
|
1
levels/dm07.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm07.wad
|
1
levels/dm08.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm08.wad
|
1
levels/dm09.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm09.wad
|
1
levels/dm10.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm10.wad
|
1
levels/dm11.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm11.wad
|
1
levels/dm12.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm12.wad
|
1
levels/dm13.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm13.wad
|
1
levels/dm14.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm14.wad
|
1
levels/dm15.wad
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/dm15.wad
|
BIN
levels/rellik/dm01.wad
Normal file
BIN
levels/rellik/dm02.wad
Normal file
BIN
levels/rellik/dm03.wad
Normal file
BIN
levels/rellik/dm04.wad
Normal file
BIN
levels/rellik/dm05.wad
Normal file
BIN
levels/rellik/dm06.wad
Normal file
BIN
levels/rellik/dm07.wad
Normal file
BIN
levels/rellik/dm08.wad
Normal file
BIN
levels/rellik/dm09.wad
Normal file
BIN
levels/rellik/dm10.wad
Normal file
BIN
levels/rellik/dm11.wad
Normal file
BIN
levels/rellik/dm12.wad
Normal file
BIN
levels/rellik/dm13.wad
Normal file
BIN
levels/rellik/dm14.wad
Normal file
BIN
levels/rellik/dm15.wad
Normal file
1
patches/logo.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/logo.gif
|
1
patches/logo3.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/logo3.gif
|
1
patches/logo4.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/logo4.gif
|
1
patches/logo5.gif
Symbolic link
|
@ -0,0 +1 @@
|
|||
rellik/logo5.gif
|
BIN
patches/rellik/logo.gif
Normal file
After Width: | Height: | Size: 2.2 KiB |
BIN
patches/rellik/logo3.gif
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
patches/rellik/logo4.gif
Normal file
After Width: | Height: | Size: 1.9 KiB |
BIN
patches/rellik/logo5.gif
Normal file
After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 35 B After Width: | Height: | Size: 35 B |
|
@ -23,6 +23,11 @@
|
|||
;
|
||||
; 10/3/2003: modified build to use a single file with #defines
|
||||
|
||||
#ifdef FREEDM
|
||||
#define DOOM1
|
||||
#define DOOM2
|
||||
#endif
|
||||
|
||||
#ifdef DOOM2
|
||||
#undef SHAREWARE
|
||||
#undef ULTDOOM
|
||||
|
@ -1067,6 +1072,22 @@ WFALL4 64 128
|
|||
|
||||
#endif
|
||||
|
||||
; These textures are only in FreeDM
|
||||
|
||||
#ifdef FREEDM
|
||||
|
||||
LOGO 256 128
|
||||
* LOGO 0 0
|
||||
LOGO4 256 128
|
||||
* LOGO4 0 0
|
||||
LOGO3 256 128
|
||||
* LOGO3 0 0
|
||||
LOGO5 64 128
|
||||
* LOGO5 0 0
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
; common textures
|
||||
|
||||
ASHWALL2 64 128
|
||||
|
@ -1804,5 +1825,4 @@ MIDBARS3 64 72
|
|||
* RW45_1 0 0
|
||||
MARBFAC3 128 128
|
||||
* MWALL5_1 0 0
|
||||
;End
|
||||
|
||||
|
|
|
@ -72,47 +72,61 @@ while (<STDIN>) {
|
|||
|
||||
# check for empty lines and comments
|
||||
|
||||
if(!/^[\#\;]/ && !/^\s*$/) {
|
||||
# sections
|
||||
|
||||
# sections
|
||||
if(/\[.*\]/) {
|
||||
|
||||
if(/\[.*\]/) {
|
||||
# extract section name
|
||||
|
||||
# extract section name
|
||||
$section = $_;
|
||||
$section =~ s/.*\[//;
|
||||
$section =~ s/\].*//;
|
||||
|
||||
$section = $_;
|
||||
$section =~ s/.*\[//;
|
||||
$section =~ s/\].*//;
|
||||
# catch [texture1] and [texture2] which are in
|
||||
# textures/
|
||||
|
||||
# catch [texture1] and [texture2] which are in
|
||||
# textures/
|
||||
$section = "textures"
|
||||
if $section eq "texture1" ||
|
||||
$section eq "texture2";
|
||||
|
||||
$section = "textures"
|
||||
if $section eq "texture1" ||
|
||||
$section eq "texture2";
|
||||
} elsif (/^\s*(\S+)(\s*\=\s*(\S+))?/) {
|
||||
|
||||
my ($resname, $override) = ($1, $3);
|
||||
|
||||
$resname = lc($resname);
|
||||
|
||||
# allow "=foo" to override the filename used
|
||||
|
||||
my $filename;
|
||||
|
||||
if ($override) {
|
||||
$filename = findfile($section, $override);
|
||||
} else {
|
||||
$filename = findfile($section, $resname);
|
||||
}
|
||||
|
||||
if ($filename) {
|
||||
if (!$forced_lump{$resname} && !recent($filename)) {
|
||||
$_ = ";$_";
|
||||
}
|
||||
} else {
|
||||
|
||||
my ($word) = split(' ', $_);
|
||||
$word = lc($word);
|
||||
my $filename = findfile($section, $word);
|
||||
if ($forced_lump{$resname} || $dummy) {
|
||||
|
||||
if ($filename) {
|
||||
if (!$forced_lump{$word} && !recent($filename)) {
|
||||
$_ = ";$_";
|
||||
# this hasnt been submitted yet - use a dummy lump
|
||||
# instead
|
||||
|
||||
if ($resname =~ /^DEMO/i) {
|
||||
$_ = "$resname = fakedemo";
|
||||
} else {
|
||||
$_ = "$resname = dummy";
|
||||
}
|
||||
} else {
|
||||
if ($forced_lump{$word} || $dummy) {
|
||||
if ($word =~ /^DEMO/i) {
|
||||
$_ = "$_ = fakedemo";
|
||||
} else {
|
||||
$_ = "$_ = dummy";
|
||||
}
|
||||
} else {
|
||||
$_ = ";$_";
|
||||
}
|
||||
# disabled entries are commented out
|
||||
|
||||
$_ = ";$_";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
print $_ . "\n";
|
||||
}
|
||||
|
|