home *** CD-ROM | disk | FTP | other *** search
- Path: uunet!news.tek.com!master!saab!billr
- From: billr@saab.CNA.TEK.COM (Bill Randle)
- Newsgroups: comp.sources.games
- Subject: v15i047: gtetris3 - Generic Tetris for X11, V2.0.1, Patch2
- Message-ID: <4222@master.CNA.TEK.COM>
- Date: 18 Jan 93 19:18:52 GMT
- Sender: news@master.CNA.TEK.COM
- Lines: 147
- Approved: billr@saab.CNA.TEK.COM
- Xref: uunet comp.sources.games:1546
-
- Submitted-by: "Qiang Alex Zhao" <azhao@cs.arizona.edu>
- Posting-number: Volume 15, Issue 47
- Archive-name: gtetris3/Patch2
- Patch-To: gtetris3: Volume 15, Issue 44-45
- Environment: X11R4/5, Xlib
-
- [This fixes another resource lookup bug and a minor Imakefile bug.]
-
- #! /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 shell archive."
- # Contents: patches02
- # Wrapped by billr@saab on Mon Jan 18 11:17:27 1993
- PATH=/bin:/usr/bin:/usr/ucb ; export PATH
- if test -f 'patches02' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'patches02'\"
- else
- echo shar: Extracting \"'patches02'\" \(3852 characters\)
- sed "s/^X//" >'patches02' <<'END_OF_FILE'
- Xdiff -c tetris.2.1.orig/Imakefile tetris.2.1/Imakefile
- X*** tetris.2.1.orig/Imakefile Fri Jan 15 16:02:53 1993
- X--- tetris.2.1/Imakefile Mon Jan 18 12:02:06 1993
- X***************
- X*** 32,39
- X
- X /**/##############################################################
- X
- X! DEFINES = -DSCOREFILE=\"$(SCOREFILE)\" $(RANDOM)
- X! INCLUDES = -I.
- X LOCAL_LIBRARIES = $(XLIB)
- X SYS_LIBRARIES = -lm
- X SRCS = tetris.c playing.c utils.c
- X
- X--- 32,38 -----
- X
- X /**/##############################################################
- X
- X! DEFINES = -I. -DSCOREFILE=\"$(SCOREFILE)\" $(RANDOM)
- X LOCAL_LIBRARIES = $(XLIB)
- X SYS_LIBRARIES = -lm
- X SRCS = tetris.c playing.c utils.c
- Xdiff -c tetris.2.1.orig/README tetris.2.1/README
- X*** tetris.2.1.orig/README Fri Jan 15 16:02:54 1993
- X--- tetris.2.1/README Mon Jan 18 12:02:06 1993
- X***************
- X*** 1,5
- X GENERIC TETRIS
- X! ============== Yet Another Tetris Game on X, V2.1.0
- X
- X
- X WHY ANOTHER?
- X
- X--- 1,5 -----
- X GENERIC TETRIS
- X! ============== Yet Another Tetris Game on X, V2.1.1
- X
- X
- X WHY ANOTHER?
- X***************
- X*** 81,86
- X
- X Since the days of V1.8, I have got many responses over the net.
- X Thanks go to people who helped me in improving the program.
- X
- X [Jan 15, 93] V2.1.0: Fixed a resource look-up bug found by Kiyotaka
- X Sakai <ksakai@mtl.t.u-tokyo.ac.jp>. Added "-u" option.
- X
- X--- 81,90 -----
- X
- X Since the days of V1.8, I have got many responses over the net.
- X Thanks go to people who helped me in improving the program.
- X+
- X+ [Jan 18, 93] V2.1.1: Fixed a resource look-up bug found by Peter
- X+ Kabal <kabal@inrs-telecom.uquebec.ca>, and Imakefile
- X+ problem found by Tong Zhou <tzhou@cse.ogi.edu>.
- X
- X [Jan 15, 93] V2.1.0: Fixed a resource look-up bug found by Kiyotaka
- X Sakai <ksakai@mtl.t.u-tokyo.ac.jp>. Added "-u" option.
- XCommon subdirectories: tetris.2.1.orig/X11 and tetris.2.1/X11
- XCommon subdirectories: tetris.2.1.orig/bitmaps and tetris.2.1/bitmaps
- Xdiff -c tetris.2.1.orig/tetris.c tetris.2.1/tetris.c
- X*** tetris.2.1.orig/tetris.c Fri Jan 15 16:02:54 1993
- X--- tetris.2.1/tetris.c Mon Jan 18 12:02:06 1993
- X***************
- X*** 74,80
- X
- X static int opTableEntries = 16;
- X static XrmOptionDescRec opTable[] = {
- X! {"-s", ".scoresOnly", XrmoptionIsArg, (caddr_t) NULL},
- X {"-l", "*startLevel", XrmoptionSepArg, (caddr_t) NULL},
- X {"-p", "*preFilledLines", XrmoptionSepArg, (caddr_t) NULL},
- X {"-showNext", "*showNext", XrmoptionNoArg, (caddr_t) "on"},
- X
- X--- 74,80 -----
- X
- X static int opTableEntries = 16;
- X static XrmOptionDescRec opTable[] = {
- X! {"-s", "*scoresOnly", XrmoptionNoArg, (caddr_t) "yes"},
- X {"-l", "*startLevel", XrmoptionSepArg, (caddr_t) NULL},
- X {"-p", "*preFilledLines", XrmoptionSepArg, (caddr_t) NULL},
- X {"-showNext", "*showNext", XrmoptionNoArg, (caddr_t) "on"},
- X***************
- X*** 105,111
- X char *argv[];
- X {
- X (void) fprintf(stderr,
- X! " GENERIC TETRIS V2.1.0\n");
- X (void) fprintf(stderr,
- X "Copyright (C) 1992-93 Q. Alex Zhao, azhao@cs.arizona.edu\n");
- X (void) fprintf(stderr,
- X
- X--- 105,111 -----
- X char *argv[];
- X {
- X (void) fprintf(stderr,
- X! " GENERIC TETRIS V2.1.1\n");
- X (void) fprintf(stderr,
- X "Copyright (C) 1992-93 Q. Alex Zhao, azhao@cs.arizona.edu\n");
- X (void) fprintf(stderr,
- Xdiff -c tetris.2.1.orig/tetris.man tetris.2.1/tetris.man
- X*** tetris.2.1.orig/tetris.man Fri Jan 15 16:02:54 1993
- X--- tetris.2.1/tetris.man Mon Jan 18 12:02:07 1993
- X***************
- X*** 1,4
- X! .TH TETRIS 6 "15 Jan 1993, V2.1.0" "Univ of Arizona"
- X .SH NAME
- X GENERIC TETRIS \- Yet Another Tetris Game on X
- X .SH SYNOPSIS
- X
- X--- 1,4 -----
- X! .TH TETRIS 6 "18 Jan 1993, V2.1.1" "Univ of Arizona"
- X .SH NAME
- X GENERIC TETRIS \- Yet Another Tetris Game on X
- X .SH SYNOPSIS
- X
- END_OF_FILE
- if test 3852 -ne `wc -c <'patches02'`; then
- echo shar: \"'patches02'\" unpacked with wrong size!
- fi
- # end of 'patches02'
- fi
- echo shar: End of shell archive.
- exit 0
-