recover utility updates

This commit is contained in:
nhmall
2025-04-15 18:02:44 -04:00
parent 502b60d210
commit 44af2a96a5
3 changed files with 45 additions and 30 deletions

View File

@@ -3,9 +3,12 @@
/*-Copyright (c) Michael Allison, 2018. */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "dlb.h"
#ifndef MINIMAL_FOR_RECOVER
#ifndef OPTIONS_AT_RUNTIME
#define OPTIONS_AT_RUNTIME
#endif
@@ -513,6 +516,7 @@ dump_version_info(void)
release_runtime_info();
return;
}
#endif /* MINIMAL_FOR_RECOVER */
struct critical_sizes_with_names {
uchar ucsize;
@@ -647,6 +651,7 @@ get_critical_size_count(void)
return SIZE(critical_sizes);
}
#ifndef MINIMAL_FOR_RECOVER
void
store_critical_bytes(NHFILE *nhfp)
{
@@ -741,5 +746,6 @@ compare_critical_bytes(NHFILE *nhfp)
}
return 0; /* everything matched */
}
#endif /* MINIMAL_FOR_RECOVER */
/*version.c*/