eliminate hack.h usage from win/share/*.c

Switch win/share/*.c from hack.h to config.h plus miscellaenous
other headers.  It's possible that there is conditional code that
didn't get exercised in my testing.  The Unix Makefiles don't deal
with safeproc.c or tileset.c so I just compiled those without any
attempt to link.
This commit is contained in:
PatR
2020-05-03 10:52:54 -07:00
parent 8caaf894e5
commit 3c6deed5e9
8 changed files with 66 additions and 38 deletions

View File

@@ -2,7 +2,9 @@
/* Copyright (c) Ray Chason, 2016. */
/* NetHack may be freely redistributed. See license for details. */
#include "hack.h"
#include "config.h"
#include "objclass.h"
#include "flag.h"
#include "tileset.h"
static void FDECL(get_tile_map, (const char *));
@@ -102,7 +104,7 @@ error:
}
/* Free tile memory not required by the chosen display mode */
boolean
void
set_tile_type(true_color)
boolean true_color;
{