summaryrefslogtreecommitdiff
path: root/tools/gbagfx/options.h
diff options
context:
space:
mode:
authorTetrable <atiftetra@gmail.com>2018-09-09 20:42:23 +0100
committerGitHub <noreply@github.com>2018-09-09 20:42:23 +0100
commit3a0c26887efb6abc8106671ceefcc098737d823b (patch)
tree930dcf2dc217011c45671f3bf2017ec9111fd6ed /tools/gbagfx/options.h
parent5a53d6d1fb304736c1fb3c222192a3b722707bca (diff)
parente1834c9d7bc961f872169e056b788fec04f39867 (diff)
Merge pull request #3 from pret/master
merge
Diffstat (limited to 'tools/gbagfx/options.h')
-rw-r--r--tools/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 100644
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