mikew@wyse.wyse.com (Mike Wexler) (12/06/88)
Submitted-by: aperez@blazer.prime.com (Arturo Perez Ext.) Posting-number: Volume 2, Issue 33 Archive-name: xchess/part06 #! /bin/sh # This is a shell archive. Remove anything before this line, then unpack # it by saving it into a file and typing "sh file". To overwrite existing # files, type "sh file -c". You can also feed this as standard input via # unshar, or by typing "sh <file", e.g.. If this archive is complete, you # will see the following message at the end: # "End of archive 6 (of 6)." # Contents: AUTHOR Makefile Makefile~ XCircle.c bishop_small.bitmap # bishop_small_outline.bitmap king_small.bitmap # king_small_outline.bitmap knight_small.bitmap # knight_small_outline.bitmap pawn_small.bitmap # pawn_small_outline.bitmap queen_small.bitmap # queen_small_outline.bitmap rook_small.bitmap # rook_small_outline.bitmap xchess.cur xchess_mask.cur # Wrapped by mikew@wyse on Mon Dec 5 18:32:51 1988 PATH=/bin:/usr/bin:/usr/ucb ; export PATH if test -f 'AUTHOR' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'AUTHOR'\" else echo shar: Extracting \"'AUTHOR'\" \(1354 characters\) sed "s/^X//" >'AUTHOR' <<'END_OF_FILE' X(Message inbox:386) XReturn-Path: aperez@blazer.prime.com XReceived: from wyse by tarfoo.wyse.com (5.58/Wyse client/5-13-88) X id AA03459; Sat, 3 Dec 88 02:11:41 PST XReceived: by wyse.wyse.com (5.58/Wyse master/5-13-88) X id AA25829; Sat, 3 Dec 88 02:11:31 PST XReceived: from GW1.CS.NET by uunet.UU.NET (5.59/1.14) X id AA08934; Sat, 3 Dec 88 03:02:14 EST XReceived: by RELAY.CS.NET id ah04075; 30 Nov 88 19:49 EST XReceived: from en-c06.prime.com by RELAY.CS.NET id av01179; 30 Nov 88 10:25 EST XReceived: from montero.prime.com by EN-C06.Prime.COM; 29 Nov 88 18:18:21 EST XReceived: from cvbnet.prime.com by montero.prime.com (3.2/SMI-3.2) X id AA09821; Tue, 29 Nov 88 18:20:14 EST XReceived: from blazer.prime.com (blazer2) by cvbnet.prime.com (3.2/SMI-3.2) X id AA05070; Tue, 29 Nov 88 18:16:55 EST XReceived: by blazer.prime.com (3.2/3.14) X id AA05759; Tue, 29 Nov 88 18:14:23 EST XDate: Tue, 29 Nov 88 18:14:23 EST XFrom: "Arturo Perez Ext." <aperez%blazer.prime.com@RELAY.CS.NET> XReturn-Path: <aperez@blazer> XMessage-Id: <8811292314.AA05759@blazer.prime.com> XTo: bking@UF.MSC.UMN.EDU, djl%mips.com@RELAY.CS.NET, eichin@ATHENA.MIT.EDU, X lee%ulysses.homer.nj.att.com@RELAY.CS.NET, X mikew%wyse.wyse.com@RELAY.CS.NET, X cerberus.uchicago.edu!keith%raybed2.uucp@RELAY.CS.NET, X x-sources%wyse.com@RELAY.CS.NET XSubject: File: xchess.shar X END_OF_FILE if test 1354 -ne `wc -c <'AUTHOR'`; then echo shar: \"'AUTHOR'\" unpacked with wrong size! fi # end of 'AUTHOR' fi if test -f 'Makefile' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'Makefile'\" else echo shar: Extracting \"'Makefile'\" \(2482 characters\) sed "s/^X//" >'Makefile' <<'END_OF_FILE' X X# RCS Info: $Revision: 1.5 $ on $Date: 86/11/26 12:09:19 $ X# $Source: /users/faustus/xchess/RCS/Makefile,v $ X# Copyright (c) 1985 Wayne A. Christopher, U. C. Berkeley CAD Group X# X# Makefile for xchess. X XCC = cc -O X XCFILES =\ X board.c\ X button.c\ X clock.c\ X control.c\ X jail.c\ X message.c\ X parse.c\ X popup.c\ X program.c\ X record.c\ X std.c\ X valid.c\ X window.c\ X XCircle.c X XCOBJS =\ X board.o\ X button.o\ X clock.o\ X control.o\ X jail.o\ X message.o\ X parse.o\ X popup.o\ X program.o\ X record.o\ X std.o\ X valid.o\ X window.o\ X XCircle.o X XHFILES =\ X std.h\ X xchess.h X XSOURCE = $(CFILES) X XALLFILES = $(SOURCE) $(HFILES) XDESTDIR = /global XINCLUDE = -I. -I$(DESTDIR)/include X XDEFINES = -DDEF_PROGRAM=\"$(DESTDIR)/bin/gnuchessr\" X XCFLAGS = $(DEFINES) $(INCLUDE) XLINTFLAGS = -u -z -lc -DLINT $(DEFINES) $(INCLUDE) XLINTLIB = ../lib/llib-lX.ln XLDFLAGS = -L$(DESTDIR)/lib -z -loldX -lX11 -lm XGPLDFLAGS = -z -lXMenu_p -lX -lm_p -g -pg X X.c.o: $*.c X $(CC) $(CFLAGS) -c $*.c X.s.o: $*.s X $(CC) $(CFLAGS) -c $*.s X Xall: xchess scrollText.o X @echo "All done." X Xeverything: all tags depend lint wc X @echo "All done." X Xxchess: xchess.o $(COBJS) scrollText.o X $(CC) -o xchess xchess.o $(COBJS) scrollText.o \ X $(LDFLAGS) X XscrollText.o: scrollText.h scrollText.c X Xgpxchess: xchess.o $(COBJS) X $(CC) -o gpxchess xchess.o $(COBJS) scrollText/libScroll.a \ X $(GPLDFLAGS) X Xlint: $(SOURCE) X lint $(LINTFLAGS) $(SOURCE) $(LINTLIB) | \ X grep -v "multiply declared" X Xqgrind: $(ALLFILES) X qgrind -lc $(ALLFILES) X Xvgrind: $(ALLFILES) X vgrind -lc $(ALLFILES) X Xopt: all X Xreopt: all X Xinstall: all X Xsource: $(SOURCE) X Xtags: $(ALLFILES) X ctags -w -t *.c *.h > /dev/null 2>&1 X Xwc: $(ALLFILES) X @wc $(ALLFILES) X Xprint: $(ALLFILES) X @pr $(ALLFILES) X Xclean: X rm -f *.o *.a *.out xchess tags foo tmp X Xtar: X tar -cvf xchess.tar Makefile *.h *.c *.bitmap *.icon *.cur *.1\ X scrollText/Makefile scrollText/*.h scrollText/*.c scrollText/*.1\ X scrollText/*.3 X X$(ALLFILES): X co $@ X Xdepend: $(SOURCE) X cc -M $(CFLAGS) $(CFILES) > makedep X echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep X echo '$$r makedep' >>eddep X echo 'w' >>eddep X ed - Makefile < eddep X rm eddep makedep X echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile X echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile X echo '# see make depend above' >> Makefile X X#----------------------------------------------------------------- X# DO NOT DELETE THIS LINE -- make depend uses it X# DEPENDENCIES MUST END AT END OF FILE X Xxchess.o $(COBJS): $(HFILES) X END_OF_FILE if test 2482 -ne `wc -c <'Makefile'`; then echo shar: \"'Makefile'\" unpacked with wrong size! fi # end of 'Makefile' fi if test -f 'Makefile~' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'Makefile~'\" else echo shar: Extracting \"'Makefile~'\" \(2482 characters\) sed "s/^X//" >'Makefile~' <<'END_OF_FILE' X X# RCS Info: $Revision: 1.5 $ on $Date: 86/11/26 12:09:19 $ X# $Source: /users/faustus/xchess/RCS/Makefile,v $ X# Copyright (c) 1985 Wayne A. Christopher, U. C. Berkeley CAD Group X# X# Makefile for xchess. X XCC = cc -O X XCFILES =\ X board.c\ X button.c\ X clock.c\ X control.c\ X jail.c\ X message.c\ X parse.c\ X popup.c\ X program.c\ X record.c\ X std.c\ X valid.c\ X window.c\ X XCircle.c X XCOBJS =\ X board.o\ X button.o\ X clock.o\ X control.o\ X jail.o\ X message.o\ X parse.o\ X popup.o\ X program.o\ X record.o\ X std.o\ X valid.o\ X window.o\ X XCircle.o X XHFILES =\ X std.h\ X xchess.h X XSOURCE = $(CFILES) X XALLFILES = $(SOURCE) $(HFILES) XDESTDIR = /usr2/X XINCLUDE = -I. -I$(DESTDIR)/include X XDEFINES = -DDEF_PROGRAM=\"$(DESTDIR)/bin/gnuchessr\" X XCFLAGS = $(DEFINES) $(INCLUDE) XLINTFLAGS = -u -z -lc -DLINT $(DEFINES) $(INCLUDE) XLINTLIB = ../lib/llib-lX.ln XLDFLAGS = -L$(DESTDIR)/lib -z -loldX -lX11 -lm XGPLDFLAGS = -z -lXMenu_p -lX -lm_p -g -pg X X.c.o: $*.c X $(CC) $(CFLAGS) -c $*.c X.s.o: $*.s X $(CC) $(CFLAGS) -c $*.s X Xall: xchess scrollText.o X @echo "All done." X Xeverything: all tags depend lint wc X @echo "All done." X Xxchess: xchess.o $(COBJS) scrollText.o X $(CC) -o xchess xchess.o $(COBJS) scrollText.o \ X $(LDFLAGS) X XscrollText.o: scrollText.h scrollText.c X Xgpxchess: xchess.o $(COBJS) X $(CC) -o gpxchess xchess.o $(COBJS) scrollText/libScroll.a \ X $(GPLDFLAGS) X Xlint: $(SOURCE) X lint $(LINTFLAGS) $(SOURCE) $(LINTLIB) | \ X grep -v "multiply declared" X Xqgrind: $(ALLFILES) X qgrind -lc $(ALLFILES) X Xvgrind: $(ALLFILES) X vgrind -lc $(ALLFILES) X Xopt: all X Xreopt: all X Xinstall: all X Xsource: $(SOURCE) X Xtags: $(ALLFILES) X ctags -w -t *.c *.h > /dev/null 2>&1 X Xwc: $(ALLFILES) X @wc $(ALLFILES) X Xprint: $(ALLFILES) X @pr $(ALLFILES) X Xclean: X rm -f *.o *.a *.out xchess tags foo tmp X Xtar: X tar -cvf xchess.tar Makefile *.h *.c *.bitmap *.icon *.cur *.1\ X scrollText/Makefile scrollText/*.h scrollText/*.c scrollText/*.1\ X scrollText/*.3 X X$(ALLFILES): X co $@ X Xdepend: $(SOURCE) X cc -M $(CFLAGS) $(CFILES) > makedep X echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep X echo '$$r makedep' >>eddep X echo 'w' >>eddep X ed - Makefile < eddep X rm eddep makedep X echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile X echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile X echo '# see make depend above' >> Makefile X X#----------------------------------------------------------------- X# DO NOT DELETE THIS LINE -- make depend uses it X# DEPENDENCIES MUST END AT END OF FILE X Xxchess.o $(COBJS): $(HFILES) X END_OF_FILE if test 2482 -ne `wc -c <'Makefile~'`; then echo shar: \"'Makefile~'\" unpacked with wrong size! fi # end of 'Makefile~' fi if test -f 'XCircle.c' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'XCircle.c'\" else echo shar: Extracting \"'XCircle.c'\" \(3843 characters\) sed "s/^X//" >'XCircle.c' <<'END_OF_FILE' X/* This file contains code for X-CHESS. X Copyright (C) 1986 Free Software Foundation, Inc. X XThis file is part of X-CHESS. X XX-CHESS is distributed in the hope that it will be useful, Xbut WITHOUT ANY WARRANTY. No author or distributor Xaccepts responsibility to anyone for the consequences of using it Xor for whether it serves any particular purpose or works at all, Xunless he says so in writing. Refer to the X-CHESS General Public XLicense for full details. X XEveryone is granted permission to copy, modify and redistribute XX-CHESS, but only under the conditions described in the XX-CHESS General Public License. A copy of this license is Xsupposed to have been given to you along with X-CHESS so you Xcan know your rights and responsibilities. It should be in a Xfile named COPYING. Among other things, the copyright notice Xand this notice must be preserved on all copies. */ X X X/* RCS Info: $Revision: 1.2 $ on $Date: 86/11/23 17:17:04 $ X * $Source: /users/faustus/xchess/RCS/XCircle.c,v $ X * Copyright (c) 1986 Wayne A. Christopher, U. C. Berkeley CAD Group X * Permission is granted to do anything with this code except sell it X * or remove this message. X * X */ X X#include <stdio.h> X#include <X11/Xlib.h> X#include <X11/X10.h> X#include <math.h> X X#define PI 3.1415926535897932384 X X#define MAXVERTS 1000 X Xvoid XXCircle(win, x, y, rad, start, end, width, height, pixel, func, planes) X Window win; X int x, y, rad; X double start, end; X int pixel; X int width, height; X int func, planes; X{ X Vertex verts[MAXVERTS]; X double xp, yp, ang; X int lx, ly, xpt, ypt, i; X double gradincr = 2 / (double) rad; X int bk = 0; X X while (end >= PI * 2) X end -= PI * 2; X while (start >= PI * 2) X start -= PI * 2; X while (end < 0) X end += PI * 2; X while (start < 0) X start += PI * 2; X if (end == start) { X if (end < gradincr) X end = end + PI * 2 - gradincr / 2; X else X end -= gradincr / 2; X } X for (ang = start, i = 0; i < MAXVERTS; ) { X X xp = x + rad * cos(ang); X yp = y + rad * sin(ang); X X xpt = xp; X ypt = yp; X X if (!i || (lx != xpt) || (ly != ypt)) { X verts[i].x = xpt; X verts[i].y = ypt; X verts[i].flags = 0; X i++; X } X lx = xpt; X ly = ypt; X if (bk) X break; X if (((ang < end) && (ang + gradincr > end)) || ((end < start) X && (ang + gradincr > 2 * PI) X && (ang + gradincr - 2 * PI > end))) { X ang = end; X bk = 1; X } else if (ang == end) { X break; X } else { X ang += gradincr; X } X if (ang >= PI * 2) X ang -= PI * 2; X } X X /* Now draw the thing.. */ X XDraw(win, verts, i, width, height, pixel, func, planes); X X return; X} X X#ifdef notdef VertexCurved is screwed up X Xvoid XXCircle(win, x, y, rad, start, end, width, height, pixel, func, planes) X Window win; X int x, y, rad; X double start, end; X int pixel; X int width, height; X int func, planes; X{ X Vertex verts[7]; X int i, j, sv, ev; X int dp = 0; X X for (i = j = 0 ; i < 4; i++) { X verts[j].x = x + rad * cos((double) (PI * i / 2)); X verts[j].y = y + rad * sin((double) (PI * i / 2)); X verts[j].flags = VertexCurved; X if ((start >= PI * i / 2) && (start < PI * (i + 1) / 2) && X (start != end)) { X j++; X verts[j].x = x + rad * cos(start); X verts[j].y = y + rad * sin(start); X verts[j].flags = VertexCurved; X sv = j; X } else if ((end >= PI * i / 2) && (end < PI * (i + 1) / 2) X && (start != end)) { X j++; X verts[j].x = x + rad * cos(end); X verts[j].y = y + rad * sin(end); X verts[j].flags = VertexCurved; X ev = j; X } X j++; X } X verts[0].flags |= VertexStartClosed; X verts[j].x = verts[0].x; X verts[j].y = verts[0].y; X verts[j].flags = (verts[0].flags & ~VertexStartClosed) | X VertexEndClosed; X for (i = 0; i < 15; i++) { X if (dp) X verts[i % 7].flags |= VertexDontDraw; X if (i % 7 == ev) X dp = 1; X else if (i % 7 == sv) X dp = 0; X } X XDraw(win, verts, j + 1, width, height, pixel, func, planes); X X return; X} X X#endif notdef X END_OF_FILE if test 3843 -ne `wc -c <'XCircle.c'`; then echo shar: \"'XCircle.c'\" unpacked with wrong size! fi # end of 'XCircle.c' fi if test -f 'bishop_small.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'bishop_small.bitmap'\" else echo shar: Extracting \"'bishop_small.bitmap'\" \(899 characters\) sed "s/^X//" >'bishop_small.bitmap' <<'END_OF_FILE' X#define bishop_small_width 32 X#define bishop_small_height 32 Xstatic char bishop_small_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x1c, 0x00, 0x00, 0x70, 0x1c, 0x00, X 0x00, 0x70, 0x1c, 0x00, 0x00, 0x20, 0x08, 0x00, 0x00, 0x60, 0x16, 0x00, X 0x00, 0x60, 0x22, 0x00, 0x00, 0xf0, 0x23, 0x00, 0x00, 0xf0, 0x21, 0x00, X 0x00, 0xf8, 0x21, 0x00, 0x00, 0xf8, 0x23, 0x00, 0x00, 0xf8, 0x23, 0x00, X 0x00, 0xf8, 0x27, 0x00, 0x00, 0x38, 0x27, 0x00, 0x00, 0x3c, 0x2f, 0x00, X 0x00, 0x0c, 0x2c, 0x00, 0x00, 0x0e, 0x3c, 0x00, 0x00, 0x3e, 0x3f, 0x00, X 0x00, 0x3e, 0x3f, 0x00, 0x00, 0x3e, 0x3f, 0x00, 0x00, 0x3e, 0x3f, 0x00, X 0x00, 0xfe, 0x7f, 0x00, 0x00, 0xfe, 0x7f, 0x00, 0x00, 0xfe, 0x7f, 0x00, X 0x00, 0xfe, 0x7f, 0x00, 0x00, 0xfe, 0x7f, 0x00, 0x00, 0xfe, 0x7f, 0x00, X 0x00, 0xfe, 0x7f, 0x00, 0x00, 0xfe, 0x7f, 0x00, 0xe0, 0xff, 0xff, 0x07, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 899 -ne `wc -c <'bishop_small.bitmap'`; then echo shar: \"'bishop_small.bitmap'\" unpacked with wrong size! fi # end of 'bishop_small.bitmap' fi if test -f 'bishop_small_outline.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'bishop_small_outline.bitmap'\" else echo shar: Extracting \"'bishop_small_outline.bitmap'\" \(923 characters\) sed "s/^X//" >'bishop_small_outline.bitmap' <<'END_OF_FILE' X#define bishop_small_outline_width 32 X#define bishop_small_outline_height 32 Xstatic char bishop_small_outline_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x1c, 0x00, 0x00, 0x50, 0x14, 0x00, X 0x00, 0x70, 0x1c, 0x00, 0x00, 0x20, 0x08, 0x00, 0x00, 0x60, 0x16, 0x00, X 0x00, 0x60, 0x22, 0x00, 0x00, 0xf0, 0x23, 0x00, 0x00, 0x10, 0x21, 0x00, X 0x00, 0x18, 0x21, 0x00, 0x00, 0x08, 0x23, 0x00, 0x00, 0x08, 0x22, 0x00, X 0x00, 0x08, 0x26, 0x00, 0x00, 0x08, 0x24, 0x00, 0x00, 0xcc, 0x2c, 0x00, X 0x00, 0xc4, 0x28, 0x00, 0x00, 0xf6, 0x3b, 0x00, 0x00, 0xf2, 0x23, 0x00, X 0x00, 0xc2, 0x20, 0x00, 0x00, 0xc2, 0x20, 0x00, 0x00, 0xc2, 0x20, 0x00, X 0x00, 0xc2, 0x60, 0x00, 0x00, 0x02, 0x40, 0x00, 0x00, 0x02, 0x40, 0x00, X 0x00, 0x02, 0x40, 0x00, 0x00, 0x02, 0x40, 0x00, 0x00, 0x02, 0x40, 0x00, X 0x00, 0x02, 0x40, 0x00, 0x00, 0x02, 0x40, 0x00, 0xe0, 0xff, 0xff, 0x07, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 923 -ne `wc -c <'bishop_small_outline.bitmap'`; then echo shar: \"'bishop_small_outline.bitmap'\" unpacked with wrong size! fi # end of 'bishop_small_outline.bitmap' fi if test -f 'king_small.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'king_small.bitmap'\" else echo shar: Extracting \"'king_small.bitmap'\" \(893 characters\) sed "s/^X//" >'king_small.bitmap' <<'END_OF_FILE' X#define king_small_width 32 X#define king_small_height 32 Xstatic char king_small_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, X 0x00, 0x00, 0xe0, 0x00, 0x00, 0x80, 0x9f, 0x00, 0x00, 0x70, 0x20, 0x00, X 0x00, 0x0c, 0x40, 0x00, 0x00, 0x02, 0x80, 0x01, 0x80, 0x01, 0x00, 0x03, X 0x40, 0x00, 0x00, 0x06, 0x40, 0x60, 0x30, 0x08, 0x20, 0x60, 0x30, 0x10, X 0x20, 0x00, 0x00, 0x60, 0x20, 0x00, 0x00, 0x40, 0x10, 0x00, 0x00, 0x80, X 0x10, 0x00, 0x02, 0x80, 0x10, 0x00, 0x01, 0x80, 0x10, 0x01, 0x01, 0x80, X 0x10, 0x03, 0x1f, 0x84, 0x10, 0x02, 0x00, 0x84, 0x10, 0x06, 0x00, 0x86, X 0x20, 0x1c, 0x00, 0x42, 0x20, 0xf0, 0xff, 0x43, 0x20, 0x00, 0x00, 0x40, X 0x40, 0x00, 0x00, 0x20, 0x40, 0x00, 0x00, 0x20, 0x80, 0x01, 0x00, 0x18, X 0x00, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 893 -ne `wc -c <'king_small.bitmap'`; then echo shar: \"'king_small.bitmap'\" unpacked with wrong size! fi # end of 'king_small.bitmap' fi if test -f 'king_small_outline.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'king_small_outline.bitmap'\" else echo shar: Extracting \"'king_small_outline.bitmap'\" \(917 characters\) sed "s/^X//" >'king_small_outline.bitmap' <<'END_OF_FILE' X#define king_small_outline_width 32 X#define king_small_outline_height 32 Xstatic char king_small_outline_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x90, 0x00, 0x06, 0x10, 0xb1, 0x00, X 0x22, 0x12, 0xe1, 0x00, 0x24, 0x92, 0x9f, 0x00, 0x40, 0x72, 0xa0, 0x50, X 0x04, 0x0e, 0x40, 0x50, 0x40, 0x02, 0x80, 0x71, 0xc8, 0x01, 0x00, 0x73, X 0xd8, 0x00, 0x00, 0x46, 0xd8, 0x60, 0x30, 0x08, 0xa0, 0x60, 0x30, 0x10, X 0x20, 0x00, 0x00, 0x60, 0x20, 0x00, 0x00, 0x40, 0x10, 0x00, 0x00, 0x80, X 0x10, 0x00, 0x02, 0x80, 0x10, 0x00, 0x01, 0x80, 0x10, 0x01, 0x01, 0x80, X 0x10, 0x03, 0x1f, 0x84, 0x10, 0x02, 0x00, 0x84, 0x10, 0x06, 0x00, 0x86, X 0x20, 0x1c, 0x00, 0x42, 0x20, 0xf0, 0xff, 0x43, 0x20, 0x00, 0x00, 0x40, X 0x40, 0x00, 0x00, 0x20, 0x40, 0x00, 0x00, 0x20, 0x80, 0x01, 0x00, 0x18, X 0x00, 0xff, 0xff, 0x0f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 917 -ne `wc -c <'king_small_outline.bitmap'`; then echo shar: \"'king_small_outline.bitmap'\" unpacked with wrong size! fi # end of 'king_small_outline.bitmap' fi if test -f 'knight_small.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'knight_small.bitmap'\" else echo shar: Extracting \"'knight_small.bitmap'\" \(899 characters\) sed "s/^X//" >'knight_small.bitmap' <<'END_OF_FILE' X#define knight_small_width 32 X#define knight_small_height 32 Xstatic char knight_small_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x80, 0x00, 0x00, 0xee, 0x7f, 0x02, X 0x00, 0xfe, 0x7f, 0x01, 0x00, 0xff, 0xff, 0x04, 0x00, 0xff, 0xff, 0x02, X 0x80, 0xff, 0xff, 0x09, 0xc0, 0xfc, 0xff, 0x07, 0xe0, 0xfc, 0xff, 0x11, X 0xe0, 0xff, 0xff, 0x0d, 0xe0, 0xff, 0xff, 0x03, 0xf0, 0xff, 0xff, 0x3f, X 0xf0, 0xff, 0xff, 0x03, 0xf0, 0xff, 0xff, 0x7f, 0xf8, 0xff, 0xff, 0x07, X 0xfc, 0xc7, 0xff, 0x7f, 0xfe, 0xc1, 0xff, 0x07, 0xfa, 0xc1, 0xff, 0x7f, X 0xce, 0xc0, 0xff, 0x07, 0x6c, 0xc0, 0xff, 0x7f, 0x28, 0xe0, 0xff, 0x07, X 0x00, 0xe0, 0xff, 0x7f, 0x00, 0xe0, 0xff, 0x0f, 0x00, 0xf0, 0xff, 0x7f, X 0x00, 0xf0, 0xff, 0x0f, 0x00, 0xf0, 0xff, 0x7f, 0x00, 0xf8, 0xff, 0x0f, X 0x00, 0xf8, 0xff, 0x7f, 0x00, 0xfc, 0xff, 0x0f, 0x00, 0xff, 0xff, 0x7f, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 899 -ne `wc -c <'knight_small.bitmap'`; then echo shar: \"'knight_small.bitmap'\" unpacked with wrong size! fi # end of 'knight_small.bitmap' fi if test -f 'knight_small_outline.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'knight_small_outline.bitmap'\" else echo shar: Extracting \"'knight_small_outline.bitmap'\" \(923 characters\) sed "s/^X//" >'knight_small_outline.bitmap' <<'END_OF_FILE' X#define knight_small_outline_width 32 X#define knight_small_outline_height 32 Xstatic char knight_small_outline_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x06, 0x80, 0x00, 0x00, 0xee, 0x7f, 0x02, X 0x00, 0x3a, 0x40, 0x01, 0x00, 0x03, 0xc0, 0x04, 0x00, 0x01, 0x80, 0x02, X 0x80, 0x01, 0x80, 0x09, 0xc0, 0x0c, 0x00, 0x07, 0x60, 0x0c, 0x00, 0x11, X 0x20, 0x00, 0x00, 0x0d, 0x20, 0x00, 0x00, 0x03, 0x30, 0x00, 0x00, 0x3e, X 0x10, 0x00, 0x00, 0x02, 0x10, 0x00, 0x00, 0x7e, 0x18, 0x7c, 0x00, 0x04, X 0x0c, 0x47, 0x00, 0x7c, 0x06, 0x41, 0x00, 0x04, 0xf2, 0x41, 0x00, 0x7c, X 0xde, 0x40, 0x00, 0x04, 0x6c, 0x40, 0x00, 0x7c, 0x28, 0x60, 0x00, 0x04, X 0x00, 0x20, 0x00, 0x7c, 0x00, 0x20, 0x00, 0x08, 0x00, 0x30, 0x00, 0x78, X 0x00, 0x10, 0x00, 0x08, 0x00, 0x10, 0x00, 0x78, 0x00, 0x18, 0x00, 0x08, X 0x00, 0x08, 0x00, 0x78, 0x00, 0x0c, 0x00, 0x08, 0x00, 0xff, 0xff, 0x7f, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 923 -ne `wc -c <'knight_small_outline.bitmap'`; then echo shar: \"'knight_small_outline.bitmap'\" unpacked with wrong size! fi # end of 'knight_small_outline.bitmap' fi if test -f 'pawn_small.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'pawn_small.bitmap'\" else echo shar: Extracting \"'pawn_small.bitmap'\" \(893 characters\) sed "s/^X//" >'pawn_small.bitmap' <<'END_OF_FILE' X#define pawn_small_width 32 X#define pawn_small_height 32 Xstatic char pawn_small_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xf0, 0x0f, 0x00, X 0x00, 0xf8, 0x1f, 0x00, 0x00, 0xf8, 0x1f, 0x00, 0x00, 0xf8, 0x1f, 0x00, X 0x00, 0xf8, 0x1f, 0x00, 0x00, 0xf8, 0x1f, 0x00, 0x00, 0xf0, 0x0f, 0x00, X 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x80, 0xff, 0xff, 0x01, X 0x80, 0xff, 0xff, 0x01, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, X 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, X 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, X 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0xe0, 0x07, 0x00, X 0x00, 0xf0, 0x0f, 0x00, 0x00, 0xf8, 0x1f, 0x00, 0x00, 0xfc, 0x3f, 0x00, X 0x00, 0xff, 0xff, 0x00, 0xe0, 0xff, 0xff, 0x07, 0xf0, 0xff, 0xff, 0x0f, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 893 -ne `wc -c <'pawn_small.bitmap'`; then echo shar: \"'pawn_small.bitmap'\" unpacked with wrong size! fi # end of 'pawn_small.bitmap' fi if test -f 'pawn_small_outline.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'pawn_small_outline.bitmap'\" else echo shar: Extracting \"'pawn_small_outline.bitmap'\" \(917 characters\) sed "s/^X//" >'pawn_small_outline.bitmap' <<'END_OF_FILE' X#define pawn_small_outline_width 32 X#define pawn_small_outline_height 32 Xstatic char pawn_small_outline_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0xe0, 0x07, 0x00, 0x00, 0x30, 0x0c, 0x00, X 0x00, 0x18, 0x18, 0x00, 0x00, 0x08, 0x10, 0x00, 0x00, 0x08, 0x10, 0x00, X 0x00, 0x08, 0x10, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x30, 0x0c, 0x00, X 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x80, 0x3f, 0xfc, 0x01, X 0x80, 0x3f, 0xfc, 0x01, 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, X 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, X 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, X 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, 0x00, 0x20, 0x04, 0x00, X 0x00, 0xf0, 0x0f, 0x00, 0x00, 0x18, 0x18, 0x00, 0x00, 0x0c, 0x30, 0x00, X 0x00, 0x07, 0xe0, 0x00, 0xe0, 0x01, 0x80, 0x07, 0xf0, 0xff, 0xff, 0x0f, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 917 -ne `wc -c <'pawn_small_outline.bitmap'`; then echo shar: \"'pawn_small_outline.bitmap'\" unpacked with wrong size! fi # end of 'pawn_small_outline.bitmap' fi if test -f 'queen_small.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'queen_small.bitmap'\" else echo shar: Extracting \"'queen_small.bitmap'\" \(896 characters\) sed "s/^X//" >'queen_small.bitmap' <<'END_OF_FILE' X#define queen_small_width 32 X#define queen_small_height 32 Xstatic char queen_small_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, X 0x00, 0x80, 0x00, 0x00, 0x80, 0x80, 0x80, 0x00, 0x80, 0x80, 0x80, 0x00, X 0x80, 0x81, 0xc0, 0x00, 0x80, 0x81, 0xc0, 0x00, 0x00, 0xc1, 0x41, 0x00, X 0x00, 0xc1, 0x41, 0x00, 0x02, 0xc3, 0x61, 0x20, 0x06, 0xc3, 0x61, 0x30, X 0x04, 0xc3, 0x61, 0x10, 0x0c, 0xc3, 0x61, 0x18, 0x08, 0xc7, 0x71, 0x08, X 0x18, 0xc6, 0x31, 0x0c, 0x38, 0xc6, 0x31, 0x0e, 0x30, 0xce, 0x39, 0x06, X 0x70, 0xce, 0x39, 0x07, 0x60, 0xee, 0x3b, 0x03, 0xe0, 0xee, 0xbb, 0x03, X 0xe0, 0xff, 0xff, 0x03, 0xc0, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x01, X 0x80, 0xff, 0xff, 0x00, 0x80, 0xff, 0xff, 0x00, 0x00, 0xff, 0x7f, 0x00, X 0x80, 0xff, 0xff, 0x00, 0xf0, 0xff, 0xff, 0x07, 0xf0, 0xff, 0xff, 0x07, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 896 -ne `wc -c <'queen_small.bitmap'`; then echo shar: \"'queen_small.bitmap'\" unpacked with wrong size! fi # end of 'queen_small.bitmap' fi if test -f 'queen_small_outline.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'queen_small_outline.bitmap'\" else echo shar: Extracting \"'queen_small_outline.bitmap'\" \(920 characters\) sed "s/^X//" >'queen_small_outline.bitmap' <<'END_OF_FILE' X#define queen_small_outline_width 32 X#define queen_small_outline_height 32 Xstatic char queen_small_outline_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x80, 0x00, 0x00, X 0x00, 0x80, 0x00, 0x00, 0x80, 0x80, 0x80, 0x00, 0x80, 0x80, 0x80, 0x00, X 0x80, 0x81, 0xc0, 0x00, 0x80, 0x81, 0xc0, 0x00, 0x00, 0xc1, 0x41, 0x00, X 0x00, 0x41, 0x41, 0x00, 0x02, 0x43, 0x61, 0x20, 0x06, 0x43, 0x61, 0x30, X 0x04, 0x43, 0x61, 0x10, 0x0c, 0x43, 0x61, 0x18, 0x08, 0x47, 0x71, 0x08, X 0x18, 0x46, 0x31, 0x0c, 0x38, 0x46, 0x31, 0x0e, 0x30, 0x4e, 0x39, 0x06, X 0x70, 0x4e, 0x29, 0x07, 0x60, 0x6a, 0x2b, 0x03, 0xe0, 0x2a, 0xab, 0x03, X 0xe0, 0x3b, 0xee, 0x03, 0x40, 0x00, 0x00, 0x01, 0xc0, 0x00, 0x80, 0x01, X 0x80, 0xfc, 0x9f, 0x00, 0x80, 0x01, 0xc0, 0x00, 0x00, 0x01, 0x40, 0x00, X 0x80, 0xfd, 0xdf, 0x00, 0xf0, 0x00, 0x80, 0x07, 0xf0, 0xff, 0xff, 0x07, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 920 -ne `wc -c <'queen_small_outline.bitmap'`; then echo shar: \"'queen_small_outline.bitmap'\" unpacked with wrong size! fi # end of 'queen_small_outline.bitmap' fi if test -f 'rook_small.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'rook_small.bitmap'\" else echo shar: Extracting \"'rook_small.bitmap'\" \(893 characters\) sed "s/^X//" >'rook_small.bitmap' <<'END_OF_FILE' X#define rook_small_width 32 X#define rook_small_height 32 Xstatic char rook_small_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, X 0xc0, 0x73, 0xce, 0x03, 0xc0, 0x73, 0xce, 0x03, 0xc0, 0x73, 0xce, 0x03, X 0xc0, 0x73, 0xce, 0x03, 0xc0, 0xff, 0xff, 0x03, 0x00, 0xff, 0xff, 0x00, X 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, X 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, X 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, X 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, X 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, X 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, X 0xe0, 0xff, 0xff, 0x07, 0xe0, 0xff, 0xff, 0x07, 0xe0, 0xff, 0xff, 0x07, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 893 -ne `wc -c <'rook_small.bitmap'`; then echo shar: \"'rook_small.bitmap'\" unpacked with wrong size! fi # end of 'rook_small.bitmap' fi if test -f 'rook_small_outline.bitmap' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'rook_small_outline.bitmap'\" else echo shar: Extracting \"'rook_small_outline.bitmap'\" \(917 characters\) sed "s/^X//" >'rook_small_outline.bitmap' <<'END_OF_FILE' X#define rook_small_outline_width 32 X#define rook_small_outline_height 32 Xstatic char rook_small_outline_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, X 0xc0, 0x73, 0xce, 0x03, 0x40, 0x52, 0x4a, 0x02, 0x40, 0x52, 0x4a, 0x02, X 0x40, 0x52, 0x4a, 0x02, 0xc0, 0xff, 0xff, 0x03, 0x00, 0x01, 0x80, 0x00, X 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, X 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, X 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, X 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, X 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, X 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, 0x00, 0x01, 0x80, 0x00, X 0xe0, 0xff, 0xff, 0x07, 0x20, 0x00, 0x00, 0x04, 0xe0, 0xff, 0xff, 0x07, X 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; END_OF_FILE if test 917 -ne `wc -c <'rook_small_outline.bitmap'`; then echo shar: \"'rook_small_outline.bitmap'\" unpacked with wrong size! fi # end of 'rook_small_outline.bitmap' fi if test -f 'xchess.cur' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'xchess.cur'\" else echo shar: Extracting \"'xchess.cur'\" \(327 characters\) sed "s/^X//" >'xchess.cur' <<'END_OF_FILE' X#define xchess_width 16 X#define xchess_height 16 X#define xchess_x_hot 9 X#define xchess_y_hot 8 Xstatic char xchess_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xf8, 0x00, 0xfe, 0x80, 0xff, X 0xc0, 0xff, 0x60, 0xff, 0xb0, 0xfd, 0xd8, 0x66, 0x6c, 0x3b, 0x76, 0x1d, X 0x98, 0x1d, 0xcc, 0x0c, 0x60, 0x00, 0x00, 0x00}; END_OF_FILE if test 327 -ne `wc -c <'xchess.cur'`; then echo shar: \"'xchess.cur'\" unpacked with wrong size! fi # end of 'xchess.cur' fi if test -f 'xchess_mask.cur' -a "${1}" != "-c" ; then echo shar: Will not clobber existing file \"'xchess_mask.cur'\" else echo shar: Extracting \"'xchess_mask.cur'\" \(296 characters\) sed "s/^X//" >'xchess_mask.cur' <<'END_OF_FILE' X#define xchess_mask_width 16 X#define xchess_mask_height 16 Xstatic char xchess_mask_bits[] = { X 0x00, 0x00, 0x00, 0x00, 0x00, 0x70, 0x00, 0xf8, 0x00, 0xfe, 0x80, 0xff, X 0xc0, 0xff, 0x60, 0xff, 0xb0, 0xfd, 0xd8, 0x66, 0x6c, 0x3b, 0x76, 0x1d, X 0x98, 0x1d, 0xcc, 0x0c, 0x60, 0x00, 0x00, 0x00}; END_OF_FILE if test 296 -ne `wc -c <'xchess_mask.cur'`; then echo shar: \"'xchess_mask.cur'\" unpacked with wrong size! fi # end of 'xchess_mask.cur' fi echo shar: End of archive 6 \(of 6\). cp /dev/null ark6isdone MISSING="" for I in 1 2 3 4 5 6 ; do if test ! -f ark${I}isdone ; then MISSING="${MISSING} ${I}" fi done if test "${MISSING}" = "" ; then echo You have unpacked all 6 archives. rm -f ark[1-9]isdone else echo You still need to unpack the following archives: echo " " ${MISSING} fi ## End of shell archive. exit 0 -- Mike Wexler(wyse!mikew) Phone: (408)433-1000 x1330 Moderator of comp.sources.x