more monster alignment

Simplify is_lminion(); as a result, several source files no longer
need access to epri.h.  (mondata.c already could have lived without it;
eshk.h as well.)

Makefile dependency changes:
  mondata.{c,o} -- doesn't need epri.h or eshk.h
  monmove.{c,o} -- doesn't need epri.h
  wizard.{c,o}  -- ditto
  pline.{c,o}   -- ditto (yesterday's patch)
This commit is contained in:
nethack.rankin
2005-10-06 03:45:20 +00:00
parent 5ffa09c388
commit a906215720
4 changed files with 5 additions and 12 deletions

View File

@@ -1,10 +1,8 @@
/* SCCS Id: @(#)mondata.c 3.5 2005/09/01 */
/* SCCS Id: @(#)mondata.c 3.5 2005/10/05 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "eshk.h"
#include "epri.h"
/* These routines provide basic data for any type of monster. */

View File

@@ -1,11 +1,10 @@
/* SCCS Id: @(#)monmove.c 3.5 2005/06/22 */
/* SCCS Id: @(#)monmove.c 3.5 2005/10/05 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "mfndpos.h"
#include "artifact.h"
#include "epri.h"
extern boolean notonhead;

View File

@@ -1,4 +1,4 @@
/* SCCS Id: @(#)wizard.c 3.5 2005/03/19 */
/* SCCS Id: @(#)wizard.c 3.5 2005/10/05 */
/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */
/* NetHack may be freely redistributed. See license for details. */
@@ -9,7 +9,6 @@
#include "hack.h"
#include "qtext.h"
#include "epri.h"
extern const int monstr[];