#ifndef XSOUNDALIAS_H
#define XSOUNDALIAS_H

#include "xasset.h"
#include "xsoundcurve.h"
#include "xsoundfile.h"
#include "xspeakermap.h"
#include "xstring.h"

class XSoundAlias : public XAsset
{
public:
    XSoundAlias();
    ~XSoundAlias();

    virtual void Clear() override;
    virtual void ParseData(QDataStream* aStream) override;

private:
    XString mAliasName;
    XString mSubtitle;
    XString mSecondaryAliasName;
    XString mChainAliasName;
    XSoundFile mSoundFile;
    int mSequence;
    float mVolMin;
    float mVolMax;
    float mPitchMin;
    float mPitchMax;
    float mDistMin;
    float mDistMax;
    int mFlags;
    float mSlavePercentage;
    float mProbability;
    float mLfePercentage;
    float mCenterPercentage;
    int mStartDelay;
    XSoundCurve mVolumeFalloffCurve;
    float mEnvelopMin;
    float mEnvelopMax;
    float mEnvelopPercentage;
    XSpeakerMap mSpeakerMap;

};

#endif // XSOUNDALIAS_H
