From 580b5e62f1b17dd7f52fce75cba65e3ccb0379be Mon Sep 17 00:00:00 2001 From: "nethack.allison" Date: Fri, 6 Jan 2006 22:28:29 +0000 Subject: [PATCH] remove obsolete files --- include/edog.h | 33 --------------------------------- include/emin.h | 15 --------------- include/epri.h | 21 --------------------- include/eshk.h | 45 --------------------------------------------- include/vault.h | 27 --------------------------- 5 files changed, 141 deletions(-) delete mode 100644 include/edog.h delete mode 100644 include/emin.h delete mode 100644 include/epri.h delete mode 100644 include/eshk.h delete mode 100644 include/vault.h diff --git a/include/edog.h b/include/edog.h deleted file mode 100644 index fd7ec05be..000000000 --- a/include/edog.h +++ /dev/null @@ -1,33 +0,0 @@ -/* SCCS Id: @(#)edog.h 3.5 1997/10/23 */ -/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ -/* NetHack may be freely redistributed. See license for details. */ - -#ifndef EDOG_H -#define EDOG_H - -/* various types of food, the lower, the better liked. */ - -#define DOGFOOD 0 -#define CADAVER 1 -#define ACCFOOD 2 -#define MANFOOD 3 -#define APPORT 4 -#define POISON 5 -#define UNDEF 6 -#define TABU 7 - -struct edog { - long droptime; /* moment dog dropped object */ - unsigned dropdist; /* dist of drpped obj from @ */ - int apport; /* amount of training */ - long whistletime; /* last time he whistled */ - long hungrytime; /* will get hungry at this time */ - coord ogoal; /* previous goal location */ - int abuse; /* track abuses to this pet */ - int revivals; /* count pet deaths */ - int mhpmax_penalty; /* while starving, points reduced */ - Bitfield(killed_by_u, 1); /* you attempted to kill him */ -}; -#define EDOG(mon) ((struct edog *)&(mon)->mextra[0]) - -#endif /* EDOG_H */ diff --git a/include/emin.h b/include/emin.h deleted file mode 100644 index f856a16f9..000000000 --- a/include/emin.h +++ /dev/null @@ -1,15 +0,0 @@ -/* SCCS Id: @(#)emin.h 3.5 2005/11/02 */ -/* Copyright (c) David Cohrs, 1990. */ -/* NetHack may be freely redistributed. See license for details. */ - -#ifndef EMIN_H -#define EMIN_H - -struct emin { - aligntyp min_align; /* alignment of minion */ - boolean renegade; /* hostile co-aligned priest or Angel */ -}; - -#define EMIN(mon) ((struct emin *)&(mon)->mextra[0]) - -#endif /* EMIN_H */ diff --git a/include/epri.h b/include/epri.h deleted file mode 100644 index 221bb16b1..000000000 --- a/include/epri.h +++ /dev/null @@ -1,21 +0,0 @@ -/* SCCS Id: @(#)epri.h 3.5 2005/11/02 */ -/* Copyright (c) Izchak Miller, 1989. */ -/* NetHack may be freely redistributed. See license for details. */ - -#ifndef EPRI_H -#define EPRI_H - -struct epri { - aligntyp shralign; /* alignment of priest's shrine */ - /* leave as first field to match emin */ - schar shroom; /* index in rooms */ - coord shrpos; /* position of shrine */ - d_level shrlevel; /* level (& dungeon) of shrine */ -}; - -#define EPRI(mon) ((struct epri *)&(mon)->mextra[0]) - -/* note: roaming priests (no shrine) switch from ispriest to isminion - (and emin extension) */ - -#endif /* EPRI_H */ diff --git a/include/eshk.h b/include/eshk.h deleted file mode 100644 index 55a40e022..000000000 --- a/include/eshk.h +++ /dev/null @@ -1,45 +0,0 @@ -/* SCCS Id: @(#)eshk.h 3.5 1997/05/01 */ -/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ -/* NetHack may be freely redistributed. See license for details. */ - -#ifndef ESHK_H -#define ESHK_H - -#define REPAIR_DELAY 5 /* minimum delay between shop damage & repair */ - -#define BILLSZ 200 - -struct bill_x { - unsigned bo_id; - boolean useup; - long price; /* price per unit */ - long bquan; /* amount used up */ -}; - -struct eshk { - long robbed; /* amount stolen by most recent customer */ - long credit; /* amount credited to customer */ - long debit; /* amount of debt for using unpaid items */ - long loan; /* shop-gold picked (part of debit) */ - int shoptype; /* the value of rooms[shoproom].rtype */ - schar shoproom; /* index in rooms; set by inshop() */ - schar unused; /* to force alignment for stupid compilers */ - boolean following; /* following customer since he owes us sth */ - boolean surcharge; /* angry shk inflates prices */ - coord shk; /* usual position shopkeeper */ - coord shd; /* position shop door */ - d_level shoplevel; /* level (& dungeon) of his shop */ - int billct; /* no. of entries of bill[] in use */ - struct bill_x bill[BILLSZ]; - struct bill_x *bill_p; - int visitct; /* nr of visits by most recent customer */ - char customer[PL_NSIZ]; /* most recent customer */ - char shknam[PL_NSIZ]; -}; - -#define ESHK(mon) ((struct eshk *)&(mon)->mextra[0]) - -#define NOTANGRY(mon) ((mon)->mpeaceful) -#define ANGRY(mon) (!NOTANGRY(mon)) - -#endif /* ESHK_H */ diff --git a/include/vault.h b/include/vault.h deleted file mode 100644 index 7889934ea..000000000 --- a/include/vault.h +++ /dev/null @@ -1,27 +0,0 @@ -/* SCCS Id: @(#)vault.h 3.5 1997/05/01 */ -/* Copyright (c) Stichting Mathematisch Centrum, Amsterdam, 1985. */ -/* NetHack may be freely redistributed. See license for details. */ - -#ifndef VAULT_H -#define VAULT_H - -#define FCSIZ (ROWNO+COLNO) -struct fakecorridor { - xchar fx,fy,ftyp; -}; - -struct egd { - int fcbeg, fcend; /* fcend: first unused pos */ - int vroom; /* room number of the vault */ - xchar gdx, gdy; /* goal of guard's walk */ - xchar ogx, ogy; /* guard's last position */ - d_level gdlevel; /* level (& dungeon) guard was created in */ - xchar warncnt; /* number of warnings to follow */ - Bitfield(gddone,1); /* true iff guard has released player */ - Bitfield(unused,7); - struct fakecorridor fakecorr[FCSIZ]; -}; - -#define EGD(mon) ((struct egd *)&(mon)->mextra[0]) - -#endif /* VAULT_H */ -- 2.40.0