-/* $NetBSD: hunt.c,v 1.11 2000/04/14 05:58:03 simonb Exp $ */
+/* $NetBSD: hunt.c,v 1.12 2001/02/05 00:40:45 christos Exp $ */
/*
* Hunt
* Copyright (c) 1985 Conrad C. Huang, Gregory S. Couch, Kenneth C.R.C. Arnold
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hunt.c,v 1.11 2000/04/14 05:58:03 simonb Exp $");
+__RCSID("$NetBSD: hunt.c,v 1.12 2001/02/05 00:40:45 christos Exp $");
#endif /* not lint */
# include <sys/param.h>
SOCKET *list_drivers __P((void));
# endif
+extern int Otto_mode;
/*
* main:
* Main program for local process
{
char *term;
int c;
- extern int Otto_mode;
long enter_status;
enter_status = env_init((long) Q_CLOAK);
-/* $NetBSD: otto.c,v 1.3 1999/04/18 03:29:01 simonb Exp $ */
+/* $NetBSD: otto.c,v 1.4 2001/02/05 00:40:45 christos Exp $ */
# ifdef OTTO
/*
* otto - a hunt otto-matic player
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: otto.c,v 1.3 1999/04/18 03:29:01 simonb Exp $");
+__RCSID("$NetBSD: otto.c,v 1.4 2001/02/05 00:40:45 christos Exp $");
#endif /* not lint */
# include <sys/time.h>
STATIC int stop_look __P((struct item *, char, int, int));
STATIC void wander __P((void));
+extern int Otto_count;
+
STATIC SIGNAL_TYPE
nothing(dummy)
int dummy;
char face;
{
int i;
- extern int Otto_count;
int old_mask;
# ifdef DEBUG