From: Jordi Albornoz Date: Fri, 28 Jun 2002 23:09:30 +0000 (+0000) Subject: added the manpage which I've been distributing with the Debian package for over a... X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=3d3a67b9d2863cde1d7cb4c76d047cff6e7f5cf9;p=gtetrinet added the manpage which I've been distributing with the Debian package for over a year. install gtetrinet in /usr/games by default. added NEWS items for all gtetrinet releases, based on info from the ChangeLog. Fixed a few things in README. --- diff --git a/ChangeLog b/ChangeLog index 79ac7c0..121dc3b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2002-06-29 Jordi Mallach + + * NEWS: extracted GTetrinet's history from the ChangeLog. + * README: fixed a few things. + + * doc/gtetrinet.6: added the manpage which I've been distributing + with the Debian package for over a year. + + * src/Makefile.am: install gtetrinet in /usr/games by default. + 2002-06-28 Bastien Nocera * src/partyline.c: (partyline_page_new): diff --git a/Makefile.am b/Makefile.am index a668efb..11131cf 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,4 +1,4 @@ -SUBDIRS= m4 po src themes +SUBDIRS= doc m4 po src themes icon_DATA = gtetrinet.png icondir = $(datadir)/pixmaps diff --git a/NEWS b/NEWS index e69de29..13c6764 100644 --- a/NEWS +++ b/NEWS @@ -0,0 +1,48 @@ +GTetrinet 0.4.2 - Unreleased +- Pages can now be detached. +- TetriFast support. +- Game messages are not longer cleared when games end. +- Fix potential segfaults in ARM, PowerPC and S/390. +- Internationalization support, please submit translations! +- Catalan translation. +- Manpage added. +- GTetrinet now installs in $(prefix)/games, not $(prefix)/bin. +- Focus fixes in partyline. + +GTetrinet 0.4.1 - 2000-07-03 +- Solaris support. +- Gnome 1.2 fixes. +- Icons now show better on dark backgrounds. +- Partyline now works ok with 8bit characters. +- Pause/resume messages support in partyline. +- Misc fixes. + +GTetrinet 0.4 - 1999-12-21 +- EsounD isn't required to build anymore. +- Opponent's fields are now correctly displayed when you connect and + there's a game in progress. +- Added ability to enable/disable sound. +- Spectator mode support. +- Support for kick and playerwon messages, changes to join, leave + and team messages. +- Added history to partyline. +- Added Tetrix server detection. +- Misc bugfixes. + +GTetrinet 0.3 - 1999-07-07 +- Added sound support. +- More Tetrinet compliance. +- Added F1, F2, F3 shortcuts to cycle between pages. +- Player fields are now cleared correctly uppon players leaving. +- Themes support improvements. +- Added icon and GNOME desktop file. + +GTetrinet 0.2 - 1999-04-01 +- Fixes for added lines, switch field and block bomb to follow + the original Tetrinet behaviour. +- Added a short description for the current special block. +- New preferences dialog. +- Misc fixes. + +GTetrinet 0.1 - 1999-03-22 +- Initial release diff --git a/README b/README index a0ef58c..8fd206f 100644 --- a/README +++ b/README @@ -1,13 +1,14 @@ -GTetrinet v0.4.1 --------------- +GTetrinet +--------- GTetrinet is a clone of the popular Tetrinet game for Win95/NT. It is designed to be fully compatible with, and to be identical in gameplay to the original Tetrinet. -For information on how to play the game, refer to the tetrinet.txt file that -is included with the original Tetrinet distribution. A copy of this file can -be found on the GTetrinet homepage. +For information on how to play the game, see the manpage included with this +package, or refer to the tetrinet.txt file that is included with the original +Tetrinet distribution. A copy of this file can be found on the GTetrinet +homepage. If you're looking for a popular public server to play on, take a look at tetrinet.org. diff --git a/configure.in b/configure.in index 2d88272..b872ff5 100644 --- a/configure.in +++ b/configure.in @@ -33,6 +33,7 @@ AM_GNU_GETTEXT([external]) AC_OUTPUT([ Makefile +doc/Makefile m4/Makefile po/Makefile.in src/Makefile diff --git a/doc/.cvsignore b/doc/.cvsignore new file mode 100644 index 0000000..3dda729 --- /dev/null +++ b/doc/.cvsignore @@ -0,0 +1,2 @@ +Makefile.in +Makefile diff --git a/doc/Makefile.am b/doc/Makefile.am new file mode 100644 index 0000000..76d7df2 --- /dev/null +++ b/doc/Makefile.am @@ -0,0 +1,2 @@ +man_MANS = gtetrinet.6 +EXTRA_DIST = $(man_MANS) diff --git a/doc/gtetrinet.6 b/doc/gtetrinet.6 new file mode 100644 index 0000000..5801f0c --- /dev/null +++ b/doc/gtetrinet.6 @@ -0,0 +1,129 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" gtetrinet.6 is copyright 2001, 2002 by +.\" Jordi Mallach +.\" +.\" This is free documentation, see the latest version of the GNU Free +.\" Documentation License for copying conditions. There is NO warranty. +.\" +.TH GTETRINET 6 "June 29, 2002" "gtetrinet" +.\" Please adjust this date whenever revising the manpage. +.\" + +.SH NAME +GTetrinet \- a Tetrinet client for X using Gtk+ and GNOME-libs. + +.SH SYNOPSIS +.B gtetrinet +.RI [ options ] + +.SH DESCRIPTION +This manual page documents briefly the +.B gtetrinet +command. +.PP +\fBGTetrinet\fP is a Tetrinet client using Gtk+ and GNOME-libs. +Tetrinet is a variant of the popular Tetris brick game, that can be played +simultaneously by 6 players. GTetrinet's goal is to remain completely +compatible with the Windows, original client. Tetrinet clients need to +connect to a dedicated server in order to be useful. GTetrient only provides +the client part, but there are plenty of available servers around. +Look at http://www.tetrinet.org/ for a list of servers. +.PP +There is also an implementation +of the server for UNIX, called tetrinet-x, but it is (at least according to +my latest news) abandonware, and has licensing issues (or lack of license +thereof). +.SH OPTIONS +GTetrinet accepts the following options, besides the usual Gtk+/GNOME +switches: +.TP +.B \-c, \-\-connect=SERVER +Connect to the specified server. +.TP +.B \-h, \-\-help +Display a summary of commandline options. +.TP +.B \-n, \-\-nickname=NICKNAME +Use the specified nickname on the servers. +.TP +.B \-t, \-\-team=TEAM +Join the specified team name for teamplay. +.TP +.B \-s, \-\-spectate +Connect to the server as an spectator. +.TP +.B \-p, \-\-password=PASSWORD +Use the given password to connect as a spectator (if needed). + +.SH USAGE +To play Tetrinet, you first need to find a server where you can connect. +You may try the servers at +.I http://www.tetrinet.org/ +or create your own using \fBtetrinet-x\fP (a UNIX server, not included in +this package). +.br +Once inside a server, you'll be able to communicate with other players +using the \fBPartyLine\fP tab, see the server's highscores in the +\fBWinlist\fP tab and the actual game in the \fBPlaying Fields\fP tab. +You can switch between the three tabs using the F1, F2 and F3 shortcuts. +.br +Tetrinet is like Tetris, but multiplayer and with some additions. The goal of +the game is to remain alive, by filling up other player's fields. There are +some special blocks that can be used for your own benefit and against other +players. They will appear randomly in your field, replacing previously +existing blocks when you complete a line. You'll gain special blocks when +you complete a line that contains one. It will be added to your +\fBinventory\fP, which is just below your playfield. You need to use them in +the order you collect them, by pressing the number of the player you want to +use it against. For example, if your active block is "Add Line" and you want +to use it against Player 3, you'd have to press "3" and Player 3 would +get a line added in that instant. +The following blocks are available: +.RS +.TP +.I A block +Add Line will an incomplete line to the bottom of the playing field to the +player you choose. +.TP +.I B block +This will remove all the special blocks from a player's field. +.TP +.I C block +Clear Line is the opposite to Add Line; it will remove a line from the +top of the selected player's field. +.TP +.I G block +The Gravity block may be very useful if applied to a field which has lots of +unfilled spaces all around. Blocks over them will fall into the gaps, +making the puzzle collapse significantly. +.TP +.I N block +Nuke will clear the chosen playing field completely, as if they had just +started the game. It's useful to help team mates or when you are about to +lose. +.TP +.I O block +Block Bomb will clear 3x3 portions of a player's field where there are other +O blocks. The blocks in the 3x3 area will get scattered anywhere around the +field. +.TP +.I Q block +Quake will make each of the lines in a player's field shift to the left or +right, or stay as they were. +.TP +.I R block +Random will remove 10 random blocks from the selected player's field. +.TP +.I S block +Switch allows you to swap your playing field with another player. This can +be a deadly block if used with a bit of strategy. +.RE + +.SH HOMEPAGE +http://gtetrinet.sourceforge.net/ + +.SH AUTHOR +This manual page was written by Jordi Mallach , +for the Debian system (but may be used by others). +Ka-shu Wong is GTetrinet's main developer. +You can find more information about GTetrinet in /usr/share/doc/gtetrinet. diff --git a/src/Makefile.am b/src/Makefile.am index 25e5a92..212aa9a 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -5,6 +5,7 @@ INCLUDES = -DLOCALEDIR=\"$(localedir)\" $(GTK_CFLAGS) $(GNOME_INCLUDEDIR) LDADD = $(GNOME_LIBDIR) $(GNOMEUI_LIBS) $(GTK_LIBS) CPPFLAGS = -DGTETRINET_DATA=\"$(pkgdatadir)\" -bin_PROGRAMS = gtetrinet +gamesdir = $(prefix)/games +games_PROGRAMS = gtetrinet gtetrinet_SOURCES = client.c client.h commands.c commands.h config.c config.h dialogs.c dialogs.h fields.c fields.h gtetrinet.c gtetrinet.h keys.c keys.h keytable.h misc.c misc.h partyline.c partyline.h sound.c sound.h tetrinet.c tetrinet.h tetris.c tetris.h winlist.c winlist.h