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.
 
 
 
 
 
 

54 lines
1.6 KiB

//========= Copyright © 1996-2009, Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=====================================================================================//
#ifndef C_MOVIE_DISPLAY_H
#define C_MOVIE_DISPLAY_H
#include "cbase.h"
class C_MovieDisplay : public C_BaseEntity
{
public:
DECLARE_CLASS( C_MovieDisplay, C_BaseEntity );
DECLARE_CLIENTCLASS();
C_MovieDisplay();
~C_MovieDisplay();
bool IsEnabled( void ) const { return m_bEnabled; }
bool IsLooping( void ) const { return m_bLooping; }
bool IsStretchingToFill( void ) const { return m_bStretchToFill; }
bool IsForcedSlave( void ) const { return m_bForcedSlave; }
bool IsUsingCustomUVs( void ) const { return m_bUseCustomUVs; }
bool GetWantsToBeMaster( void ) const { return m_bWantsToBeMaster; }
void SetMasterAttempted( void ) { m_bWantsToBeMaster = false; m_bForcedSlave = false; }
float GetUMin( void ) const { return m_flUMin; }
float GetUMax( void ) const { return m_flUMax; }
float GetVMin( void ) const { return m_flVMin; }
float GetVMax( void ) const { return m_flVMax; }
virtual void ReceiveMessage( int classID, bf_read &msg );
const char *GetMovieFilename( void ) const { return m_szMovieFilename; }
const char *GetGroupName( void ) const { return m_szGroupName; }
private:
bool m_bEnabled;
bool m_bLooping;
char m_szMovieFilename[128];
char m_szGroupName[128];
bool m_bStretchToFill;
bool m_bForcedSlave;
bool m_bUseCustomUVs;
bool m_bWantsToBeMaster;
float m_flUMin;
float m_flUMax;
float m_flVMin;
float m_flVMax;
};
#endif //C_MOVIE_DISPLAY_H