mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-29 17:43:01 +00:00
46 lines
895 B
C
46 lines
895 B
C
|
//========= 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__
|