Files
FC1/CryMovie/SoundTrack.h
romkazvo 34d6c5d489 123
2023-08-07 19:29:24 +08:00

23 lines
478 B
C++

#pragma once
#include "IMovieSystem.h"
#include "AnimTrack.h"
struct SSoundInfo
{
int nLastKey;
string sLastFilename;
_smart_ptr<ISound> pSound;
int nLength;
};
class CSoundTrack : public TAnimTrack<ISoundKey>
{
public:
EAnimTrackType GetType() { return ATRACK_SOUND; };
EAnimValue GetValueType() { return AVALUE_SOUND; };
void GetKeyInfo( int key,const char* &description,float &duration );
void SerializeKey( ISoundKey &key,XmlNodeRef &keyNode,bool bLoading );
};