Remove vestiges of old overlay source split
[trunk only]
This commit is contained in:
17
src/botl.c
17
src/botl.c
@@ -4,7 +4,6 @@
|
||||
|
||||
#include "hack.h"
|
||||
|
||||
#ifdef OVL0
|
||||
extern const char *hu_stat[]; /* defined in eat.c */
|
||||
|
||||
const char * const enc_stat[] = {
|
||||
@@ -18,7 +17,6 @@ const char * const enc_stat[] = {
|
||||
|
||||
STATIC_DCL void NDECL(bot1);
|
||||
STATIC_DCL void NDECL(bot2);
|
||||
#endif /* OVL0 */
|
||||
|
||||
/* MAXCO must hold longest uncompressed status line, and must be larger
|
||||
* than COLNO
|
||||
@@ -34,16 +32,9 @@ STATIC_DCL void NDECL(bot2);
|
||||
#define MAXCO (COLNO+20)
|
||||
#endif
|
||||
|
||||
#ifndef OVLB
|
||||
STATIC_DCL int mrank_sz;
|
||||
#else /* OVLB */
|
||||
STATIC_OVL NEARDATA int mrank_sz = 0; /* loaded by max_rank_sz (from u_init) */
|
||||
#endif /* OVLB */
|
||||
|
||||
STATIC_DCL const char *NDECL(rank);
|
||||
|
||||
#ifdef OVL1
|
||||
|
||||
/* convert experience level (1..30) to rank index (0..8) */
|
||||
int
|
||||
xlev_to_rank(xlev)
|
||||
@@ -126,9 +117,6 @@ int *rank_indx, *title_length;
|
||||
return NON_PM;
|
||||
}
|
||||
|
||||
#endif /* OVL1 */
|
||||
#ifdef OVLB
|
||||
|
||||
void
|
||||
max_rank_sz()
|
||||
{
|
||||
@@ -141,9 +129,6 @@ max_rank_sz()
|
||||
return;
|
||||
}
|
||||
|
||||
#endif /* OVLB */
|
||||
#ifdef OVL0
|
||||
|
||||
#ifdef SCORE_ON_BOTL
|
||||
long
|
||||
botl_score()
|
||||
@@ -304,6 +289,4 @@ bot()
|
||||
flags.botl = flags.botlx = 0;
|
||||
}
|
||||
|
||||
#endif /* OVL0 */
|
||||
|
||||
/*botl.c*/
|
||||
|
||||
Reference in New Issue
Block a user