aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/server/h_cycler.h
diff options
context:
space:
mode:
authorJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
committerJoe Ludwig <[email protected]>2013-06-26 15:22:04 -0700
commit39ed87570bdb2f86969d4be821c94b722dc71179 (patch)
treeabc53757f75f40c80278e87650ea92808274aa59 /sp/src/game/server/h_cycler.h
downloadsource-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.tar.xz
source-sdk-2013-39ed87570bdb2f86969d4be821c94b722dc71179.zip
First version of the SOurce SDK 2013
Diffstat (limited to 'sp/src/game/server/h_cycler.h')
-rw-r--r--sp/src/game/server/h_cycler.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/sp/src/game/server/h_cycler.h b/sp/src/game/server/h_cycler.h
new file mode 100644
index 00000000..ba1462be
--- /dev/null
+++ b/sp/src/game/server/h_cycler.h
@@ -0,0 +1,41 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+//=============================================================================//
+
+#ifndef H_CYCLER_H
+#define H_CYCLER_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+//-----------------------------------------------------------------------------
+// Purpose:
+//-----------------------------------------------------------------------------
+class CCycler : public CAI_BaseNPC
+{
+public:
+ DECLARE_CLASS( CCycler, CAI_BaseNPC );
+
+ void GenericCyclerSpawn(char *szModel, Vector vecMin, Vector vecMax);
+ virtual int ObjectCaps( void ) { return (BaseClass::ObjectCaps() | FCAP_IMPULSE_USE); }
+ int OnTakeDamage( const CTakeDamageInfo &info );
+ void Spawn( void );
+ void Precache( void );
+ void Think( void );
+ //void Pain( float flDamage );
+ void Use ( CBaseEntity *pActivator, CBaseEntity *pCaller, USE_TYPE useType, float value );
+
+ // Don't treat as a live target
+ virtual bool IsAlive( void ) { return false; }
+
+ // Inputs
+ void InputSetSequence( inputdata_t &inputdata );
+
+ DECLARE_DATADESC();
+
+ int m_animate;
+};
+
+#endif // H_CYCLER_H