v03i099: Dragon -- Game of Mah-Jongg, Part10/10
Dan Heller
argv at island.uu.net
Mon May 1 12:03:27 AEST 1989
Submitted-by: Gary E. Barnes <igor!amber!geb>
Posting-number: Volume 3, Issue 99
Archive-name: dragon/part10
#! /bin/sh
# This is a shell archive. Remove anything before this line, then feed it
# into a shell via "sh file" or similar. To overwrite existing files,
# type "sh file -c".
# The tool that generated this appeared in the comp.sources.unix newsgroup;
# send mail to comp-sources-unix at uunet.uu.net if you want that tool.
# If this archive is complete, you will see the following message at the end:
# "End of archive 10 (of 10)."
# Contents: ic/bam_7x8.ic ic/dot_7x8.ic ic/five_7x8.ic ic/four_7x8.ic
# ic/nine_7x8.ic ic/one_7x8.ic ic/six_7x8.ic ic/three_7x8.ic
# ic/two_7x8.ic
# Wrapped by argv at island on Sun Apr 30 00:18:37 1989
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f 'ic/bam_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/bam_7x8.ic'\"
else
echo shar: Extracting \"'ic/bam_7x8.ic'\" \(182 characters\)
sed "s/^X//" >'ic/bam_7x8.ic' <<'END_OF_FILE'
X#define bam_7x8_width 7
X#define bam_7x8_height 8
X#define bam_7x8_x_hot -1
X#define bam_7x8_y_hot -1
Xstatic char bam_7x8_bits[] = {
X 0x00, 0x1c, 0x36, 0x14, 0x14, 0x36, 0x1c, 0x00};
END_OF_FILE
if test 182 -ne `wc -c <'ic/bam_7x8.ic'`; then
echo shar: \"'ic/bam_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/bam_7x8.ic'
fi
if test -f 'ic/dot_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/dot_7x8.ic'\"
else
echo shar: Extracting \"'ic/dot_7x8.ic'\" \(182 characters\)
sed "s/^X//" >'ic/dot_7x8.ic' <<'END_OF_FILE'
X#define dot_7x8_width 7
X#define dot_7x8_height 8
X#define dot_7x8_x_hot -1
X#define dot_7x8_y_hot -1
Xstatic char dot_7x8_bits[] = {
X 0x00, 0x2a, 0x1c, 0x36, 0x1c, 0x2a, 0x00, 0x00};
END_OF_FILE
if test 182 -ne `wc -c <'ic/dot_7x8.ic'`; then
echo shar: \"'ic/dot_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/dot_7x8.ic'
fi
if test -f 'ic/five_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/five_7x8.ic'\"
else
echo shar: Extracting \"'ic/five_7x8.ic'\" \(187 characters\)
sed "s/^X//" >'ic/five_7x8.ic' <<'END_OF_FILE'
X#define five_7x8_width 7
X#define five_7x8_height 8
X#define five_7x8_x_hot -1
X#define five_7x8_y_hot -1
Xstatic char five_7x8_bits[] = {
X 0x00, 0x3e, 0x06, 0x06, 0x18, 0x32, 0x1c, 0x00};
END_OF_FILE
if test 187 -ne `wc -c <'ic/five_7x8.ic'`; then
echo shar: \"'ic/five_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/five_7x8.ic'
fi
if test -f 'ic/four_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/four_7x8.ic'\"
else
echo shar: Extracting \"'ic/four_7x8.ic'\" \(187 characters\)
sed "s/^X//" >'ic/four_7x8.ic' <<'END_OF_FILE'
X#define four_7x8_width 7
X#define four_7x8_height 8
X#define four_7x8_x_hot -1
X#define four_7x8_y_hot -1
Xstatic char four_7x8_bits[] = {
X 0x00, 0x18, 0x1c, 0x16, 0x3e, 0x18, 0x18, 0x00};
END_OF_FILE
if test 187 -ne `wc -c <'ic/four_7x8.ic'`; then
echo shar: \"'ic/four_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/four_7x8.ic'
fi
if test -f 'ic/nine_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/nine_7x8.ic'\"
else
echo shar: Extracting \"'ic/nine_7x8.ic'\" \(187 characters\)
sed "s/^X//" >'ic/nine_7x8.ic' <<'END_OF_FILE'
X#define nine_7x8_width 7
X#define nine_7x8_height 8
X#define nine_7x8_x_hot -1
X#define nine_7x8_y_hot -1
Xstatic char nine_7x8_bits[] = {
X 0x00, 0x1c, 0x36, 0x3c, 0x20, 0x36, 0x1c, 0x00};
END_OF_FILE
if test 187 -ne `wc -c <'ic/nine_7x8.ic'`; then
echo shar: \"'ic/nine_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/nine_7x8.ic'
fi
if test -f 'ic/one_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/one_7x8.ic'\"
else
echo shar: Extracting \"'ic/one_7x8.ic'\" \(182 characters\)
sed "s/^X//" >'ic/one_7x8.ic' <<'END_OF_FILE'
X#define one_7x8_width 7
X#define one_7x8_height 8
X#define one_7x8_x_hot -1
X#define one_7x8_y_hot -1
Xstatic char one_7x8_bits[] = {
X 0x00, 0x18, 0x1c, 0x18, 0x18, 0x18, 0x3c, 0x00};
END_OF_FILE
if test 182 -ne `wc -c <'ic/one_7x8.ic'`; then
echo shar: \"'ic/one_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/one_7x8.ic'
fi
if test -f 'ic/six_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/six_7x8.ic'\"
else
echo shar: Extracting \"'ic/six_7x8.ic'\" \(182 characters\)
sed "s/^X//" >'ic/six_7x8.ic' <<'END_OF_FILE'
X#define six_7x8_width 7
X#define six_7x8_height 8
X#define six_7x8_x_hot -1
X#define six_7x8_y_hot -1
Xstatic char six_7x8_bits[] = {
X 0x00, 0x1c, 0x36, 0x02, 0x1e, 0x36, 0x1c, 0x00};
END_OF_FILE
if test 182 -ne `wc -c <'ic/six_7x8.ic'`; then
echo shar: \"'ic/six_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/six_7x8.ic'
fi
if test -f 'ic/three_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/three_7x8.ic'\"
else
echo shar: Extracting \"'ic/three_7x8.ic'\" \(192 characters\)
sed "s/^X//" >'ic/three_7x8.ic' <<'END_OF_FILE'
X#define three_7x8_width 7
X#define three_7x8_height 8
X#define three_7x8_x_hot -1
X#define three_7x8_y_hot -1
Xstatic char three_7x8_bits[] = {
X 0x00, 0x1c, 0x36, 0x18, 0x18, 0x36, 0x1c, 0x00};
END_OF_FILE
if test 192 -ne `wc -c <'ic/three_7x8.ic'`; then
echo shar: \"'ic/three_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/three_7x8.ic'
fi
if test -f 'ic/two_7x8.ic' -a "${1}" != "-c" ; then
echo shar: Will not clobber existing file \"'ic/two_7x8.ic'\"
else
echo shar: Extracting \"'ic/two_7x8.ic'\" \(182 characters\)
sed "s/^X//" >'ic/two_7x8.ic' <<'END_OF_FILE'
X#define two_7x8_width 7
X#define two_7x8_height 8
X#define two_7x8_x_hot -1
X#define two_7x8_y_hot -1
Xstatic char two_7x8_bits[] = {
X 0x00, 0x1c, 0x36, 0x30, 0x18, 0x0c, 0x3e, 0x00};
END_OF_FILE
if test 182 -ne `wc -c <'ic/two_7x8.ic'`; then
echo shar: \"'ic/two_7x8.ic'\" unpacked with wrong size!
fi
# end of 'ic/two_7x8.ic'
fi
echo shar: End of archive 10 \(of 10\).
cp /dev/null ark10isdone
MISSING=""
for I in 1 2 3 4 5 6 7 8 9 10 ; do
if test ! -f ark${I}isdone ; then
MISSING="${MISSING} ${I}"
fi
done
if test "${MISSING}" = "" ; then
echo You have unpacked all 10 archives.
rm -f ark[1-9]isdone ark[1-9][0-9]isdone
else
echo You still need to unpack the following archives:
echo " " ${MISSING}
fi
## End of shell archive.
exit 0
More information about the Comp.sources.x
mailing list