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