xref: /csrg-svn/games/atc/extern.c (revision 60740)
141166Sbostic /*-
2*60740Sbostic  * Copyright (c) 1990, 1993
3*60740Sbostic  *	The Regents of the University of California.  All rights reserved.
441166Sbostic  *
541166Sbostic  * This code is derived from software contributed to Berkeley by
641166Sbostic  * Ed James.
741166Sbostic  *
841166Sbostic  * %sccs.include.redist.c%
941166Sbostic  */
1041166Sbostic 
1137008Sbostic /*
1237008Sbostic  * Copyright (c) 1987 by Ed James, UC Berkeley.  All rights reserved.
1337008Sbostic  *
1437008Sbostic  * Copy permission is hereby granted provided that this notice is
1537008Sbostic  * retained on all partial or complete copies.
1637008Sbostic  *
1737008Sbostic  * For more info on this and all of my stuff, mail edjames@berkeley.edu.
1837008Sbostic  */
1937008Sbostic 
2041166Sbostic #ifndef lint
21*60740Sbostic static char sccsid[] = "@(#)extern.c	8.1 (Berkeley) 05/31/93";
2241166Sbostic #endif /* not lint */
2341166Sbostic 
2437008Sbostic #include "include.h"
2537008Sbostic 
2641165Sbostic char		GAMES[] =	"Game_List";
2737008Sbostic 
2845433Sbostic int		clck, safe_planes, start_time, test_mode;
2937008Sbostic 
3037008Sbostic char		*file;
3137008Sbostic 
3237008Sbostic FILE		*filein, *fileout;
3337008Sbostic 
3437008Sbostic C_SCREEN		screen, *sp = &screen;
3537008Sbostic 
3637008Sbostic LIST		air, ground;
3737008Sbostic 
3837008Sbostic struct sgttyb	tty_start, tty_new;
3937008Sbostic 
4037008Sbostic DISPLACEMENT	displacement[MAXDIR] = {
4137008Sbostic 		{  0, -1 },
4237008Sbostic 		{  1, -1 },
4337008Sbostic 		{  1,  0 },
4437008Sbostic 		{  1,  1 },
4537008Sbostic 		{  0,  1 },
4637008Sbostic 		{ -1,  1 },
4737008Sbostic 		{ -1,  0 },
4837008Sbostic 		{ -1, -1 }
4937008Sbostic };
50