-/* $NetBSD: extern.c,v 1.8 2014/03/29 21:33:41 dholland Exp $ */
+/* $NetBSD: extern.c,v 1.10 2014/03/30 00:26:58 dholland Exp $ */
/*
* Copyright (c) 1983-2003, Regents of the University of California.
* All rights reserved.
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: extern.c,v 1.8 2014/03/29 21:33:41 dholland Exp $");
+__RCSID("$NetBSD: extern.c,v 1.10 2014/03/30 00:26:58 dholland Exp $");
#endif /* not lint */
#include "hunt.h"
struct pollfd fdset[3+MAXPL+MAXMON];
int Nplayer = 0; /* number of players */
-int Socket; /* main socket */
int See_over[NASCII]; /* lookup table for determining whether
* character represents "transparent"
* item */
PLAYER *End_monitor = Monitor; /* last active monitor slot */
#endif
-int shot_req[MAXBOMB] = {
+const int shot_req[MAXBOMB] = {
BULREQ, GRENREQ, SATREQ,
BOMB7REQ, BOMB9REQ, BOMB11REQ,
BOMB13REQ, BOMB15REQ, BOMB17REQ,
BOMB19REQ, BOMB21REQ,
};
-int shot_type[MAXBOMB] = {
+const int shot_type[MAXBOMB] = {
SHOT, GRENADE, SATCHEL,
BOMB, BOMB, BOMB,
BOMB, BOMB, BOMB,
BOMB, BOMB,
};
-int slime_req[MAXSLIME] = {
+#ifdef OOZE
+const int slime_req[MAXSLIME] = {
SLIMEREQ, SSLIMEREQ, SLIME2REQ, SLIME3REQ,
};
+#endif