2018-09-06 18:44:50 +02:00
|
|
|
// Copyright (c) 2018 huderlem
|
|
|
|
|
|
|
|
#ifndef OPTIONS_H
|
|
|
|
#define OPTIONS_H
|
|
|
|
|
|
|
|
#include <stdbool.h>
|
2022-08-19 05:07:25 +02:00
|
|
|
#include "gfx.h"
|
2018-09-06 18:44:50 +02:00
|
|
|
|
|
|
|
struct GbaToPngOptions {
|
|
|
|
char *paletteFilePath;
|
|
|
|
int bitDepth;
|
|
|
|
bool hasTransparency;
|
|
|
|
int width;
|
|
|
|
int metatileWidth;
|
|
|
|
int metatileHeight;
|
2020-04-24 14:47:22 +02:00
|
|
|
char *tilemapFilePath;
|
|
|
|
bool isAffineMap;
|
2023-05-10 19:37:48 +02:00
|
|
|
bool isTiled;
|
|
|
|
int dataWidth;
|
2018-09-06 18:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
struct PngToGbaOptions {
|
|
|
|
int numTiles;
|
2022-08-19 05:07:25 +02:00
|
|
|
enum NumTilesMode numTilesMode;
|
2018-09-06 18:44:50 +02:00
|
|
|
int bitDepth;
|
|
|
|
int metatileWidth;
|
|
|
|
int metatileHeight;
|
2020-04-24 14:47:22 +02:00
|
|
|
char *tilemapFilePath;
|
|
|
|
bool isAffineMap;
|
2023-05-10 19:37:48 +02:00
|
|
|
bool isTiled;
|
|
|
|
int dataWidth;
|
2018-09-06 18:44:50 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // OPTIONS_H
|