summaryrefslogtreecommitdiff
path: root/tools/gbagfx/options.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-09-06 11:44:50 -0500
committerMarcus Huderle <huderlem@gmail.com>2018-09-06 11:44:50 -0500
commit78cdd97c8b958fa60ab0d70201360835aac985c6 (patch)
treee098490c90279eda8ab1c614ac3667086aa17118 /tools/gbagfx/options.h
parentf8f7a8e300eb07935a535996b169682810380a92 (diff)
Add ability to specify metatile dimensions to gbagfx
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