summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhubertf <hubertf@NetBSD.org>1998-09-13 15:22:57 +0000
committerhubertf <hubertf@NetBSD.org>1998-09-13 15:22:57 +0000
commit413ea3b7fdbede3600e8a6d2706d9dcf7c61cfe7 (patch)
treeed3cc3c29209c1ed5c38513b653148873c7c6e3b
parent392c1216403cc962eb63d4d0d8abdf9f9123733d (diff)
downloadbsdgames-darwin-413ea3b7fdbede3600e8a6d2706d9dcf7c61cfe7.tar.gz
bsdgames-darwin-413ea3b7fdbede3600e8a6d2706d9dcf7c61cfe7.tar.zst
bsdgames-darwin-413ea3b7fdbede3600e8a6d2706d9dcf7c61cfe7.zip
remove unused files (PR#6083 by Joseph Myers <jsm28@cam.ac.uk>)
-rw-r--r--atc/Makefile4
-rw-r--r--atc/games/ATC_scores5
-rw-r--r--sail/:file10
-rw-r--r--sail/:scene3
-rw-r--r--sail/:ship4
-rw-r--r--sail/:specs3
-rw-r--r--trek/board.x61
7 files changed, 2 insertions, 88 deletions
diff --git a/atc/Makefile b/atc/Makefile
index 453ea276..deb1547e 100644
--- a/atc/Makefile
+++ b/atc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 1998/05/13 19:21:37 tv Exp $
+# $NetBSD: Makefile,v 1.19 1998/09/13 15:22:59 hubertf Exp $
# @(#)Makefile 8.1 (Berkeley) 5/31/93
PROG= atc
@@ -9,7 +9,7 @@ YHEADER=1
MAN= atc.6
LDADD= -ll -lm -lcurses
DPADD= ${LIBL} ${LIBM} ${LIBCURSES}
-GAMES= ATC_scores Game_List Killer crossover default easy game_2 \
+GAMES= Game_List Killer crossover default easy game_2 \
Atlantis OHare Tic-Tac-Toe airports box crosshatch game_3 \
game_4 novice two-corners
HIDEGAME=hidegame
diff --git a/atc/games/ATC_scores b/atc/games/ATC_scores
deleted file mode 100644
index bbffeb25..00000000
--- a/atc/games/ATC_scores
+++ /dev/null
@@ -1,5 +0,0 @@
-schumann puff game_2 171 1414 195
-schumann puff default 18 220 59
-schumann puff easy 13 182 146
-schumann puff crossover 11 74 448
-schumann puff Killer 0 38 27
diff --git a/sail/:file b/sail/:file
deleted file mode 100644
index dd5762fd..00000000
--- a/sail/:file
+++ /dev/null
@@ -1,10 +0,0 @@
-./"index"16t"captain"nD20C
-+/"points"8t"loadL"8t"loadR"8t"readyL"8t"readyL"ndbbbb2+36+36+
-+/"struck"8t"capture"8t"pcrew"8t"movebuf"nb3+pd10C
-+/"drift"8t"nfoul"8t"ngrap"nb1+dd
-+/"foul:"8t"count"8t"turn"16t"count"8t"turn"
-+,5/8tdd16tddn
-+/"grap:"8t"count"8t"turn"16t"count"8t"turn"
-+,5/8tdd16tddn
-+/"RH"8t"RG"8t"RR"8t"FS"8t"explode"8t"sink"n6b
-+/"dir"8t"col"8t"row"8t"loadwit"8t"stern"nb+2d2b
diff --git a/sail/:scene b/sail/:scene
deleted file mode 100644
index 43c4d816..00000000
--- a/sail/:scene
+++ /dev/null
@@ -1,3 +0,0 @@
-./"winddir windspd windchg vessels"n4b
-.+8/"ship: "a
-*(.-4)/S
diff --git a/sail/:ship b/sail/:ship
deleted file mode 100644
index fdf9dd09..00000000
--- a/sail/:ship
+++ /dev/null
@@ -1,4 +0,0 @@
-./"name"16t"specs"16t"nation"nppb+
-+/"row"8t"col"8t"dir"nddb+
-+/"file"np
-+/t
diff --git a/sail/:specs b/sail/:specs
deleted file mode 100644
index 2a71f70a..00000000
--- a/sail/:specs
+++ /dev/null
@@ -1,3 +0,0 @@
-./"bs bs ta guns class hull qual"n3b+d3b
-+/"crew1 crew2 crew3 gunL gunR carL carR"n8b
-+/"rig1 rig2 rig3 rig4 pts"n4b+d
diff --git a/trek/board.x b/trek/board.x
deleted file mode 100644
index 505886ea..00000000
--- a/trek/board.x
+++ /dev/null
@@ -1,61 +0,0 @@
-/* $NetBSD: board.x,v 1.2 1995/04/22 10:58:30 cgd Exp $ */
-
-# include "trek.h"
-
-/*
-** BOARD A KLINGON
-**
-** A Klingon battle cruiser is boarded. If the boarding party
-** is successful, they take over the vessel, otherwise, you
-** have wasted a move. Needless to say, this move is not free.
-**
-** User parameters are the Klingon to be boarded and the size of
-** the boarding party.
-**
-** Three things are computed. The first is the probability that
-** the party takes over the Klingon. This is dependent on the
-** size of the party, the condition of the Klingon (for which
-** the energy left is used, which is definately incorrect), and
-** the number of losses that the boarding party sustains. If too
-** many of the boarding party are killed, the probability drops
-** to zero. The second quantity computed is the losses that the
-** boarding party sustains. This counts in your score. It
-** depends on the absolute and relative size of the boarding
-** party and the strength of the Klingon. The third quantity
-** computed is the number of Klingon captives you get to take.
-** It is actually computed as the number of losses they sustain
-** subtracted from the size of their crew. It depends on the
-** relative size of the party. All of these quantities are
-** randomized in some fashion.
-*/
-
-board()
-{
- int prob;
- int losses;
- int captives;
- float t;
- int party;
-
- if (checkout(XPORTER))
- return;
-
- k = selectklingon();
- if (!k->srndreq)
- {
- return (printf("But captain! You must request surrender first\n"));
- }
-
- t = party / Param.crew;
-
- prob = 1000 * t;
- prob =- 500 * k->power / Param.klingpwr;
-
- losses = party * k->power * t * 0.5 / Param.klingpwr * (franf() + 1.0);
- if (losses * 4 > party)
- prob = 0;
-
- captives = %%% * (1.0 - t) * 0.5 * (franf() + 1.0);
-
- if (prob > ranf(1000))
- success!!!;