blob: e1004dad0438a548838da3395272e98bfe8b0aed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================//
#include "cbase.h"
#include "tf_player.h"
#include "tf_basecombatweapon.h"
#include "tf_obj.h"
#include "tf_obj_empgenerator.h"
#include "weapon_basecombatobject.h"
//-----------------------------------------------------------------------------
// Purpose: Combat object weapon for the EMP Generator
//-----------------------------------------------------------------------------
class CWeaponObjEMPGenerator : public CWeaponBaseCombatObject
{
DECLARE_CLASS( CWeaponObjEMPGenerator, CWeaponBaseCombatObject );
public:
CWeaponObjEMPGenerator( void );
DECLARE_SERVERCLASS();
};
IMPLEMENT_SERVERCLASS_ST( CWeaponObjEMPGenerator, DT_WeaponObjEMPGenerator )
END_SEND_TABLE()
LINK_ENTITY_TO_CLASS( weapon_obj_empgenerator, CWeaponObjEMPGenerator );
PRECACHE_WEAPON_REGISTER(weapon_obj_empgenerator);
CWeaponObjEMPGenerator::CWeaponObjEMPGenerator( void )
{
m_szObjectName = "obj_empgenerator";
m_vecBuildMins = EMPGENERATOR_MINS - Vector( 4,4,4 );
m_vecBuildMaxs = EMPGENERATOR_MAXS + Vector( 4,4,4 );
}
|