From 73e1eaf26d7c83c54111043a4f3c5d44cd267f6d Mon Sep 17 00:00:00 2001 Message-Id: <73e1eaf26d7c83c54111043a4f3c5d44cd267f6d.1714676453.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sat, 11 Sep 2004 18:14:04 +0000 Subject: [PATCH] Expunge old CVS cruft. Organization: Straylight/Edgeware From: mdw --- .cvsignore | 3 --- Makefile.am | 9 +-------- acconfig.h | 10 +--------- cell.c | 10 +--------- config.h | 10 +--------- configure.in | 9 +-------- game.c | 12 ++---------- level.c | 10 +--------- ui-curses.c | 10 +--------- undo.c | 11 ++--------- xor.c | 10 +--------- xor.h | 10 +--------- 12 files changed, 13 insertions(+), 101 deletions(-) delete mode 100644 .cvsignore diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 06bba5e..0000000 --- a/.cvsignore +++ /dev/null @@ -1,3 +0,0 @@ -.deps config.* stamp-h* xor -configure aclocal.m4 -Makefile Makefile.in diff --git a/Makefile.am b/Makefile.am index 1e0b37b..c185758 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,6 +1,6 @@ ## -*-makefile-*- ## -## $Id: Makefile.am,v 1.1 2003/12/12 10:55:30 mdw Exp $ +## $Id$ ## ## Makefile ## @@ -25,13 +25,6 @@ ## along with XOR; if not, write to the Free Software Foundation, ## Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -##----- Revision history ---------------------------------------------------- -## -## $Log: Makefile.am,v $ -## Revision 1.1 2003/12/12 10:55:30 mdw -## Initial checkin. Not there yet. -## - AUTOMAKE_OPTIONS = foreign bin_PROGRAMS = xor diff --git a/acconfig.h b/acconfig.h index 6c94900..90b82c3 100644 --- a/acconfig.h +++ b/acconfig.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: acconfig.h,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Configuration header for XOR * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: acconfig.h,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - #ifndef ACCONFIG_H #define ACCONFIG_H diff --git a/cell.c b/cell.c index a9e87b7..e60232a 100644 --- a/cell.c +++ b/cell.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: cell.c,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Cell attributes and behaviour * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: cell.c,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "xor.h" diff --git a/config.h b/config.h index ba1e579..28568e7 100644 --- a/config.h +++ b/config.h @@ -2,7 +2,7 @@ /* config.h.in. Generated automatically from configure.in by autoheader 2.13. */ /* -*-c-*- * - * $Id: config.h,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Configuration header for XOR * @@ -28,14 +28,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: config.h,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - #ifndef ACCONFIG_H #define ACCONFIG_H diff --git a/configure.in b/configure.in index 51a0d16..5fd220a 100644 --- a/configure.in +++ b/configure.in @@ -1,6 +1,6 @@ dnl -*-fundamental-*- dnl -dnl $Id: configure.in,v 1.1 2003/12/12 10:55:30 mdw Exp $ +dnl $Id$ dnl dnl Configuration script dnl @@ -25,13 +25,6 @@ dnl You should have received a copy of the GNU General Public License dnl along with XOR; if not, write to the Free Software Foundation, dnl Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -dnl ----- Revision history -------------------------------------------------- -dnl -dnl $Log: configure.in,v $ -dnl Revision 1.1 2003/12/12 10:55:30 mdw -dnl Initial checkin. Not there yet. -dnl - AC_INIT(xor.c) AM_INIT_AUTOMAKE(xor, 1.0.0) AM_CONFIG_HEADER(config.h) diff --git a/game.c b/game.c index 937969e..e0cbe6b 100644 --- a/game.c +++ b/game.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: game.c,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Main game logic * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: game.c,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "xor.h" @@ -123,7 +115,6 @@ void game_switchto(game_state *g, game_player *p) g->ptail = p->prev; p->prev = 0; g->p = p; - g->l->v++; CELLSET(g->l, g->p->x, g->p->y, C_PLAYER); ui_switch(g->p->u); } @@ -138,6 +129,7 @@ int game_switch(game_state *g) ; if (!p) return (0); if (g->l->v >= g->l->vtot) return (1); + g->l->v++; undo_switch(g); game_switchto(g, p); return (1); diff --git a/level.c b/level.c index f2e7922..e41bb9f 100644 --- a/level.c +++ b/level.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: level.c,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Level I/O and handling * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: level.c,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "xor.h" diff --git a/ui-curses.c b/ui-curses.c index 02e09b3..3951093 100644 --- a/ui-curses.c +++ b/ui-curses.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: ui-curses.c,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Curses user interface * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: ui-curses.c,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "xor.h" diff --git a/undo.c b/undo.c index 3186523..ecbd5dd 100644 --- a/undo.c +++ b/undo.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: undo.c,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Management of undo records * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: undo.c,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "xor.h" @@ -194,6 +186,7 @@ static int do_undo(game_state *g, undo_move **m, undo_move **mm) a->u.c.y = g->p->y; g->p->x = x; g->p->y = y; + ui_track(g->p->u, x, y); break; case A_LIVE: a->u.p->f |= PF_DEAD; diff --git a/xor.c b/xor.c index 971feeb..54c0523 100644 --- a/xor.c +++ b/xor.c @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: xor.c,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Main program * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: xor.c,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - /*----- Header files ------------------------------------------------------*/ #include "xor.h" diff --git a/xor.h b/xor.h index ece7a74..e9edc83 100644 --- a/xor.h +++ b/xor.h @@ -1,6 +1,6 @@ /* -*-c-*- * - * $Id: xor.h,v 1.1 2003/12/12 10:55:30 mdw Exp $ + * $Id$ * * Main header for XOR * @@ -26,14 +26,6 @@ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ -/*----- Revision history --------------------------------------------------* - * - * $Log: xor.h,v $ - * Revision 1.1 2003/12/12 10:55:30 mdw - * Initial checkin. Not there yet. - * - */ - #ifndef XOR_H #define XOR_H -- [mdw]