[No changes]
This commit is contained in:
parent
c1e9b308a1
commit
9958f33b60
53
libs/xassets/xdynentitydef.h
Normal file
53
libs/xassets/xdynentitydef.h
Normal file
@ -0,0 +1,53 @@
|
|||||||
|
#ifndef XDYNENTITYDEF_H
|
||||||
|
#define XDYNENTITYDEF_H
|
||||||
|
|
||||||
|
#include "xasset.h"
|
||||||
|
#include "xfxeffectdef.h"
|
||||||
|
#include "xgfxplacement.h"
|
||||||
|
#include "xmodel.h"
|
||||||
|
#include "xmodelpieces.h"
|
||||||
|
|
||||||
|
enum XDynEntityType
|
||||||
|
{
|
||||||
|
DYNENT_TYPE_INVALID = 0x0,
|
||||||
|
DYNENT_TYPE_CLUTTER = 0x1,
|
||||||
|
DYNENT_TYPE_DESTRUCT = 0x2,
|
||||||
|
DYNENT_TYPE_COUNT = 0x3,
|
||||||
|
};
|
||||||
|
|
||||||
|
class XDynEntityDef : public XAsset
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
explicit XDynEntityDef();
|
||||||
|
~XDynEntityDef();
|
||||||
|
|
||||||
|
void ParseData(QDataStream *aStream) override;
|
||||||
|
void Clear() override;
|
||||||
|
|
||||||
|
private:
|
||||||
|
XDynEntityType mType;
|
||||||
|
XGfxPlacement mPose;
|
||||||
|
qint32 mModelPtr;
|
||||||
|
XModel mModel;
|
||||||
|
quint16 mBrushModel;
|
||||||
|
quint16 mPhysicsBrushModel;
|
||||||
|
qint32 mBestroyFxPtr;
|
||||||
|
XFxEffectDef mDestroyFx;
|
||||||
|
qint32 mDestroyPiecesPtr;
|
||||||
|
XModelPieces mDestroyPieces;
|
||||||
|
qint32 mPhysPresetPtr;
|
||||||
|
XPhysPreset mPhysPreset;
|
||||||
|
int mHealth;
|
||||||
|
XPhysMass mMass;
|
||||||
|
int mContents;
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // XDYNENTITYDEF_H
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user