From 7a9387269e3b123b1647cf59c78cc6c998a9a330 Mon Sep 17 00:00:00 2001 From: Treeki Date: Tue, 3 Jun 2014 05:55:54 +0200 Subject: experimental 3DS support --- ctr/image.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 ctr/image.h (limited to 'ctr/image.h') diff --git a/ctr/image.h b/ctr/image.h new file mode 100644 index 0000000..45eb695 --- /dev/null +++ b/ctr/image.h @@ -0,0 +1,26 @@ +#ifndef CTRIMAGE_H +#define CTRIMAGE_H + +#include "../wii/common.h" +#include + +class CTRImage { +public: + int format; + QImage image; +}; + +class CTRImageCollection { +public: + CTRImageCollection(); + CTRImageCollection(QDataStream &stream); + + void writeToDataStream(QDataStream &out) const; + + QVector images; + +private: + void readTexture(QDataStream &in, QDataStream &header, CTRImage &tex); +}; + +#endif // CTRIMAGE_H -- cgit v1.2.3