home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Usenet 1994 October
/
usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso
/
games
/
volume15
/
gtetris3
/
patch4
/
patches04
Wrap
Text File
|
1993-03-02
|
5KB
|
143 lines
Another patch for "Generic Tetris":
An HP time structure fix
New set of bitmaps
diff -r -c tetris.2.1.orig/README tetris.2.1/README
*** README.orig Thu Jan 21 12:17:33 1993
--- README Sat Feb 27 23:30:25 1993
***************
*** 1,33 ****
GENERIC TETRIS
! ============== Yet Another Tetris Game on X, V2.1.3
WHY ANOTHER?
Because this one is simple, easy to build, and portable -- actually
! the blocks are bigger, more comfortable for your eyes. It only uses
! Xlib -- no "toolkit" kind of thing. People have tested it on the
! following platforms:
Bull DPX/2 System V ?
DEC 5000 Ultrix 4.2A X11R4
DEC Alpha AXP DEC OSF/1 V1.2 ?
! HP 700 HP-UX 8.07 X11R5
Iris 4D IRIX 4.0.1 Motif
Sun4, SPARC SunOS 4.1.x X11R4, X11R5
Sun SPARC Solaris 2.1
add to link: -L/usr/ucblib -lucb -lelf -R/usr/ucblib
Sequent S81 DYNIX 3.2.0 X11R5
If your's is not in this list, please let me know -- thanks. The
most updated source could be found on export.lcs.mit.edu under
/contrib.
! A System V port (Sequent Dynix/ptx) for earlier versions has been
! added by "Hans-Wolfgang Loidl" (hwloidl@risc.uni-linz.ac.at). The
! source can be retrieved by anonymous FTP to:
Host: melmac.risc.uni-linz.ac.at
! File: /pub/misc/gtetris.tar.Z
HOW TO BUILD?
--- 1,40 ----
GENERIC TETRIS
! ============== Yet Another Tetris Game on X, V2.1.4
WHY ANOTHER?
Because this one is simple, easy to build, and portable -- actually
! the blocks are round-cornered and bigger, more comfortable for your
! eyes. It only uses Xlib -- no "toolkit" kind of thing. People have
! tested it on the following platforms:
Bull DPX/2 System V ?
+ DEC 3100 Ultrix 4.3 X11R3
DEC 5000 Ultrix 4.2A X11R4
DEC Alpha AXP DEC OSF/1 V1.2 ?
! HP 700 HP-UX 8.0x X11R5
! Mt. Xinu 4.3 X11R5
! IBM RS6000 AIX V3.2 X11R3
! Intel 486DX Esix 4.0.4 ?
! Linux ?
Iris 4D IRIX 4.0.1 Motif
Sun4, SPARC SunOS 4.1.x X11R4, X11R5
Sun SPARC Solaris 2.1
add to link: -L/usr/ucblib -lucb -lelf -R/usr/ucblib
Sequent S81 DYNIX 3.2.0 X11R5
+ Dynix/ptx ?
If your's is not in this list, please let me know -- thanks. The
most updated source could be found on export.lcs.mit.edu under
/contrib.
! A System V port (Sequent Dynix/ptx) has been added by
! "Hans-Wolfgang Loidl" <hwloidl@risc.uni-linz.ac.at>. The source can
! be retrieved by anonymous FTP to:
!
Host: melmac.risc.uni-linz.ac.at
! File: /pub/linux/upload/misc/gtetris3.taz
HOW TO BUILD?
***************
*** 85,90 ****
--- 92,102 ----
HISTORY -- Oh no, not again: I failed my history course!
Well ... ACKNOWLEDGEMENTS
+
+ [Feb 27, 93] V2.1.4: HP time structure problem resulting "hanging
+ blocks". By Marcus Leech <mleech@bnr.ca>. New set of
+ bitmaps contributed by Atsuhiko Yamanaka
+ <yamanaka@ecip.tohoku.ac.jp>.
[Jan 21, 93] V2.1.3: Two bugs in finding user environment:
"endpwent()" by Jari Tavi <jpt@rixrax.enet.dec.com>;
Common subdirectories: tetris.2.1.orig/X11 and tetris.2.1/X11
Common subdirectories: tetris.2.1.orig/bitmaps and tetris.2.1/bitmaps
diff -r -c tetris.2.1.orig/playing.c tetris.2.1/playing.c
*** playing.c.orig Tue Jan 19 11:44:22 1993
--- playing.c Sat Feb 20 11:52:57 1993
***************
*** 60,67 ****
delay.tv_sec = nextFall.tv_sec - now.tv_sec;
delay.tv_usec = nextFall.tv_usec - now.tv_usec;
realTime(&delay);
! if ((delay.tv_sec > 0) ||
! ((delay.tv_sec == 0) && (delay.tv_usec > 0))) {
/* sleep */
(void) select(conNum + 1, (fd_set *) & readfd,
(fd_set *) & writefd, (fd_set *) & exceptfd, &delay);
--- 60,68 ----
delay.tv_sec = nextFall.tv_sec - now.tv_sec;
delay.tv_usec = nextFall.tv_usec - now.tv_usec;
realTime(&delay);
! if (((long) delay.tv_sec > 0) ||
! (((long) delay.tv_sec == 0) &&
! ((long) delay.tv_usec > 0))) {
/* sleep */
(void) select(conNum + 1, (fd_set *) & readfd,
(fd_set *) & writefd, (fd_set *) & exceptfd, &delay);
diff -r -c tetris.2.1.orig/tetris.c tetris.2.1/tetris.c
*** tetris.2.1.orig/tetris.c Thu Jan 21 12:17:46 1993
--- tetris.2.1/tetris.c Sat Feb 20 11:55:19 1993
***************
*** 105,111 ****
char *argv[];
{
(void) fprintf(stderr,
! " GENERIC TETRIS V2.1.3\n");
(void) fprintf(stderr,
"Copyright (C) 1992-93 Q. Alex Zhao, azhao@cs.arizona.edu\n");
(void) fprintf(stderr,
--- 105,111 ----
char *argv[];
{
(void) fprintf(stderr,
! " GENERIC TETRIS V2.1.4\n");
(void) fprintf(stderr,
"Copyright (C) 1992-93 Q. Alex Zhao, azhao@cs.arizona.edu\n");
(void) fprintf(stderr,