-/* $NetBSD: dr_3.c,v 1.12 2001/01/04 03:51:23 jwise Exp $ */
+/* $NetBSD: dr_3.c,v 1.14 2001/02/05 01:10:09 christos Exp $ */
/*
* Copyright (c) 1983, 1993
#if 0
static char sccsid[] = "@(#)dr_3.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: dr_3.c,v 1.12 2001/01/04 03:51:23 jwise Exp $");
+__RCSID("$NetBSD: dr_3.c,v 1.14 2001/02/05 01:10:09 christos Exp $");
#endif
#endif /* not lint */
#include "extern.h"
#include "driver.h"
-void moveall(void);
static int stillmoving(int);
static int is_isolated(struct ship *);
static int push(struct ship *, struct ship *);
-static void step(int, struct ship *, char *);
-void sendbp(struct ship *, struct ship *, int, int);
-int is_toughmelee(struct ship *, struct ship *, int, int);
-void reload(void);
-void checksails(void);
+static void step(struct ship *, int, char *);
/* move all comp ships */
void
if (!sp->file->movebuf[k])
sp->file->movebuf[k+1] = '\0';
else if (sp->file->dir)
- step(sp->file->movebuf[k], sp, &moved[n]);
+ step(sp, sp->file->movebuf[k], &moved[n]);
n++;
}
/*
}
static void
-step(int com, struct ship *sp, char *moved)
+step(struct ship *sp, int com, char *moved)
{
int dist;