mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-23 06:36:54 +00:00
54 lines
1005 B
C++
54 lines
1005 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose: Projectile shot from the MP5
|
|
//
|
|
// $Workfile: $
|
|
// $Date: $
|
|
//
|
|
//-----------------------------------------------------------------------------
|
|
// $Log: $
|
|
//
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef WEAPONMP5_H
|
|
#define WEAPONMP5_H
|
|
|
|
#ifdef CLIENT_DLL
|
|
#else
|
|
#include "hl1_basegrenade.h"
|
|
#endif
|
|
#include "hl1mp_basecombatweapon_shared.h"
|
|
|
|
#ifdef CLIENT_DLL
|
|
class CGrenadeMP5;
|
|
#else
|
|
#endif
|
|
|
|
#ifdef CLIENT_DLL
|
|
#define CWeaponMP5 C_WeaponMP5
|
|
#endif
|
|
|
|
class CWeaponMP5 : public CBaseHL1MPCombatWeapon
|
|
{
|
|
DECLARE_CLASS( CWeaponMP5, CBaseHL1MPCombatWeapon );
|
|
public:
|
|
|
|
DECLARE_NETWORKCLASS();
|
|
DECLARE_PREDICTABLE();
|
|
|
|
CWeaponMP5();
|
|
|
|
void Precache( void );
|
|
void PrimaryAttack( void );
|
|
void SecondaryAttack( void );
|
|
void DryFire( void );
|
|
void WeaponIdle( void );
|
|
|
|
// DECLARE_SERVERCLASS();
|
|
DECLARE_DATADESC();
|
|
};
|
|
|
|
|
|
#endif //WEAPONMP5_H
|