This commit is contained in:
romkazvo
2023-08-07 19:29:24 +08:00
commit 34d6c5d489
4832 changed files with 1389451 additions and 0 deletions

22
CryMovie/SoundTrack.h Normal file
View File

@@ -0,0 +1,22 @@
#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 );
};