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 baafe8b4e5 - Show all commits

View File

@ -0,0 +1,42 @@
#include "xgfxlightmaparray.h"
XGfxLightmapArray::XGfxLightmapArray()
: primary(nullptr), secondary(nullptr)
{
}
XGfxLightmapArray::~XGfxLightmapArray()
{
Clear();
}
void XGfxLightmapArray::Clear()
{
// Delete pointers to avoid memory leaks
delete primary;
delete secondary;
primary = nullptr;
secondary = nullptr;
}
void XGfxLightmapArray::ParseData(QDataStream *aStream)
{
// Implement parsing logic here
// This is just a placeholder implementation
Clear();
// Parse data from stream
// Example:
// *primary = new XGfxImage();
// secondary = new XGfxImage();
// primary->ParseData(aStream);
// secondary->ParseData(aStream);
// For now, we'll just read some dummy data to keep the compiler happy
qint32 dummy;
*aStream >> dummy;
}