summaryrefslogtreecommitdiffstats
path: root/sail/display.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2009-03-15 00:35:42 +0000
committerdholland <dholland@NetBSD.org>2009-03-15 00:35:42 +0000
commit68d4fdd27d94764d7e4f1a1e40f9ada5f69d0fbd (patch)
tree4f5b0d26250b76ce72dbd2ced4cfa4cee4e66147 /sail/display.h
parented4e5b1f179113443a4a87aa7e150b4198e2dfac (diff)
downloadbsdgames-darwin-68d4fdd27d94764d7e4f1a1e40f9ada5f69d0fbd.tar.gz
bsdgames-darwin-68d4fdd27d94764d7e4f1a1e40f9ada5f69d0fbd.zip
Move all curses bits to pl_7.c.
Diffstat (limited to 'sail/display.h')
-rw-r--r--sail/display.h19
1 files changed, 4 insertions, 15 deletions
diff --git a/sail/display.h b/sail/display.h
index 034b477e..98995609 100644
--- a/sail/display.h
+++ b/sail/display.h
@@ -1,4 +1,4 @@
-/* $NetBSD: display.h,v 1.4 2009/03/14 19:35:13 dholland Exp $ */
+/* $NetBSD: display.h,v 1.5 2009/03/15 00:35:42 dholland Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -29,17 +29,6 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#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;
-
+void display_show_obp(int which, bool show);
+void display_show_dbp(int which, bool show);
+void display_refresh_slot_w(void);