Remove vestiges of old overlay source split

[trunk only]
This commit is contained in:
nethack.allison
2003-09-05 02:45:18 +00:00
parent 1a94dcfca3
commit 416412f92b
66 changed files with 25 additions and 1306 deletions

View File

@@ -7,14 +7,12 @@
STATIC_DCL void FDECL(mkbox_cnts,(struct obj *));
STATIC_DCL void FDECL(obj_timer_checks,(struct obj *, XCHAR_P, XCHAR_P, int));
#ifdef OVL1
STATIC_DCL void FDECL(container_weight, (struct obj *));
STATIC_DCL struct obj *FDECL(save_mtraits, (struct obj *, struct monst *));
#ifdef WIZARD
STATIC_DCL const char *FDECL(where_name, (int));
STATIC_DCL void FDECL(check_contained, (struct obj *,const char *));
#endif
#endif /* OVL1 */
extern struct obj *thrownobj; /* defined in dothrow.c */
@@ -25,8 +23,6 @@ struct icp {
char iclass; /* item class */
};
#ifdef OVL1
const struct icp mkobjprobs[] = {
{10, WEAPON_CLASS},
{10, ARMOR_CLASS},
@@ -351,9 +347,6 @@ register struct obj *otmp;
return;
}
#endif /* OVL1 */
#ifdef OVLB
static const char dknowns[] = {
WAND_CLASS, RING_CLASS, POTION_CLASS, SCROLL_CLASS,
GEM_CLASS, SPBOOK_CLASS, WEAPON_CLASS, TOOL_CLASS, 0
@@ -756,9 +749,6 @@ register struct obj *otmp;
return;
}
#endif /* OVLB */
#ifdef OVL1
void
blessorcurse(otmp, chance)
register struct obj *otmp;
@@ -776,9 +766,6 @@ register int chance;
return;
}
#endif /* OVL1 */
#ifdef OVLB
int
bcsign(otmp)
register struct obj *otmp;
@@ -786,9 +773,6 @@ register struct obj *otmp;
return(!!otmp->blessed - !!otmp->cursed);
}
#endif /* OVLB */
#ifdef OVL0
/*
* Calculate the weight of the given object. This will recursively follow
* and calculate the weight of any containers.
@@ -863,8 +847,6 @@ int x, y;
{
return mksobj_at(treefruits[rn2(SIZE(treefruits))], x, y, TRUE, FALSE);
}
#endif /* OVL0 */
#ifdef OVLB
struct obj *
mkgold(amount, x, y)
@@ -885,9 +867,6 @@ int x, y;
return (gold);
}
#endif /* OVLB */
#ifdef OVL1
/* return TRUE if the corpse has special timing */
#define special_corpse(num) (((num) == PM_LIZARD) \
|| ((num) == PM_LICHEN) \
@@ -1023,9 +1002,6 @@ boolean copyof;
return mnew;
}
#endif /* OVL1 */
#ifdef OVLB
/* make an object named after someone listed in the scoreboard file */
struct obj *
mk_tt_object(objtype, x, y)
@@ -1084,9 +1060,6 @@ register struct obj *otmp;
objects[otyp].oc_material != LIQUID));
}
#endif /* OVLB */
#ifdef OVL1
/*
* These routines maintain the single-linked lists headed in level.objects[][]
* and threaded through the nexthere fields in the object-instance structure.
@@ -1628,6 +1601,4 @@ check_contained(container, mesg)
}
#endif /* WIZARD */
#endif /* OVL1 */
/*mkobj.c*/