X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/3b0bf94a42df78b2914b10e6a118a8ccab48b9dd..e96dede3c9ce08bd15f78e85132f88076cff177d:/sail/player.h diff --git a/sail/player.h b/sail/player.h index 07c600b3..cb555a05 100644 --- a/sail/player.h +++ b/sail/player.h @@ -1,4 +1,4 @@ -/* $NetBSD: player.h,v 1.6 1998/03/29 04:57:20 mrg Exp $ */ +/* $NetBSD: player.h,v 1.13 2009/08/12 09:05:08 dholland Exp $ */ /* * Copyright (c) 1983, 1993 @@ -12,11 +12,7 @@ * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. - * 3. All advertising materials mentioning features or use of this software - * must display the following acknowledgement: - * This product includes software developed by the University of - * California, Berkeley and its contributors. - * 4. Neither the name of the University nor the names of its contributors + * 3. Neither the name of the University nor the names of its contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * @@ -35,9 +31,6 @@ * @(#)player.h 8.2 (Berkeley) 5/3/95 */ -#include -#include "extern.h" - /* sizes and coordinates for the screen */ #define LINE_T 0 @@ -92,28 +85,15 @@ #define SLOT_B VIEW_B #define SLOT_R (SLOT_L+SLOT_X-1) -#ifdef SIGTSTP -#define SCREENTEST() (initscr() != ERR && signal(SIGTSTP, SIG_DFL) != SIG_ERR && STAT_R < COLS && SCROLL_Y > 0) -#else -#define SCREENTEST() (initscr() != ERR && STAT_R < COLS && SCROLL_Y > 0) -#endif - -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]; -extern char version[]; -int player; -struct ship *ms; /* memorial structure, &cc->ship[player] */ -struct File *mf; /* ms->file */ -struct shipspecs *mc; /* ms->specs */ +extern int done_curses; +extern int loaded, fired, changed, repaired; +extern int dont_adjust; +extern char movebuf[sizeof SHIP(0)->file->movebuf]; +extern const char version[]; +extern int player; +extern struct ship *ms; /* memorial structure, &cc->ship[player] */ +extern struct File *mf; /* ms->file */ +extern struct shipspecs *mc; /* ms->specs */ /* condition codes for leave() */ #define LEAVE_QUIT 0