Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/backgammon GC descr and helpm.
details: https://anonhg.NetBSD.org/src/rev/44bb7af3620f
branches: trunk
changeset: 789934:44bb7af3620f
user: joerg <joerg%NetBSD.org@localhost>
date: Fri Sep 13 20:46:50 2013 +0000
description:
GC descr and helpm.
diffstat:
games/backgammon/common_source/subs.c | 17 ++---------------
games/backgammon/teachgammon/teach.c | 12 ++----------
2 files changed, 4 insertions(+), 25 deletions(-)
diffs (70 lines):
diff -r 20286d10b63f -r 44bb7af3620f games/backgammon/common_source/subs.c
--- a/games/backgammon/common_source/subs.c Fri Sep 13 20:38:39 2013 +0000
+++ b/games/backgammon/common_source/subs.c Fri Sep 13 20:46:50 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: subs.c,v 1.19 2012/10/13 19:19:39 dholland Exp $ */
+/* $NetBSD: subs.c,v 1.20 2013/09/13 20:46:50 joerg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)subs.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: subs.c,v 1.19 2012/10/13 19:19:39 dholland Exp $");
+__RCSID("$NetBSD: subs.c,v 1.20 2013/09/13 20:46:50 joerg Exp $");
#endif
#endif /* not lint */
@@ -47,19 +47,6 @@
static const char plwhite[] = "Player is white, computer is red.";
static const char nocomp[] = "(No computer play.)";
-static const char *const descr[] = {
- "Usage: backgammon [-] [n r w b pr pw pb t3a]\n",
- "\t-\tgets this list\n\tn\tdon't ask for rules or instructions",
- "\tr\tplayer is red (implies n)\n\tw\tplayer is white (implies n)",
- "\tb\ttwo players, red and white (implies n)",
- "\tpr\tprint the board before red's turn",
- "\tpw\tprint the board before white's turn",
- "\tpb\tprint the board before both player's turn",
- "\tterm\tterminal is a term",
- "\tsfile\trecover saved game from file",
- 0
-};
-
void
errexit(const char *s)
{
diff -r 20286d10b63f -r 44bb7af3620f games/backgammon/teachgammon/teach.c
--- a/games/backgammon/teachgammon/teach.c Fri Sep 13 20:38:39 2013 +0000
+++ b/games/backgammon/teachgammon/teach.c Fri Sep 13 20:46:50 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: teach.c,v 1.23 2012/10/13 19:25:22 dholland Exp $ */
+/* $NetBSD: teach.c,v 1.24 2013/09/13 20:46:50 joerg Exp $ */
/*
* Copyright (c) 1980, 1993
@@ -39,21 +39,13 @@
#if 0
static char sccsid[] = "@(#)teach.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: teach.c,v 1.23 2012/10/13 19:25:22 dholland Exp $");
+__RCSID("$NetBSD: teach.c,v 1.24 2013/09/13 20:46:50 joerg Exp $");
#endif
#endif /* not lint */
#include "back.h"
#include "tutor.h"
-static const char *const helpm[] = {
- "\nEnter a space or newline to roll, or",
- " b to display the board",
- " d to double",
- " q to quit\n",
- 0
-};
-
static const char *const contin[] = {
"",
0
Home |
Main Index |
Thread Index |
Old Index