summaryrefslogtreecommitdiff
path: root/games/sail/globals.c
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2000-01-03 23:22:46 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2000-01-03 23:22:46 +0000
commita31b171dfd7f71d553c9d0de07cd522cc0f01af1 (patch)
tree5f5c671810f8b9a2b289a8876c9e469e83d99609 /games/sail/globals.c
parent9b341581567ed520fee8acba214a2b6fbe454ba5 (diff)
extern rather than linker commons; jsm@netbsd.org
Diffstat (limited to 'games/sail/globals.c')
-rw-r--r--games/sail/globals.c25
1 files changed, 23 insertions, 2 deletions
diff --git a/games/sail/globals.c b/games/sail/globals.c
index ce09b9476ca..15e46ebac01 100644
--- a/games/sail/globals.c
+++ b/games/sail/globals.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: globals.c,v 1.4 1999/01/18 06:20:52 pjanzen Exp $ */
+/* $OpenBSD: globals.c,v 1.5 2000/01/03 23:22:41 pjanzen Exp $ */
/* $NetBSD: globals.c,v 1.4 1995/04/22 10:36:57 cgd Exp $ */
/*
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)globals.c 8.2 (Berkeley) 4/28/95";
#else
-static char rcsid[] = "$OpenBSD: globals.c,v 1.4 1999/01/18 06:20:52 pjanzen Exp $";
+static char rcsid[] = "$OpenBSD: globals.c,v 1.5 2000/01/03 23:22:41 pjanzen Exp $";
#endif
#endif /* not lint */
@@ -547,3 +547,24 @@ const char loadname[] = { '-', 'G', 'C', 'R', 'D', 'E' };
const char dr[] = { 0, 1, 1, 0, -1, -1, -1, 0, 1 };
const char dc[] = { 0, 0, -1, -1, -1, 0, 1, 1, 1 };
+
+int mode;
+jmp_buf restart;
+
+char debug; /* -D */
+char randomize; /* -x, give first available ship */
+char longfmt; /* -l, print score in long format */
+char nobells; /* -b, don't ring bell before Signal */
+
+gid_t gid, egid;
+
+struct scenario *cc; /* the current scenario */
+struct ship *ls; /* &cc->ship[cc->vessels] */
+
+int winddir;
+int windspeed;
+int turn;
+int game;
+int alive;
+int people;
+char hasdriver;