X-Git-Url: https://git.cameronkatri.com/bsdgames-darwin.git/blobdiff_plain/b02984cd3526b2e629c94ede019e8e2492c06e5f..512d94ab57edbcbdbe7bf85e5b46d66339a28386:/atc/input.c diff --git a/atc/input.c b/atc/input.c index 1513c2a4..3b44be09 100644 --- a/atc/input.c +++ b/atc/input.c @@ -1,4 +1,4 @@ -/* $NetBSD: input.c,v 1.27 2014/03/22 22:47:07 dholland Exp $ */ +/* $NetBSD: input.c,v 1.29 2015/06/19 06:02:31 dholland Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -46,12 +46,26 @@ #if 0 static char sccsid[] = "@(#)input.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: input.c,v 1.27 2014/03/22 22:47:07 dholland Exp $"); +__RCSID("$NetBSD: input.c,v 1.29 2015/06/19 06:02:31 dholland Exp $"); #endif #endif /* not lint */ -#include "include.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + #include "pathnames.h" +#include "def.h" +#include "struct.h" +#include "extern.h" +#include "tunable.h" static void rezero(void); static void noise(void); @@ -199,7 +213,8 @@ static PLANE p; static STACK stack[MAXDEPTH]; static int level; static int tval; -static int dest_type, dir; +static int dir; +static enum places dest_type; static unsigned dest_no; static int