From c3bb0dae7503b5c059b3b199137503840bf6f30b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 14 Mar 2023 10:48:53 -0400 Subject: [PATCH] Quiet down database compilation. Observe RNG stability. At this commit, we can tell that the seeded-RNG nehavopr of this 430 branch is identical to that of master because the axebear log - which includes randomization of dwarf spawning and the reservoir word - yields the same results in both versions. --- init.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.c b/init.c index a74dd86..9cdbeef 100644 --- a/init.c +++ b/init.c @@ -180,7 +180,7 @@ void initialise(void) { } static int raw_init(void) { - printf("Couldn't find adventure.data, using adventure.text...\n"); + //printf("Couldn't find adventure.data, using adventure.text...\n"); FILE *OPENED=fopen("adventure.text","r" /* NOT binary */); if(!OPENED){printf("Can't read adventure.text!\n"); exit(0);} @@ -634,7 +634,7 @@ L1993: SETPRM(1,LINUSE,LINSIZ); SETPRM(15,CLSSES,CLSMAX); SETPRM(17,HNTMAX,HNTSIZ); SETPRM(19,TRNVLS,TRNSIZ); - RSPEAK(267); + //RSPEAK(267); TYPE0(); } @@ -661,7 +661,7 @@ static bool quick_init(void) { } static void quick_save(void) { - printf("Writing adventure.data...\n"); + //printf("Writing adventure.data...\n"); f = fopen("adventure.data",WRITE_MODE); if(f == NULL){printf("Can't open file!\n"); return;} init_reading = false; -- 2.31.1