mirror of
https://github.com/pret/pokeheartgold.git
synced 2026-05-13 06:27:10 -05:00
52 lines
867 B
C
52 lines
867 B
C
// 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;
|
|
int palIndex;
|
|
};
|
|
|
|
struct PngToGbaOptions {
|
|
int numTiles;
|
|
int bitDepth;
|
|
int metatileWidth;
|
|
int metatileHeight;
|
|
};
|
|
|
|
struct PngToNtrOptions {
|
|
int numTiles;
|
|
int bitDepth;
|
|
int metatileWidth;
|
|
int metatileHeight;
|
|
bool clobberSize;
|
|
bool byteOrder;
|
|
bool version101;
|
|
bool sopc;
|
|
uint32_t scanMode;
|
|
bool handleEmpty;
|
|
};
|
|
|
|
struct NtrToPngOptions {
|
|
char *paletteFilePath;
|
|
int bitDepth;
|
|
bool hasTransparency;
|
|
int width;
|
|
int metatileWidth;
|
|
int metatileHeight;
|
|
int palIndex;
|
|
bool scanFrontToBack;
|
|
bool handleEmpty;
|
|
};
|
|
|
|
|
|
#endif // OPTIONS_H
|