diff options
| author | jsm <jsm@NetBSD.org> | 1999-12-28 18:05:24 +0000 |
|---|---|---|
| committer | jsm <jsm@NetBSD.org> | 1999-12-28 18:05:24 +0000 |
| commit | c435d53a06af69a6ac8764d44bd0121c389eb904 (patch) | |
| tree | 4bdc489eb3b8ab546fc6bb83fd81bd17439196c1 /sail/pl_7.c | |
| parent | c69e774d87a7cc2755bfc35f866e9863fbadeb15 (diff) | |
| download | bsdgames-darwin-c435d53a06af69a6ac8764d44bd0121c389eb904.tar.gz bsdgames-darwin-c435d53a06af69a6ac8764d44bd0121c389eb904.zip | |
Use separate definitions and extern declarations of variables rather
than linker commons.
Diffstat (limited to 'sail/pl_7.c')
| -rw-r--r-- | sail/pl_7.c | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/sail/pl_7.c b/sail/pl_7.c index ad60b95b..ad665bd2 100644 --- a/sail/pl_7.c +++ b/sail/pl_7.c @@ -1,4 +1,4 @@ -/* $NetBSD: pl_7.c,v 1.12 1999/09/08 21:45:30 jsm Exp $ */ +/* $NetBSD: pl_7.c,v 1.13 1999/12/28 18:05:25 jsm Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,7 +38,7 @@ #if 0 static char sccsid[] = "@(#)pl_7.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: pl_7.c,v 1.12 1999/09/08 21:45:30 jsm Exp $"); +__RCSID("$NetBSD: pl_7.c,v 1.13 1999/12/28 18:05:25 jsm Exp $"); #endif #endif /* not lint */ @@ -61,6 +61,22 @@ static const char *sc_prompt; static const char *sc_buf; static int sc_line; +WINDOW *view_w; +WINDOW *slot_w; +WINDOW *scroll_w; +WINDOW *stat_w; +WINDOW *turn_w; + +char done_curses; +char loaded, fired, changed, repaired; +char dont_adjust; +int viewrow, viewcol; +char movebuf[sizeof SHIP(0)->file->movebuf]; +int player; +struct ship *ms; /* memorial structure, &cc->ship[player] */ +struct File *mf; /* ms->file */ +struct shipspecs *mc; /* ms->specs */ + void initscreen() { |
