summaryrefslogtreecommitdiffstats
path: root/atc/extern.h
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2015-06-25 05:33:02 +0000
committerdholland <dholland@NetBSD.org>2015-06-25 05:33:02 +0000
commit79cdfa8ea1b0bdba6889bfea03d2c4ab5987c675 (patch)
treecbdc37d27624e2960e4e7b059b4d46d28b1a0b5e /atc/extern.h
parentcbfa4e0150e45039bfd90790eea6dca891ce4af6 (diff)
downloadbsdgames-darwin-79cdfa8ea1b0bdba6889bfea03d2c4ab5987c675.tar.gz
bsdgames-darwin-79cdfa8ea1b0bdba6889bfea03d2c4ab5987c675.tar.zst
bsdgames-darwin-79cdfa8ea1b0bdba6889bfea03d2c4ab5987c675.zip
Move game logic out of the file with the curses code.
Diffstat (limited to 'atc/extern.h')
-rw-r--r--atc/extern.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/atc/extern.h b/atc/extern.h
index 89764df2..3bbe1202 100644
--- a/atc/extern.h
+++ b/atc/extern.h
@@ -1,4 +1,4 @@
-/* $NetBSD: extern.h,v 1.18 2015/06/19 06:02:31 dholland Exp $ */
+/* $NetBSD: extern.h,v 1.19 2015/06/25 05:33:02 dholland Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -64,6 +64,13 @@ extern struct termios tty_start, tty_new;
extern DISPLACEMENT displacement[MAXDIR];
+/* in graphics.c */
+void shutdown_gr(void);
+void ioaskquit(void);
+void ionoquit(void);
+void losermsg(const PLANE *p, const char *msg);
+
+/* misc */
void addplane(void);
void append(LIST *, PLANE *);
void check_adir(int, int, int);
@@ -88,7 +95,6 @@ char name(const PLANE *);
int number(int);
void open_score_file(void);
void planewin(void);
-void quit(int);
void redraw(void);
void setup_screen(const C_SCREEN *);
void update(int);