aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/toggletextureproxy.h
diff options
context:
space:
mode:
authorNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
committerNarendra Umate <[email protected]>2013-12-02 23:36:05 -0800
commit8737f191f3b59f001a77bf6c08091109211c1c9f (patch)
treedbbf05c004d9b026f2c1f23f06600fe0add82c36 /mp/src/game/client/toggletextureproxy.h
parentUpdate .gitignore. (diff)
parentMake .xcconfigs text files too. (diff)
downloadsource-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.tar.xz
source-sdk-2013-8737f191f3b59f001a77bf6c08091109211c1c9f.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'mp/src/game/client/toggletextureproxy.h')
-rw-r--r--mp/src/game/client/toggletextureproxy.h76
1 files changed, 38 insertions, 38 deletions
diff --git a/mp/src/game/client/toggletextureproxy.h b/mp/src/game/client/toggletextureproxy.h
index 91b13f08..66bd8285 100644
--- a/mp/src/game/client/toggletextureproxy.h
+++ b/mp/src/game/client/toggletextureproxy.h
@@ -1,39 +1,39 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-// $NoKeywords: $
-//=============================================================================//
-
-#ifndef TOGGLETEXTUREPROXY
-#define TOGGLETEXTUREPROXY
-
-#include "materialsystem/imaterialproxy.h"
-
-class IMaterial;
-class IMaterialVar;
-
-#pragma warning (disable : 4100)
-
-class CBaseToggleTextureProxy : public IMaterialProxy
-{
-public:
- CBaseToggleTextureProxy();
- virtual ~CBaseToggleTextureProxy();
-
- virtual bool Init( IMaterial *pMaterial, KeyValues *pKeyValues );
- virtual void OnBind( void *pC_BaseEntity );
- virtual void Release( void ) { delete this; }
- virtual IMaterial *GetMaterial();
-
-private:
- void Cleanup();
-
- C_BaseEntity *BindArgToEntity( void *pArg );
-
- IMaterialVar *m_TextureVar;
- IMaterialVar *m_TextureFrameNumVar;
- bool m_WrapAnimation;
-};
-
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef TOGGLETEXTUREPROXY
+#define TOGGLETEXTUREPROXY
+
+#include "materialsystem/imaterialproxy.h"
+
+class IMaterial;
+class IMaterialVar;
+
+#pragma warning (disable : 4100)
+
+class CBaseToggleTextureProxy : public IMaterialProxy
+{
+public:
+ CBaseToggleTextureProxy();
+ virtual ~CBaseToggleTextureProxy();
+
+ virtual bool Init( IMaterial *pMaterial, KeyValues *pKeyValues );
+ virtual void OnBind( void *pC_BaseEntity );
+ virtual void Release( void ) { delete this; }
+ virtual IMaterial *GetMaterial();
+
+private:
+ void Cleanup();
+
+ C_BaseEntity *BindArgToEntity( void *pArg );
+
+ IMaterialVar *m_TextureVar;
+ IMaterialVar *m_TextureFrameNumVar;
+ bool m_WrapAnimation;
+};
+
#endif // TOGGLETEXTUREPROXY \ No newline at end of file