1*37008Sbostic /* 2*37008Sbostic * Copyright (c) 1987 by Ed James, UC Berkeley. All rights reserved. 3*37008Sbostic * 4*37008Sbostic * Copy permission is hereby granted provided that this notice is 5*37008Sbostic * retained on all partial or complete copies. 6*37008Sbostic * 7*37008Sbostic * For more info on this and all of my stuff, mail edjames@berkeley.edu. 8*37008Sbostic */ 9*37008Sbostic 10*37008Sbostic #include "include.h" 11*37008Sbostic 12*37008Sbostic char GAMES[] = "Game_List", 13*37008Sbostic LOG[] = "ATC_scores"; 14*37008Sbostic 15*37008Sbostic int clock, safe_planes, start_time, test_mode; 16*37008Sbostic 17*37008Sbostic char *file; 18*37008Sbostic 19*37008Sbostic FILE *filein, *fileout; 20*37008Sbostic 21*37008Sbostic C_SCREEN screen, *sp = &screen; 22*37008Sbostic 23*37008Sbostic LIST air, ground; 24*37008Sbostic 25*37008Sbostic struct sgttyb tty_start, tty_new; 26*37008Sbostic 27*37008Sbostic DISPLACEMENT displacement[MAXDIR] = { 28*37008Sbostic { 0, -1 }, 29*37008Sbostic { 1, -1 }, 30*37008Sbostic { 1, 0 }, 31*37008Sbostic { 1, 1 }, 32*37008Sbostic { 0, 1 }, 33*37008Sbostic { -1, 1 }, 34*37008Sbostic { -1, 0 }, 35*37008Sbostic { -1, -1 } 36*37008Sbostic }; 37