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:
@@ -18,7 +18,7 @@ struct TileImage {
|
||||
|
||||
boolean FDECL(read_tiles, (const char *filename, BOOLEAN_P true_color));
|
||||
const struct Pixel *NDECL(get_palette);
|
||||
boolean FDECL(set_tile_type, (BOOLEAN_P true_color));
|
||||
void FDECL(set_tile_type, (BOOLEAN_P true_color));
|
||||
void NDECL(free_tiles);
|
||||
const struct TileImage *FDECL(get_tile, (unsigned tile_index));
|
||||
|
||||
@@ -42,8 +42,11 @@ struct TileSetImage {
|
||||
unsigned tile_width, tile_height;
|
||||
};
|
||||
|
||||
boolean FDECL(read_bmp_tiles, (const char *filename, struct TileSetImage *image));
|
||||
boolean FDECL(read_gif_tiles, (const char *filename, struct TileSetImage *image));
|
||||
boolean FDECL(read_png_tiles, (const char *filename, struct TileSetImage *image));
|
||||
boolean FDECL(read_bmp_tiles, (const char *filename,
|
||||
struct TileSetImage *image));
|
||||
boolean FDECL(read_gif_tiles, (const char *filename,
|
||||
struct TileSetImage *image));
|
||||
boolean FDECL(read_png_tiles, (const char *filename,
|
||||
struct TileSetImage *image));
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user