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

@@ -8,25 +8,17 @@
#include "lev.h"
#ifdef SINKS
# ifdef OVLB
STATIC_DCL void FDECL(trycall, (struct obj *));
# endif /* OVLB */
STATIC_DCL void FDECL(dosinkring, (struct obj *));
#endif /* SINKS */
STATIC_PTR int FDECL(drop, (struct obj *));
STATIC_PTR int NDECL(wipeoff);
#ifdef OVL0
STATIC_DCL int FDECL(menu_drop, (int));
#endif
#ifdef OVL2
STATIC_DCL int NDECL(currentlevel_rewrite);
STATIC_DCL void NDECL(final_level);
/* static boolean FDECL(badspot, (XCHAR_P,XCHAR_P)); */
#endif
#ifdef OVLB
static NEARDATA const char drop_types[] =
{ ALLOW_COUNT, COIN_CLASS, ALL_CLASSES, 0 };
@@ -49,9 +41,6 @@ dodrop()
return result;
}
#endif /* OVLB */
#ifdef OVL0
/* Called when a boulder is dropped, thrown, or pushed. If it ends up
* in a pool, it either fills the pool up or sinks away. In either case,
* it's gone for good... If the destination is not a pool, returns FALSE.
@@ -210,9 +199,6 @@ const char *verb;
return FALSE;
}
#endif /* OVL0 */
#ifdef OVLB
void
doaltarobj(obj) /* obj is an object dropped on an altar */
register struct obj *obj;
@@ -389,9 +375,6 @@ giveback:
}
#endif
#endif /* OVLB */
#ifdef OVL0
/* some common tests when trying to drop or throw items */
boolean
canletgo(obj,word)
@@ -722,9 +705,6 @@ int retry;
return n_dropped;
}
#endif /* OVL0 */
#ifdef OVL2
/* on a ladder, used in goto_level */
static NEARDATA boolean at_ladder = FALSE;
@@ -1452,9 +1432,6 @@ deferred_goto()
free((genericptr_t)dfr_post_msg), dfr_post_msg = 0;
}
#endif /* OVL2 */
#ifdef OVL3
/*
* Return TRUE if we created a monster for the corpse. If successful, the
* corpse is gone.
@@ -1567,9 +1544,6 @@ donull()
return(1); /* Do nothing, but let other things happen */
}
#endif /* OVL3 */
#ifdef OVLB
STATIC_PTR int
wipeoff()
{
@@ -1658,6 +1632,4 @@ heal_legs()
(void)encumber_msg();
}
#endif /* OVLB */
/*do.c*/