mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
With permission from the main authors [1], most of the code has been relicensed under the MIT license. SPDX license identifiers are used so that the license headers in source code files aren't too large. Add CONTRIBUTORS.rst file. [1] https://github.com/rednex/rgbds/issues/128 Signed-off-by: Antonio Niño Díaz <antonio_nd@outlook.com>
26 lines
721 B
C
26 lines
721 B
C
/*
|
|
* 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 <stdint.h>
|
|
#include "gfx/main.h"
|
|
|
|
void png_to_gb(const struct PNGImage png, 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);
|
|
void create_tilemap(const struct Options opts, struct GBImage *gb,
|
|
struct Tilemap *tilemap);
|
|
void output_tilemap_file(const struct Options opts,
|
|
const struct Tilemap tilemap);
|
|
void output_palette_file(const struct Options opts, const struct PNGImage png);
|
|
|
|
#endif
|