diff options
author | rillig <rillig@pkgsrc.org> | 2006-09-14 13:55:10 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-09-14 13:55:10 +0000 |
commit | 97f4115889afdfc9ba0ec58d3328798b3741a305 (patch) | |
tree | 92cc6de2624aa353fa9d8b7e2c45097a9df7cdf7 /games/bastet/patches | |
parent | 1668cc8a5af7e965f31d3cbe5e347be8c1352691 (diff) | |
download | pkgsrc-97f4115889afdfc9ba0ec58d3328798b3741a305.tar.gz |
Imported bastet.
"For people who enjoy swearing at their computer, Bastet (short for
Bastard Tetris) is an attractive alternative to Microsoft Word."
(taken from http://hublog.hubmed.org/)
Have you ever thought Tetris(R) was evil because it wouldn't send you
that straight "I" brick you needed in order to clear four rows at the
same time? Well Tetris(R) probably isn't evil, but Bastet certainly is.
>:-)
Bastet stands for "bastard tetris", and is a simple ncurses-based
Tetris(R) clone. Unlike normal Tetris(R), however, Bastet does not
choose your next brick at random. Instead, Bastet uses a special
algorithm designed to choose the worst brick possible. As you can
imagine, playing Bastet can be a very frustrating experience!
Diffstat (limited to 'games/bastet/patches')
-rw-r--r-- | games/bastet/patches/patch-aa | 16 | ||||
-rw-r--r-- | games/bastet/patches/patch-ab | 13 |
2 files changed, 29 insertions, 0 deletions
diff --git a/games/bastet/patches/patch-aa b/games/bastet/patches/patch-aa new file mode 100644 index 00000000000..29c70b2ed03 --- /dev/null +++ b/games/bastet/patches/patch-aa @@ -0,0 +1,16 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/09/14 13:55:10 rillig Exp $ + +--- bast.c.orig 2004-10-15 23:58:52.000000000 +0200 ++++ bast.c 2006-09-14 15:46:12.000000000 +0200 +@@ -1,7 +1,11 @@ + #include <stdlib.h> + #include <stdio.h> + #include <ncurses.h> ++#if defined(__linux) + #include <termio.h> ++#else ++#include <termios.h> ++#endif + #include <assert.h> + #include <unistd.h> + #include <string.h> diff --git a/games/bastet/patches/patch-ab b/games/bastet/patches/patch-ab new file mode 100644 index 00000000000..c79d04fa2ad --- /dev/null +++ b/games/bastet/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1.1.1 2006/09/14 13:55:10 rillig Exp $ + +--- game.c.orig 2004-10-15 23:58:52.000000000 +0200 ++++ game.c 2006-09-14 15:46:25.000000000 +0200 +@@ -66,7 +66,7 @@ unsigned char *well_data; + + /* Delay before block drop one step down (usec). + We start at one sec. and then decreases the delay by 23% at each level. */ +-const int delay[NO_LEVELS] = {1000000, 770000, 593000, 457000, 352000, 271000, 208000, 160000, 124000, 95000}; ++const int delay[NO_LEVELS] = {999999, 770000, 593000, 457000, 352000, 271000, 208000, 160000, 124000, 95000}; + + /* Window in which the action takes place. */ + WINDOW *well_win; |