summaryrefslogtreecommitdiffstats
path: root/sail/player.h
diff options
context:
space:
mode:
authorjwise <jwise@NetBSD.org>2001-01-04 04:41:41 +0000
committerjwise <jwise@NetBSD.org>2001-01-04 04:41:41 +0000
commit7f8c48e77789d6020961d505f060f3337550060b (patch)
tree4c0034a88adf0b665da71757864431167aa23aad /sail/player.h
parentc8a08e056ff2a0f7268ba7df647b69afcc26d11e (diff)
downloadbsdgames-darwin-7f8c48e77789d6020961d505f060f3337550060b.tar.gz
bsdgames-darwin-7f8c48e77789d6020961d505f060f3337550060b.zip
Break out curses display-related globals into a new header file, so that
<curses.h> doesn't have to be included all over the place.
Diffstat (limited to 'sail/player.h')
-rw-r--r--sail/player.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/sail/player.h b/sail/player.h
index 968af6b4..352b818a 100644
--- a/sail/player.h
+++ b/sail/player.h
@@ -1,4 +1,4 @@
-/* $NetBSD: player.h,v 1.8 1999/12/28 18:05:25 jsm Exp $ */
+/* $NetBSD: player.h,v 1.9 2001/01/04 04:41:42 jwise Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -35,9 +35,6 @@
* @(#)player.h 8.2 (Berkeley) 5/3/95
*/
-#include <curses.h>
-#include "extern.h"
-
/* sizes and coordinates for the screen */
#define LINE_T 0
@@ -92,18 +89,6 @@
#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
-
-extern WINDOW *view_w;
-extern WINDOW *slot_w;
-extern WINDOW *scroll_w;
-extern WINDOW *stat_w;
-extern WINDOW *turn_w;
-
extern char done_curses;
extern char loaded, fired, changed, repaired;
extern char dont_adjust;