From 12795451e67738526d1ef09751dadd672f7ed2a3 Mon Sep 17 00:00:00 2001 From: Nicholas Johnson Date: Wed, 3 Sep 2025 13:28:03 -0400 Subject: [PATCH] Add xsurfacevertexinfo structures --- libs/xassets/xsurfacevertexinfo.cpp | 20 ++++++++++++++++++++ libs/xassets/xsurfacevertexinfo.h | 20 ++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 libs/xassets/xsurfacevertexinfo.cpp create mode 100644 libs/xassets/xsurfacevertexinfo.h diff --git a/libs/xassets/xsurfacevertexinfo.cpp b/libs/xassets/xsurfacevertexinfo.cpp new file mode 100644 index 0000000..88ce566 --- /dev/null +++ b/libs/xassets/xsurfacevertexinfo.cpp @@ -0,0 +1,20 @@ +#include "xsurfacevertexinfo.h" + +XSurfaceVertexInfo::XSurfaceVertexInfo() + : XAsset() + , mVertCount() + , mVertsBlendPtr() + , mVertsBlend() +{ + +} + +void XSurfaceVertexInfo::ParseData(QDataStream *aStream) +{ + +} + +void XSurfaceVertexInfo::Clear() +{ + +} diff --git a/libs/xassets/xsurfacevertexinfo.h b/libs/xassets/xsurfacevertexinfo.h new file mode 100644 index 0000000..f4dff40 --- /dev/null +++ b/libs/xassets/xsurfacevertexinfo.h @@ -0,0 +1,20 @@ +#ifndef XSURFACEVERTEXINFO_H +#define XSURFACEVERTEXINFO_H + +#include "xasset.h" + +class XSurfaceVertexInfo : public XAsset +{ +public: + explicit XSurfaceVertexInfo(); + + void ParseData(QDataStream *aStream) override; + void Clear() override; + +private: + qint16 mVertCount[4]; + qint32 mVertsBlendPtr; + quint16 mVertsBlend; +}; + +#endif // XSURFACEVERTEXINFO_H