-/* $NetBSD: extern.c,v 1.7 2014/03/29 19:41:10 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.7 2014/03/29 19:41:10 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 Status; /* stat socket */
int See_over[NASCII]; /* lookup table for determining whether
* character represents "transparent"
* item */
BULLET *Bullets = NULL; /* linked list of bullets */
-EXPL *Expl[EXPLEN]; /* explosion lists */
-EXPL *Last_expl; /* last explosion on Expl[0] */
-
PLAYER Player[MAXPL]; /* all the players */
PLAYER *End_player = Player; /* last active player slot */
#ifdef BOOTS
PLAYER *End_monitor = Monitor; /* last active monitor slot */
#endif
-#ifdef VOLCANO
-int volcano = 0; /* Explosion size */
-#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