X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/22a27dede77166c7bdf1de647d4d2b961fcd92c2..dd1a8e39b3a83266b1ed724eeccec96dc60cd87a:/sail/parties.c diff --git a/sail/parties.c b/sail/parties.c index 4e6994c5..582e7844 100644 --- a/sail/parties.c +++ b/sail/parties.c @@ -1,4 +1,4 @@ -/* $NetBSD: parties.c,v 1.6 1999/02/10 00:45:46 hubertf Exp $ */ +/* $NetBSD: parties.c,v 1.10 2001/02/05 01:10:10 christos Exp $ */ /* * Copyright (c) 1983, 1993 @@ -38,16 +38,15 @@ #if 0 static char sccsid[] = "@(#)parties.c 8.2 (Berkeley) 4/28/95"; #else -__RCSID("$NetBSD: parties.c,v 1.6 1999/02/10 00:45:46 hubertf Exp $"); +__RCSID("$NetBSD: parties.c,v 1.10 2001/02/05 01:10:10 christos Exp $"); #endif #endif /* not lint */ +#include <sys/types.h> #include "extern.h" int -meleeing(from, to) -struct ship *from; -struct ship *to; +meleeing(struct ship *from, struct ship *to) { struct BP *p = from->file->OBP; struct BP *q = p + NBP; @@ -59,9 +58,7 @@ struct ship *to; } int -boarding(from, isdefense) -struct ship *from; -char isdefense; +boarding(struct ship *from, int isdefense) { struct BP *p = isdefense ? from->file->DBP : from->file->OBP; struct BP *q = p + NBP; @@ -73,9 +70,7 @@ char isdefense; } void -unboard(ship, to, isdefense) -struct ship *ship, *to; -char isdefense; +unboard(struct ship *ship, struct ship *to, int isdefense) { struct BP *p = isdefense ? ship->file->DBP : ship->file->OBP; int n;