Remove vestiges of old overlay source split
[trunk only]
This commit is contained in:
29
src/hack.c
29
src/hack.c
@@ -4,9 +4,7 @@
|
||||
|
||||
#include "hack.h"
|
||||
|
||||
#ifdef OVL1
|
||||
STATIC_DCL void NDECL(maybe_wail);
|
||||
#endif /*OVL1*/
|
||||
STATIC_DCL int NDECL(moverock);
|
||||
STATIC_DCL int FDECL(still_chewing,(XCHAR_P,XCHAR_P));
|
||||
#ifdef SINKS
|
||||
@@ -19,8 +17,6 @@ STATIC_DCL void FDECL(move_update, (BOOLEAN_P));
|
||||
|
||||
#define IS_SHOP(x) (rooms[x].rtype >= SHOPBASE)
|
||||
|
||||
#ifdef OVL2
|
||||
|
||||
boolean
|
||||
revive_nasty(x, y, msg)
|
||||
int x,y;
|
||||
@@ -429,9 +425,6 @@ still_chewing(x,y)
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* OVL2 */
|
||||
#ifdef OVLB
|
||||
|
||||
void
|
||||
movobj(obj, ox, oy)
|
||||
register struct obj *obj;
|
||||
@@ -516,9 +509,6 @@ register xchar x,y;
|
||||
(levl[x][y].wall_info & W_NONPASSWALL)));
|
||||
}
|
||||
|
||||
#endif /* OVLB */
|
||||
#ifdef OVL1
|
||||
|
||||
boolean
|
||||
bad_rock(mdat,x,y)
|
||||
struct permonst *mdat;
|
||||
@@ -537,9 +527,6 @@ xchar x, y;
|
||||
return((boolean)(Invocation_lev(&u.uz) && x == inv_pos.x && y == inv_pos.y));
|
||||
}
|
||||
|
||||
#endif /* OVL1 */
|
||||
#ifdef OVL3
|
||||
|
||||
/* return TRUE if (dx,dy) is an OK place to move
|
||||
* mode is one of DO_MOVE, TEST_MOVE or TEST_TRAV
|
||||
*/
|
||||
@@ -1430,9 +1417,6 @@ invocation_message()
|
||||
}
|
||||
}
|
||||
|
||||
#endif /* OVL3 */
|
||||
#ifdef OVL2
|
||||
|
||||
void
|
||||
spoteffects(pick)
|
||||
boolean pick;
|
||||
@@ -1804,9 +1788,6 @@ register boolean newlev;
|
||||
return;
|
||||
}
|
||||
|
||||
#endif /* OVL2 */
|
||||
#ifdef OVLB
|
||||
|
||||
int
|
||||
dopickup()
|
||||
{
|
||||
@@ -1867,9 +1848,6 @@ dopickup()
|
||||
return (pickup(-count));
|
||||
}
|
||||
|
||||
#endif /* OVLB */
|
||||
#ifdef OVL2
|
||||
|
||||
/* stop running if we see something interesting */
|
||||
/* turn around a corner if that is the only way we can proceed */
|
||||
/* do not turn left or right twice */
|
||||
@@ -2049,9 +2027,6 @@ const char *msg_override;
|
||||
afternmv = 0;
|
||||
}
|
||||
|
||||
#endif /* OVL2 */
|
||||
#ifdef OVL1
|
||||
|
||||
STATIC_OVL void
|
||||
maybe_wail()
|
||||
{
|
||||
@@ -2225,9 +2200,6 @@ const char *str;
|
||||
return 0;
|
||||
}
|
||||
|
||||
#endif /* OVL1 */
|
||||
#ifdef OVLB
|
||||
|
||||
int
|
||||
inv_cnt()
|
||||
{
|
||||
@@ -2258,6 +2230,5 @@ struct obj *otmp;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
#endif /* OVLB */
|
||||
|
||||
/*hack.c*/
|
||||
|
||||
Reference in New Issue
Block a user