xref: /original-bsd/games/atc/extern.c (revision 48d2e7c6)
1 /*-
2  * Copyright (c) 1990, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Ed James.
7  *
8  * %sccs.include.redist.c%
9  */
10 
11 /*
12  * Copyright (c) 1987 by Ed James, UC Berkeley.  All rights reserved.
13  *
14  * Copy permission is hereby granted provided that this notice is
15  * retained on all partial or complete copies.
16  *
17  * For more info on this and all of my stuff, mail edjames@berkeley.edu.
18  */
19 
20 #ifndef lint
21 static char sccsid[] = "@(#)extern.c	8.1 (Berkeley) 05/31/93";
22 #endif /* not lint */
23 
24 #include "include.h"
25 
26 char		GAMES[] =	"Game_List";
27 
28 int		clck, safe_planes, start_time, test_mode;
29 
30 char		*file;
31 
32 FILE		*filein, *fileout;
33 
34 C_SCREEN		screen, *sp = &screen;
35 
36 LIST		air, ground;
37 
38 struct sgttyb	tty_start, tty_new;
39 
40 DISPLACEMENT	displacement[MAXDIR] = {
41 		{  0, -1 },
42 		{  1, -1 },
43 		{  1,  0 },
44 		{  1,  1 },
45 		{  0,  1 },
46 		{ -1,  1 },
47 		{ -1,  0 },
48 		{ -1, -1 }
49 };
50