diff --git a/include/extern.h b/include/extern.h index 585b2273b..ecb1ee654 100644 --- a/include/extern.h +++ b/include/extern.h @@ -2664,7 +2664,6 @@ extern void get_plname_from_file(NHFILE *, char *, boolean) NONNULLARG12; #ifdef SELECTSAVED extern int restore_menu(winid); #endif -extern void minit(void); extern boolean lookup_id_mapping(unsigned, unsigned *) NONNULLARG2; extern int validate(NHFILE *, const char *, boolean) NONNULLARG1; /* extern void reset_restpref(void); */ diff --git a/include/global.h b/include/global.h index db6faa52d..a38c7722b 100644 --- a/include/global.h +++ b/include/global.h @@ -115,16 +115,6 @@ typedef uchar nhsym; #endif #endif -#if 0 -/* comment out to test effects of each #define -- these will probably - * disappear eventually - */ -#ifdef INTERNAL_COMP -#define RLECOMP /* run-length compression of levl array - JLee */ -#define ZEROCOMP /* zero-run compression of everything - Olaf Seibert */ -#endif -#endif - /* #define SPECIALIZATION */ /* do "specialized" version of new topology */ #ifdef BITFIELDS @@ -359,21 +349,6 @@ struct version_info { unsigned long entity_count; /* # of monsters and objects */ }; -struct savefile_info { - unsigned long sfi1; /* compression etc. */ - unsigned long sfi2; /* miscellaneous */ - unsigned long sfi3; /* thirdparty */ -}; -#ifdef NHSTDC -#define SFI1_EXTERNALCOMP (1UL) -#define SFI1_RLECOMP (1UL << 1) -#define SFI1_ZEROCOMP (1UL << 2) -#else -#define SFI1_EXTERNALCOMP (1L) -#define SFI1_RLECOMP (1L << 1) -#define SFI1_ZEROCOMP (1L << 2) -#endif - /* This is used to store some build-info data that used to be present in makedefs-generated header file date.h */ diff --git a/src/do.c b/src/do.c index 2d1d7d57b..ae26e7158 100644 --- a/src/do.c +++ b/src/do.c @@ -1708,7 +1708,6 @@ goto_level( } reseed_random(rn2); reseed_random(rn2_on_display_rng); - minit(); /* ZEROCOMP */ getlev(nhfp, svh.hackpid, new_ledger); close_nhfile(nhfp); oinit(); /* reassign level dependent obj probabilities */ diff --git a/src/save.c b/src/save.c index 974f25995..f7aab28b8 100644 --- a/src/save.c +++ b/src/save.c @@ -204,7 +204,6 @@ dosave0(void) HUP done(TRICKED); goto done; } - minit(); /* ZEROCOMP */ getlev(onhfp, svh.hackpid, ltmp); close_nhfile(onhfp); if (nhfp->structlevel) { diff --git a/src/sfstruct.c b/src/sfstruct.c index ae0b2c5fd..f4a09163f 100644 --- a/src/sfstruct.c +++ b/src/sfstruct.c @@ -206,12 +206,6 @@ bwrite(int fd, const genericptr_t loc, unsigned num) /* ===================================================== */ -void -minit(void) -{ - return; -} - void mread(int fd, genericptr_t buf, unsigned len) {