summaryrefslogtreecommitdiff
path: root/tools/nitrogfx/gfx.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nitrogfx/gfx.h')
-rw-r--r--tools/nitrogfx/gfx.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/nitrogfx/gfx.h b/tools/nitrogfx/gfx.h
index 5355ced8..06adca79 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,9 @@ 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 WriteNtrNCLRPalette(char *path, struct Palette *palette);
+void WriteNtrNCPRPalette(char *path, struct Palette *palette);
#endif // GFX_H