summaryrefslogtreecommitdiff
path: root/game/server/plasma.h
diff options
context:
space:
mode:
authorFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
committerFluorescentCIAAfricanAmerican <[email protected]>2020-04-22 12:56:21 -0400
commit3bf9df6b2785fa6d951086978a3e66f49427166a (patch)
tree2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/server/plasma.h
downloadarchived-source-engine-2018-hl2-src-master.tar.xz
archived-source-engine-2018-hl2-src-master.zip
Diffstat (limited to 'game/server/plasma.h')
-rw-r--r--game/server/plasma.h45
1 files changed, 45 insertions, 0 deletions
diff --git a/game/server/plasma.h b/game/server/plasma.h
new file mode 100644
index 0000000..c723a9a
--- /dev/null
+++ b/game/server/plasma.h
@@ -0,0 +1,45 @@
+//========= Copyright Valve Corporation, All rights reserved. ============//
+//
+// Purpose:
+//
+// $NoKeywords: $
+//
+//=============================================================================//
+#ifndef __PLASMA__
+#define __PLASMA__
+#pragma once
+
+#include "fire_smoke.h"
+
+//==================================================
+// CPlasma
+//==================================================
+
+//NOTENOTE: Mirrored in cl_dll/c_plasma.cpp
+#define bitsPLASMA_FREE 0x00000002
+
+class CPlasma : public CBaseFire
+{
+public:
+ DECLARE_CLASS( CPlasma, CBaseFire );
+
+ CPlasma( void );
+ virtual ~CPlasma( void );
+ void EnableSmoke( int state );
+
+ void Precache( void );
+
+ DECLARE_SERVERCLASS();
+ DECLARE_DATADESC();
+
+public:
+
+ //Client-side
+ CNetworkVar( int, m_nPlasmaModelIndex );
+ CNetworkVar( int, m_nPlasmaModelIndex2 );
+ CNetworkVar( int, m_nGlowModelIndex );
+
+ //Server-side
+};
+
+#endif //__PLASMA__