feature/test #9
@ -1,9 +1,3 @@
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#ifndef XDMATERIAL_H
|
||||
#define XDMATERIAL_H
|
||||
|
||||
|
||||
@ -1,5 +1,3 @@
|
||||
|
||||
|
||||
#ifndef XGAMEWORLDMP_H
|
||||
#define XGAMEWORLDMP_H
|
||||
|
||||
|
||||
@ -1,31 +1,41 @@
|
||||
#ifndef XGFXIMAGE_H
|
||||
#define XGFXIMAGE_H
|
||||
|
||||
#include "material.h"
|
||||
#include "xasset.h"
|
||||
#include "xcardmemory.h"
|
||||
#include "xgfxtexture.h"
|
||||
#include "xmaptype.h"
|
||||
|
||||
#include <QString>
|
||||
|
||||
class XGfxImage : public XAsset
|
||||
{
|
||||
MapType mapType;
|
||||
XGfxTexture texture;
|
||||
quint8 semantic;
|
||||
XCardMemory cardMemory;
|
||||
quint16 width;
|
||||
quint16 height;
|
||||
quint16 depth;
|
||||
quint8 category;
|
||||
bool delayLoadPixels;
|
||||
public:
|
||||
explicit XGfxImage();
|
||||
|
||||
qint32 pixelsPtr;
|
||||
quint8 *pixels;
|
||||
virtual void ParseData(QDataStream* aStream) override;
|
||||
virtual void Clear() override;
|
||||
|
||||
unsigned int baseSize;
|
||||
quint16 streamSlot;
|
||||
bool streaming;
|
||||
private:
|
||||
XMapType mMapType;
|
||||
XGfxTexture mTexture;
|
||||
quint8 mSemantic;
|
||||
XCardMemory mCardMemory;
|
||||
quint16 mWidth;
|
||||
quint16 mHeight;
|
||||
quint16 mDepth;
|
||||
quint8 mCategory;
|
||||
bool mDelayLoadPixels;
|
||||
|
||||
qint32 namePtr;
|
||||
QString name;
|
||||
qint32 mPixelsPtr;
|
||||
quint8 *mPixels;
|
||||
|
||||
unsigned int mBaseSize;
|
||||
quint16 mStreamSlot;
|
||||
bool mStreaming;
|
||||
|
||||
qint32 mNamePtr;
|
||||
QString mName;
|
||||
};
|
||||
|
||||
#endif // XGFXIMAGE_H
|
||||
|
||||
@ -3,6 +3,10 @@
|
||||
|
||||
#include "xasset.h"
|
||||
|
||||
#include <QVector>
|
||||
|
||||
class XGfxTexture;
|
||||
|
||||
class XGfxImageLoadDef : public XAsset
|
||||
{
|
||||
public:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user