mirror of
https://github.com/openbsd/src.git
synced 2025-01-10 06:47:55 -08:00
Remove unnecessary headers and sort the remaining alphabetically
OK tb@
This commit is contained in:
parent
a26eaf12ef
commit
48b4d137c7
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: abandon.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: abandon.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: abandon.c,v 1.3 1995/04/22 10:58:24 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: attack.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: attack.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: attack.c,v 1.3 1995/04/22 10:58:26 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,8 +30,9 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: autover.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: autover.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: autover.c,v 1.3 1995/04/22 10:58:28 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: capture.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: capture.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: capture.c,v 1.3 1995/04/22 10:58:32 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: check_out.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: check_out.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: check_out.c,v 1.3 1995/04/22 10:58:35 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: compkl.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: compkl.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: compkl.c,v 1.3 1995/04/22 10:58:38 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: computer.c,v 1.10 2013/06/02 04:28:39 schwarze Exp $ */
|
||||
/* $OpenBSD: computer.c,v 1.11 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: computer.c,v 1.4 1995/04/24 12:25:51 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,11 +30,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** On-Board Computer
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: damage.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: damage.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: damage.c,v 1.3 1995/04/22 10:58:40 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,8 +30,9 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: dcrept.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: dcrept.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: dcrept.c,v 1.3 1995/04/22 10:58:43 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: destruct.c,v 1.7 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: destruct.c,v 1.8 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: destruct.c,v 1.3 1995/04/22 10:58:44 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -33,8 +33,9 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** Self Destruct Sequence
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: dock.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: dock.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: dock.c,v 1.3 1995/04/22 10:58:45 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: dumpgame.c,v 1.10 2015/11/11 01:12:10 deraadt Exp $ */
|
||||
/* $OpenBSD: dumpgame.c,v 1.11 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: dumpgame.c,v 1.4 1995/04/24 12:25:54 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,10 +30,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*** THIS CONSTANT MUST CHANGE AS THE DATA SPACES CHANGE ***/
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: dumpme.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: dumpme.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: dumpme.c,v 1.3 1995/04/22 10:58:48 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: dumpssradio.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: dumpssradio.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: dumpssradio.c,v 1.3 1995/04/22 10:58:49 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/**
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: events.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: events.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: events.c,v 1.3 1995/04/22 10:58:50 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,9 +30,10 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <math.h>
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: getpar.c,v 1.13 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: getpar.c,v 1.14 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: getpar.c,v 1.4 1995/04/24 12:25:57 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -33,6 +33,7 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: help.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: help.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: help.c,v 1.3 1995/04/22 10:59:01 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,9 +30,10 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: impulse.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: impulse.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: impulse.c,v 1.3 1995/04/22 10:59:03 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,8 +31,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/**
|
||||
** move under impulse power
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: initquad.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: initquad.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: initquad.c,v 1.3 1995/04/22 10:59:04 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: kill.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: kill.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: kill.c,v 1.3 1995/04/22 10:59:06 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: klmove.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: klmove.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: klmove.c,v 1.3 1995/04/22 10:59:07 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: lose.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: lose.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: lose.c,v 1.3 1995/04/22 10:59:08 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,11 +30,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** PRINT OUT LOSER MESSAGES
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: lrscan.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: lrscan.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: lrscan.c,v 1.3 1995/04/22 10:59:09 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: main.c,v 1.14 2015/11/30 08:55:26 tb Exp $ */
|
||||
/* $OpenBSD: main.c,v 1.15 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: main.c,v 1.4 1995/04/22 10:59:10 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,15 +30,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <setjmp.h>
|
||||
#include <termios.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
#include <err.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** #### ##### # #### ##### #### ##### # #
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: move.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: move.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: move.c,v 1.3 1995/04/22 10:59:12 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,8 +30,9 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: nova.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: nova.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: nova.c,v 1.3 1995/04/22 10:59:14 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,6 +31,7 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: out.c,v 1.7 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: out.c,v 1.8 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: out.c,v 1.3 1995/04/22 10:59:16 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -32,6 +32,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: phaser.c,v 1.8 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: phaser.c,v 1.9 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: phaser.c,v 1.4 1995/04/24 12:26:02 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,10 +30,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include "trek.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/* factors for phaser hits; see description below */
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: play.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: play.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: play.c,v 1.3 1995/04/22 10:59:18 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,10 +30,11 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <setjmp.h>
|
||||
#include "trek.h"
|
||||
#include <stdio.h>
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** INSTRUCTION READ AND MAIN PLAY LOOP
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ram.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: ram.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: ram.c,v 1.3 1995/04/22 10:59:19 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -32,6 +32,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: ranf.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: ranf.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: ranf.c,v 1.3 1995/04/22 10:59:21 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,7 +30,6 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: rest.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: rest.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: rest.c,v 1.3 1995/04/22 10:59:22 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,8 +31,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** REST FOR REPAIRS
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: schedule.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: schedule.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: schedule.c,v 1.3 1995/04/22 10:59:23 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,9 +30,10 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <err.h>
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: score.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: score.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: score.c,v 1.3 1995/04/22 10:59:24 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,8 +31,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** PRINT OUT THE CURRENT SCORE
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: setup.c,v 1.10 2014/12/08 21:56:28 deraadt Exp $ */
|
||||
/* $OpenBSD: setup.c,v 1.11 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: setup.c,v 1.4 1995/04/24 12:26:06 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,14 +30,14 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <err.h>
|
||||
#include <math.h>
|
||||
#include <unistd.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <err.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** INITIALIZE THE GAME
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: setwarp.c,v 1.4 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: setwarp.c,v 1.5 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: setwarp.c,v 1.3 1995/04/22 10:59:27 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,8 +31,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** SET WARP FACTOR
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: shield.c,v 1.7 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: shield.c,v 1.8 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: shield.c,v 1.4 1995/04/24 12:26:09 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,8 +31,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** SHIELD AND CLOAKING DEVICE CONTROL
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: snova.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: snova.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: snova.c,v 1.3 1995/04/22 10:59:29 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -32,6 +32,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: srscan.c,v 1.7 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: srscan.c,v 1.8 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: srscan.c,v 1.3 1995/04/22 10:59:31 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,8 +31,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** SHORT RANGE SENSOR SCAN
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: torped.c,v 1.8 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: torped.c,v 1.9 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: torped.c,v 1.3 1995/04/22 10:59:34 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,11 +30,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <math.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
static int randcourse(int);
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: visual.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: visual.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: visual.c,v 1.3 1995/04/22 10:59:39 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,8 +31,9 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** VISUAL SCAN
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: warp.c,v 1.6 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: warp.c,v 1.7 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: warp.c,v 1.3 1995/04/22 10:59:40 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -31,11 +31,11 @@
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** MOVE UNDER WARP POWER
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $OpenBSD: win.c,v 1.5 2009/10/27 23:59:27 deraadt Exp $ */
|
||||
/* $OpenBSD: win.c,v 1.6 2016/01/07 14:30:32 mestre Exp $ */
|
||||
/* $NetBSD: win.c,v 1.3 1995/04/22 10:59:41 cgd Exp $ */
|
||||
|
||||
/*
|
||||
@ -30,11 +30,12 @@
|
||||
* SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include <setjmp.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
#include <setjmp.h>
|
||||
#include "trek.h"
|
||||
|
||||
#include "getpar.h"
|
||||
#include "trek.h"
|
||||
|
||||
/*
|
||||
** Signal game won
|
||||
|
Loading…
Reference in New Issue
Block a user