mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
write palette of region map image, fix ruby city map render
This commit is contained in:
@@ -1,15 +1,16 @@
|
||||
#ifndef PALETTEPARSER_H
|
||||
#define PALETTEPARSER_H
|
||||
#ifndef PALETTEUTIL_H
|
||||
#define PALETTEUTIL_H
|
||||
|
||||
#include <QList>
|
||||
#include <QRgb>
|
||||
#include <QString>
|
||||
|
||||
class PaletteParser
|
||||
class PaletteUtil
|
||||
{
|
||||
public:
|
||||
PaletteParser();
|
||||
PaletteUtil();
|
||||
QList<QRgb> parse(QString filepath, bool *error);
|
||||
void writeJASC(QString filepath, QVector<QRgb> colors, int offset, int nColors);
|
||||
private:
|
||||
QList<QRgb> parsePal(QString filepath, bool *error);
|
||||
QList<QRgb> parseJASC(QString filepath, bool *error);
|
||||
@@ -20,4 +21,4 @@ private:
|
||||
int clampColorValue(int value);
|
||||
};
|
||||
|
||||
#endif // PALETTEPARSER_H
|
||||
#endif // PALETTEUTIL_H
|
||||
Reference in New Issue
Block a user