From 21e9a65f0bced514e94f41eeb56253cae9645f87 Mon Sep 17 00:00:00 2001 From: ISSOtm Date: Sat, 12 Mar 2022 10:25:07 +0100 Subject: [PATCH] Remove old C headers --- include/gfx/gb.h | 36 ------------------------------------ include/gfx/makepng.h | 21 --------------------- 2 files changed, 57 deletions(-) delete mode 100644 include/gfx/gb.h delete mode 100644 include/gfx/makepng.h diff --git a/include/gfx/gb.h b/include/gfx/gb.h deleted file mode 100644 index cdb895f8..00000000 --- a/include/gfx/gb.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2013-2018, stag019 and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ - -#ifndef RGBDS_GFX_GB_H -#define RGBDS_GFX_GB_H - -#include -#include "gfx/main.h" - -#define XFLIP 0x40 -#define YFLIP 0x20 - -void raw_to_gb(const struct RawIndexedImage *raw_image, struct GBImage *gb); -void output_file(const struct Options *opts, const struct GBImage *gb); -int get_tile_index(uint8_t *tile, uint8_t **tiles, int num_tiles, - int tile_size); -uint8_t reverse_bits(uint8_t b); -void xflip(uint8_t *tile, uint8_t *tile_xflip, int tile_size); -void yflip(uint8_t *tile, uint8_t *tile_yflip, int tile_size); -int get_mirrored_tile_index(uint8_t *tile, uint8_t **tiles, int num_tiles, - int tile_size, int *flags); -void create_mapfiles(const struct Options *opts, struct GBImage *gb, - struct Mapfile *tilemap, struct Mapfile *attrmap); -void output_tilemap_file(const struct Options *opts, - const struct Mapfile *tilemap); -void output_attrmap_file(const struct Options *opts, - const struct Mapfile *attrmap); -void output_palette_file(const struct Options *opts, - const struct RawIndexedImage *raw_image); - -#endif diff --git a/include/gfx/makepng.h b/include/gfx/makepng.h deleted file mode 100644 index 233fa62b..00000000 --- a/include/gfx/makepng.h +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This file is part of RGBDS. - * - * Copyright (c) 2013-2018, stag019 and RGBDS contributors. - * - * SPDX-License-Identifier: MIT - */ - -#ifndef RGBDS_GFX_PNG_H -#define RGBDS_GFX_PNG_H - -#include "gfx/main.h" - -struct RawIndexedImage *input_png_file(const struct Options *opts, - struct ImageOptions *png_options); -void output_png_file(const struct Options *opts, - const struct ImageOptions *png_options, - const struct RawIndexedImage *raw_image); -void destroy_raw_image(struct RawIndexedImage **raw_image_ptr_ptr); - -#endif /* RGBDS_GFX_PNG_H */