32 lines
523 B
C
32 lines
523 B
C
|
|
#ifndef XGFXIMAGE_H
|
||
|
|
#define XGFXIMAGE_H
|
||
|
|
|
||
|
|
#include "material.h"
|
||
|
|
#include "xasset.h"
|
||
|
|
#include "xcardmemory.h"
|
||
|
|
|
||
|
|
class XGfxImage : public XAsset
|
||
|
|
{
|
||
|
|
MapType mapType;
|
||
|
|
XGfxTexture texture;
|
||
|
|
quint8 semantic;
|
||
|
|
XCardMemory cardMemory;
|
||
|
|
quint16 width;
|
||
|
|
quint16 height;
|
||
|
|
quint16 depth;
|
||
|
|
quint8 category;
|
||
|
|
bool delayLoadPixels;
|
||
|
|
|
||
|
|
qint32 pixelsPtr;
|
||
|
|
quint8 *pixels;
|
||
|
|
|
||
|
|
unsigned int baseSize;
|
||
|
|
quint16 streamSlot;
|
||
|
|
bool streaming;
|
||
|
|
|
||
|
|
qint32 namePtr;
|
||
|
|
QString name;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // XGFXIMAGE_H
|