2025-09-03 13:06:22 -04:00
|
|
|
#ifndef XFXTRAILDEF_H
|
|
|
|
|
#define XFXTRAILDEF_H
|
|
|
|
|
|
|
|
|
|
#include "xasset.h"
|
2025-09-05 18:35:17 -04:00
|
|
|
#include "xfxtrailvertex.h"
|
2025-09-03 13:06:22 -04:00
|
|
|
|
|
|
|
|
#include <QVector>
|
|
|
|
|
|
|
|
|
|
class XFxTrailDef : public XAsset
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
explicit XFxTrailDef();
|
|
|
|
|
~XFxTrailDef();
|
|
|
|
|
|
|
|
|
|
void Clear() override;
|
2025-09-10 21:58:26 -04:00
|
|
|
void ParseData(XDataStream *aStream) override;
|
2025-09-03 13:06:22 -04:00
|
|
|
|
|
|
|
|
private:
|
|
|
|
|
int mScrollTimeMsec;
|
|
|
|
|
int mRepeatDist;
|
|
|
|
|
int mSplitDist;
|
|
|
|
|
int mVertCount;
|
|
|
|
|
QVector<XFxTrailVertex> mVerts;
|
|
|
|
|
int mIndCount;
|
2025-09-07 12:36:08 -04:00
|
|
|
QVector<quint32> mIndices;
|
2025-09-03 13:06:22 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif // XFXTRAILDEF_H
|