summaryrefslogtreecommitdiff
path: root/tools/gbagfx/options.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-09-06 13:46:22 -0500
committerGitHub <noreply@github.com>2018-09-06 13:46:22 -0500
commitcbf9067c3ba3541c0e9fa2f0ccdf0e70cb6f8411 (patch)
treec841c949ad80fc973ab8a2262a40c7807c46fb50 /tools/gbagfx/options.h
parent3f1288e3e055013e0ab847ba5fea4b566bc31996 (diff)
Add ability to specify metatile dimensions to gbagfx (#684)
Diffstat (limited to 'tools/gbagfx/options.h')
-rwxr-xr-xtools/gbagfx/options.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/gbagfx/options.h b/tools/gbagfx/options.h
new file mode 100755
index 000000000..2ff3967a4
--- /dev/null
+++ b/tools/gbagfx/options.h
@@ -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