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

42
CryMovie/CharacterTrack.h Normal file
View File

@@ -0,0 +1,42 @@
////////////////////////////////////////////////////////////////////////////
//
// Crytek Engine Source File.
// Copyright (C), Crytek Studios, 2002.
// -------------------------------------------------------------------------
// File name: charactertrack.h
// Version: v1.00
// Created: 20/8/2002 by Timur.
// Compilers: Visual Studio.NET
// Description:
// -------------------------------------------------------------------------
// History:
//
////////////////////////////////////////////////////////////////////////////
#ifndef __charactertrack_h__
#define __charactertrack_h__
#if _MSC_VER > 1000
#pragma once
#endif
//forward declarations.
#include "IMovieSystem.h"
#include "AnimTrack.h"
/** CCharacterTrack contains entity keys, when time reach event key, it fires script event or start animation etc...
*/
class CCharacterTrack : public TAnimTrack<ICharacterKey>
{
public:
//////////////////////////////////////////////////////////////////////////
// Overrides of IAnimTrack.
//////////////////////////////////////////////////////////////////////////
EAnimTrackType GetType() { return ATRACK_CHARACTER; };
EAnimValue GetValueType() { return AVALUE_CHARACTER; };
void GetKeyInfo( int key,const char* &description,float &duration );
void SerializeKey( ICharacterKey &key,XmlNodeRef &keyNode,bool bLoading );
};
#endif // __charactertrack_h__