From c435d53a06af69a6ac8764d44bd0121c389eb904 Mon Sep 17 00:00:00 2001 From: jsm Date: Tue, 28 Dec 1999 18:05:24 +0000 Subject: Use separate definitions and extern declarations of variables rather than linker commons. --- sail/pl_7.c | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'sail/pl_7.c') 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() { -- cgit v1.2.3