aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/client/c_gib.h
diff options
context:
space:
mode:
authorJørgen P. Tjernø <[email protected]>2013-12-02 19:31:46 -0800
committerJørgen P. Tjernø <[email protected]>2013-12-02 19:46:31 -0800
commitf56bb35301836e56582a575a75864392a0177875 (patch)
treede61ddd39de3e7df52759711950b4c288592f0dc /mp/src/game/client/c_gib.h
parentMark some more files as text. (diff)
downloadsource-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz
source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip
Fix line endings. WHAMMY.
Diffstat (limited to 'mp/src/game/client/c_gib.h')
-rw-r--r--mp/src/game/client/c_gib.h128
1 files changed, 64 insertions, 64 deletions
diff --git a/mp/src/game/client/c_gib.h b/mp/src/game/client/c_gib.h
index 543a61e6..16d53e4e 100644
--- a/mp/src/game/client/c_gib.h
+++ b/mp/src/game/client/c_gib.h
@@ -1,64 +1,64 @@
-//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose:
-//
-//=============================================================================//
-
-#ifndef C_GIB_H
-#define C_GIB_H
-#ifdef _WIN32
-#pragma once
-#endif
-
-#define DEFAULT_GIB_LIFETIME 4.0f
-
-// Base client gibs
-
-class C_Gib : public C_BaseAnimating
-{
- typedef C_BaseAnimating BaseClass;
-public:
-
- ~C_Gib( void );
-
- static C_Gib *CreateClientsideGib( const char *pszModelName, Vector vecOrigin, Vector vecForceDir, AngularImpulse vecAngularImp, float flLifetime = DEFAULT_GIB_LIFETIME );
-
- bool InitializeGib( const char *pszModelName, Vector vecOrigin, Vector vecForceDir, AngularImpulse vecAngularImp, float flLifetime = DEFAULT_GIB_LIFETIME );
- void ClientThink( void );
- void StartTouch( C_BaseEntity *pOther );
-
- virtual void HitSurface( C_BaseEntity *pOther );
-
-protected:
-
- float m_flTouchDelta; // Amount of time that must pass before another touch function can be called
-};
-
-#ifdef HL2_CLIENT_DLL
-class CAntlionGibManager : public CAutoGameSystemPerFrame
-{
-public:
- CAntlionGibManager( char const *name ) : CAutoGameSystemPerFrame( name )
- {
- }
-
- // Methods of IGameSystem
- virtual void Update( float frametime );
- virtual void LevelInitPreEntity( void );
-
- void AddGib( C_BaseEntity *pEntity );
- void RemoveGib( C_BaseEntity *pEntity );
-
-private:
- typedef CHandle<C_BaseEntity> CGibHandle;
- CUtlLinkedList< CGibHandle > m_LRU;
-
-};
-
-
-extern CAntlionGibManager s_AntlionGibManager;
-
-#endif
-
-
-#endif // C_GIB_H
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef C_GIB_H
+#define C_GIB_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+#define DEFAULT_GIB_LIFETIME 4.0f
+
+// Base client gibs
+
+class C_Gib : public C_BaseAnimating
+{
+ typedef C_BaseAnimating BaseClass;
+public:
+
+ ~C_Gib( void );
+
+ static C_Gib *CreateClientsideGib( const char *pszModelName, Vector vecOrigin, Vector vecForceDir, AngularImpulse vecAngularImp, float flLifetime = DEFAULT_GIB_LIFETIME );
+
+ bool InitializeGib( const char *pszModelName, Vector vecOrigin, Vector vecForceDir, AngularImpulse vecAngularImp, float flLifetime = DEFAULT_GIB_LIFETIME );
+ void ClientThink( void );
+ void StartTouch( C_BaseEntity *pOther );
+
+ virtual void HitSurface( C_BaseEntity *pOther );
+
+protected:
+
+ float m_flTouchDelta; // Amount of time that must pass before another touch function can be called
+};
+
+#ifdef HL2_CLIENT_DLL
+class CAntlionGibManager : public CAutoGameSystemPerFrame
+{
+public:
+ CAntlionGibManager( char const *name ) : CAutoGameSystemPerFrame( name )
+ {
+ }
+
+ // Methods of IGameSystem
+ virtual void Update( float frametime );
+ virtual void LevelInitPreEntity( void );
+
+ void AddGib( C_BaseEntity *pEntity );
+ void RemoveGib( C_BaseEntity *pEntity );
+
+private:
+ typedef CHandle<C_BaseEntity> CGibHandle;
+ CUtlLinkedList< CGibHandle > m_LRU;
+
+};
+
+
+extern CAntlionGibManager s_AntlionGibManager;
+
+#endif
+
+
+#endif // C_GIB_H