2025-09-05 21:26:19 +00:00
|
|
|
#ifndef XFXEFFECTDEF_H
|
|
|
|
|
#define XFXEFFECTDEF_H
|
|
|
|
|
|
|
|
|
|
#include "xasset.h"
|
|
|
|
|
#include "xfxelemdef.h"
|
|
|
|
|
|
|
|
|
|
class XFxEffectDef : public XAsset
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit XFxEffectDef();
|
|
|
|
|
~XFxEffectDef();
|
|
|
|
|
|
|
|
|
|
void Clear() override;
|
2025-09-10 21:58:26 -04:00
|
|
|
void ParseData(XDataStream *aStream) override;
|
2025-09-05 21:26:19 +00:00
|
|
|
|
|
|
|
|
private:
|
2025-09-07 23:15:55 -04:00
|
|
|
XString mName;
|
2025-09-05 21:26:19 +00:00
|
|
|
int mFlags;
|
|
|
|
|
int mTotalSize;
|
|
|
|
|
int mMsecLoopingLife;
|
|
|
|
|
int mElemDefCountLooping;
|
|
|
|
|
int mElemDefCountOneShot;
|
|
|
|
|
int mElemDefCountEmission;
|
|
|
|
|
QVector<XFxElemDef> mElemDefs;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // XFXEFFECTDEF_H
|