mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-05 22:09:59 +03:00
1
This commit is contained in:
37
game/shared/tf2/weapon_obj_empgenerator.cpp
Normal file
37
game/shared/tf2/weapon_obj_empgenerator.cpp
Normal file
@@ -0,0 +1,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 );
|
||||
}
|
||||
Reference in New Issue
Block a user