Make buildable with all those assets.
This commit is contained in:
parent
6211ea3c77
commit
1eb340aaea
@ -6,7 +6,7 @@
|
||||
class XCardMemory : public XAsset
|
||||
{
|
||||
public:
|
||||
XCardMemory();
|
||||
explicit XCardMemory();
|
||||
~XCardMemory();
|
||||
|
||||
quint32 GetPlatform() const;
|
||||
|
||||
@ -13,6 +13,11 @@ XCLeaf::XCLeaf()
|
||||
{
|
||||
}
|
||||
|
||||
XCLeaf::~XCLeaf()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XCLeaf::ParseData(QDataStream *aStream) {
|
||||
if (GetPtr() == -1) {
|
||||
*aStream
|
||||
|
||||
@ -9,6 +9,7 @@ class XCLeaf : public XAsset
|
||||
{
|
||||
public:
|
||||
explicit XCLeaf();
|
||||
~XCLeaf();
|
||||
|
||||
void ParseData(QDataStream *aStream) override;
|
||||
|
||||
|
||||
@ -15,3 +15,8 @@ void XCLeafBrushNodeLeaf::ParseData(QDataStream *aStream) {
|
||||
// We would parse brushes here, but we're using a placeholder
|
||||
}
|
||||
}
|
||||
|
||||
void XCLeafBrushNodeLeaf::Clear()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@ -236,26 +236,24 @@ void XClipMap::ParseData(QDataStream *aStream)
|
||||
}
|
||||
}
|
||||
|
||||
mLeafbrushNodes()
|
||||
mLeafsurfaces()
|
||||
mVerts()
|
||||
mTriIndices()
|
||||
mTriEdgeIsWalkable()
|
||||
mBorders()
|
||||
mPartitions()
|
||||
mAabbTrees()
|
||||
mCodels()
|
||||
mBrushes()
|
||||
mVisibility()
|
||||
mMapEnts()
|
||||
mBoxBrush()
|
||||
mBoxModel()
|
||||
mDynEntCount(0)
|
||||
mDynEntDefList()
|
||||
mDynEntPoseList()
|
||||
mDynEntClientList()
|
||||
mDynEntCollList()
|
||||
(0)
|
||||
// mLeafsurfaces()
|
||||
// mVerts()
|
||||
// mTriIndices()
|
||||
// mTriEdgeIsWalkable()
|
||||
// mBorders()
|
||||
// mPartitions()
|
||||
// mAabbTrees()
|
||||
// mCodels()
|
||||
// mBrushes()
|
||||
// mVisibility()
|
||||
// mMapEnts()
|
||||
// mBoxBrush()
|
||||
// mBoxModel()
|
||||
// mDynEntCount(0)
|
||||
// mDynEntDefList()
|
||||
// mDynEntPoseList()
|
||||
// mDynEntClientList()
|
||||
// mDynEntCollList()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
XCStaticModel::XCStaticModel()
|
||||
: XAsset()
|
||||
, mWritable()
|
||||
, mModel(new XModel())
|
||||
, mModel()
|
||||
, mOrigin()
|
||||
, mInvScaledAxis()
|
||||
, mAbsmin()
|
||||
@ -11,6 +11,11 @@ XCStaticModel::XCStaticModel()
|
||||
{
|
||||
}
|
||||
|
||||
XCStaticModel::~XCStaticModel()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XCStaticModel::ParseData(QDataStream *aStream) {
|
||||
if (GetPtr() == -1) {
|
||||
// Parse writable
|
||||
|
||||
@ -5,6 +5,11 @@ XDMaterial::XDMaterial()
|
||||
: XAsset() {
|
||||
}
|
||||
|
||||
XDMaterial::~XDMaterial()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XDMaterial::ParseData(QDataStream *aStream) {
|
||||
if (GetPtr() == -1) {
|
||||
mMaterial = XString::ParseCustom(aStream);
|
||||
|
||||
@ -1,23 +1,21 @@
|
||||
#include "xgfxstatebits.h"
|
||||
#include "xgfxsurface.h"
|
||||
|
||||
XGfxStateBits::XGfxStateBits()
|
||||
: XAsset()
|
||||
, mLoadBits()
|
||||
XGfxSurface::XGfxSurface()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
XGfxStateBits::~XGfxStateBits()
|
||||
XGfxSurface::~XGfxSurface()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XGfxStateBits::ParseData(QDataStream *aStream)
|
||||
void XGfxSurface::ParseData(QDataStream *aStream)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XGfxStateBits::Clear()
|
||||
void XGfxSurface::Clear()
|
||||
{
|
||||
mLoadBits = QVector<quint32>();
|
||||
|
||||
}
|
||||
|
||||
@ -1,23 +1 @@
|
||||
#include "xcardmemory.h"
|
||||
|
||||
XCardMemory::XCardMemory()
|
||||
: XAsset()
|
||||
, mPlatform(0)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
XCardMemory::~XCardMemory()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
void XCardMemory::ParseData(QDataStream *aStream)
|
||||
{
|
||||
*aStream >> mPlatform;
|
||||
}
|
||||
|
||||
void XCardMemory::Clear()
|
||||
{
|
||||
mPlatform = 0;
|
||||
}
|
||||
#include "xgputexturefetchconstant.h"
|
||||
|
||||
@ -4,7 +4,7 @@ XMaterialShaderArgument::XMaterialShaderArgument()
|
||||
: XAsset()
|
||||
, mType(0)
|
||||
, mDest(0)
|
||||
, mDef()
|
||||
, mDef(*this)
|
||||
{
|
||||
SetName("Material Shader Argument");
|
||||
}
|
||||
@ -22,7 +22,7 @@ void XMaterialShaderArgument::ParseData(QDataStream *aStream)
|
||||
>> mType
|
||||
>> mDest;
|
||||
|
||||
mDef.ParseData(aStream, mType);
|
||||
mDef.ParseData(aStream);
|
||||
}
|
||||
|
||||
quint16 XMaterialShaderArgument::GetType() const
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user