Add ability to specify metatile dimensions to gbagfx

This commit is contained in:
Marcus Huderle
2018-09-06 11:44:50 -05:00
parent f8f7a8e300
commit 78cdd97c8b
5 changed files with 210 additions and 105 deletions
+24
View File
@@ -0,0 +1,24 @@
// Copyright (c) 2018 huderlem
#ifndef OPTIONS_H
#define OPTIONS_H
#include <stdbool.h>
struct GbaToPngOptions {
char *paletteFilePath;
int bitDepth;
bool hasTransparency;
int width;
int metatileWidth;
int metatileHeight;
};
struct PngToGbaOptions {
int numTiles;
int bitDepth;
int metatileWidth;
int metatileHeight;
};
#endif // OPTIONS_H