Counter Strike : Global Offensive Source Code
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

46 lines
857 B

//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#ifndef ANIMDATA_H
#define ANIMDATA_H
#ifdef _WIN32
#pragma once
#endif
#include "typedlog.h"
#include "tier1/utlstring.h"
#include "dmxloader/dmxelement.h"
class CAnimData
{
DECLARE_DMXELEMENT_UNPACK()
public:
CAnimData();
~CAnimData();
bool Unserialize( CDmxElement *pElement );
bool IsDone( DmeTime_t time );
CUtlString m_pStateName;
CUtlString m_pAnimAlias;
int m_TextureAnimSheetSeqNumber;
float m_AnimationRate;
CTypedLog< color32 > m_ColorAnim;
CTypedLog< Vector2D > m_CenterPosAnim;
CTypedLog< Vector2D > m_ScaleAnim;
CTypedLog< float > m_RotationAnim;
CTypedLog< CUtlString > m_FontAnim;
};
#endif // ANIMDATA_H