diff options
author | kr3nshaw <20672068+kr3nshaw@users.noreply.github.com> | 2020-06-08 20:46:44 +1000 |
---|---|---|
committer | kr3nshaw <20672068+kr3nshaw@users.noreply.github.com> | 2020-06-08 20:46:44 +1000 |
commit | dd04f2ba09632dcaa6a27fdf802c3687b87d9370 (patch) | |
tree | 4f9d5555e6158a5e464827b1a64ce4b8a3d36772 /tools/nitrogfx/gfx.h | |
parent | 9243be03ab56a74fd083205c9a2017e4fc4b4ff6 (diff) | |
parent | 5dfe3440383dd530bda24985f802d8c94bb452b8 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tools/nitrogfx/gfx.h')
-rw-r--r-- | tools/nitrogfx/gfx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/nitrogfx/gfx.h b/tools/nitrogfx/gfx.h index 5355ced8..fc57380e 100644 --- a/tools/nitrogfx/gfx.h +++ b/tools/nitrogfx/gfx.h @@ -15,6 +15,7 @@ struct Color { struct Palette { struct Color colors[256]; int numColors; + int bitDepth; }; struct Image { @@ -31,6 +32,8 @@ void ReadImage(char *path, int tilesWidth, int bitDepth, int metatileWidth, int void WriteImage(char *path, int numTiles, int bitDepth, int metatileWidth, int metatileHeight, struct Image *image, bool invertColors); void FreeImage(struct Image *image); void ReadGbaPalette(char *path, struct Palette *palette); +void ReadNtrPalette(char *path, struct Palette *palette); void WriteGbaPalette(char *path, struct Palette *palette); +void WriteNtrPalette(char *path, struct Palette *palette, bool ncpr); #endif // GFX_H |