1- /* $NetBSD: extern.h,v 1.15 2009/05/25 23 :48:32 dholland Exp $ */
1+ /* $NetBSD: extern.h,v 1.16 2009/08/12 04 :48:03 dholland Exp $ */
22
33/*-
44 * Copyright (c) 1990, 1993
@@ -53,7 +53,7 @@ extern time_t start_time;
5353extern FILE * filein , * fileout ;
5454#endif
5555
56- extern C_SCREEN screen , * sp ;
56+ extern C_SCREEN * sp ;
5757
5858extern LIST air , ground ;
5959
@@ -64,78 +64,35 @@ extern DISPLACEMENT displacement[MAXDIR];
6464int addplane (void );
6565void append (LIST * , PLANE * );
6666void check_adir (int , int , int );
67- void check_edge (int , int );
68- void check_edir (int , int , int );
69- void check_line (int , int , int , int );
70- void check_linepoint (int , int );
71- void check_point (int , int );
72- int checkdefs (void );
73- int compar (const void * , const void * );
7467void delete (LIST * , PLANE * );
75- int dir_deg (int );
7668int dir_no (int );
7769void done_screen (void );
7870void draw_all (void );
79- void draw_line (WINDOW * , int , int , int , int , const char * );
8071void erase_all (void );
8172int getAChar (void );
8273int getcommand (void );
83- int gettoken (void );
8474void init_gr (void );
8575void ioaddstr (int , const char * );
8676void ioclrtobot (void );
8777void ioclrtoeol (int );
8878void ioerror (int , int , const char * );
8979void iomove (int );
90- int list_games (void );
9180int log_score (int );
9281void log_score_quit (int ) __dead ;
9382void loser (const PLANE * , const char * ) __dead ;
9483int main (int , char * []);
9584char name (const PLANE * );
96- int next_plane (void );
97- void noise (void );
9885int number (int );
9986void open_score_file (void );
10087void planewin (void );
101- int pop (void );
102- void push (int , int );
10388void quit (int );
104- int read_file (const char * );
10589void redraw (void );
106- void rezero (void );
10790void setup_screen (const C_SCREEN * );
108- int too_close (const PLANE * p1 , const PLANE * p2 , int );
10991void update (int );
110- int yyerror (const char * );
11192int yylex (void );
11293#ifndef YYEMPTY
11394int yyparse (void );
11495#endif
115- const char * Left (int );
116- const char * Right (int );
117- const char * airport (int );
118- const char * beacon (int );
119- const char * benum (int );
120- const char * circle (int );
121- const char * climb (int );
12296const char * command (const PLANE * );
123- const char * default_game (void );
124- const char * delayb (int );
125- const char * descend (int );
126- const char * ex_it (int );
12797PLANE * findplane (int );
128- const char * ignore (int );
129- const char * left (int );
130- const char * mark (int );
13198PLANE * newplane (void );
132- const char * okay_game (const char * );
133- const char * rel_dir (int );
134- const char * right (int );
135- const char * setalt (int );
136- const char * setplane (int );
137- const char * setrelalt (int );
138- const char * timestr (int );
139- const char * to_dir (int );
140- const char * turn (int );
141- const char * unmark (int );
0 commit comments