-/* $NetBSD: player.h,v 1.7 1999/04/18 03:30:12 simonb Exp $ */
+/* $NetBSD: player.h,v 1.13 2009/08/12 09:05:08 dholland Exp $ */
/*
* Copyright (c) 1983, 1993
* 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.
*
* @(#)player.h 8.2 (Berkeley) 5/3/95
*/
-#include <curses.h>
-#include "extern.h"
-
/* sizes and coordinates for the screen */
#define LINE_T 0
#define SLOT_B VIEW_B
#define SLOT_R (SLOT_L+SLOT_X-1)
-#ifdef SIGTSTP
-#define SCREENTEST() (initscr() != NULL && signal(SIGTSTP, SIG_DFL) != SIG_ERR && STAT_R < COLS && SCROLL_Y > 0)
-#else
-#define SCREENTEST() (initscr() != NULL && 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