Clean up tileset C parsing

This commit is contained in:
GriffinR
2022-10-07 14:29:51 -04:00
committed by Marcus Huderle
parent 9b4c55106b
commit 374da65b7f
5 changed files with 43 additions and 37 deletions

View File

@@ -37,10 +37,11 @@ public:
static QList<QList<QRgb>> getBlockPalettes(Tileset*, Tileset*, bool useTruePalettes = false);
static QList<QRgb> getPalette(int, Tileset*, Tileset*, bool useTruePalettes = false);
static bool metatileIsValid(uint16_t metatileId, Tileset *, Tileset *);
static QString getExpectedDir(QString tilesetName, bool isSecondary);
QString getExpectedDir();
bool appendToHeaders(QString root, QString friendlyName, bool usingAsm);
bool appendToGraphics(QString root, QString friendlyName, bool primary, bool usingAsm);
bool appendToMetatiles(QString root, QString friendlyName, bool primary, bool usingAsm);
bool appendToGraphics(QString root, QString friendlyName, bool usingAsm);
bool appendToMetatiles(QString root, QString friendlyName, bool usingAsm);
};
#endif // TILESET_H