aboutsummaryrefslogtreecommitdiff
path: root/mp/src/game/server/actanimating.h
diff options
context:
space:
mode:
Diffstat (limited to 'mp/src/game/server/actanimating.h')
-rw-r--r--mp/src/game/server/actanimating.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/mp/src/game/server/actanimating.h b/mp/src/game/server/actanimating.h
new file mode 100644
index 00000000..0b43a76b
--- /dev/null
+++ b/mp/src/game/server/actanimating.h
@@ -0,0 +1,35 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//=============================================================================//
+
+#ifndef ACTANIMATING_H
+#define ACTANIMATING_H
+#ifdef _WIN32
+#pragma once
+#endif
+
+
+#include "baseanimating.h"
+
+class CActAnimating : public CBaseAnimating
+{
+public:
+ DECLARE_CLASS( CActAnimating, CBaseAnimating );
+
+ void SetActivity( Activity act );
+ inline Activity GetActivity( void ) { return m_Activity; }
+
+ virtual int ObjectCaps( void ) { return BaseClass::ObjectCaps() & ~FCAP_ACROSS_TRANSITION; }
+
+ DECLARE_DATADESC();
+
+private:
+ Activity m_Activity;
+};
+
+
+
+#endif // ACTANIMATING_H