feature/test #9

Merged
njohnson merged 318 commits from feature/test into main 2025-09-07 12:35:21 -04:00
Showing only changes of commit 54a46e8a3e - Show all commits

View File

@ -0,0 +1,37 @@
#ifndef XGFXLIGHTGRID_H
#define XGFXLIGHTGRID_H
#include "xasset.h"
#include "xgfxlightgridentry.h"
#include "xgfxlightgridcolors.h"
#include <QVector>
#include <QVector3D>
class XGfxLightGrid : public XAsset
{
public:
XGfxLightGrid();
virtual ~XGfxLightGrid();
// Override Clear and ParseData from XAsset
virtual void Clear() override;
virtual void ParseData(QDataStream *aStream) override;
private:
bool mHasLightRegions;
unsigned int mSunPrimaryLightIndex;
QVector3D mMins;
QVector3D mMaxs;
unsigned int mRowAxis;
unsigned int mColAxis;
unsigned __int16 *mRowDataStart;
unsigned int mRawRowDataSize;
unsigned __int8 *mRawRowData;
unsigned int mEntryCount;
QVector<XGfxLightGridEntry> mEntries;
unsigned int mColorCount;
QVector<XGfxLightGridColors> mColors;
};
#endif // XGFXLIGHTGRID_H