mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-16 13:43:00 +00:00
1
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose:
|
||||
//
|
||||
//=============================================================================
|
||||
|
||||
#ifndef TF_WEAPON_FLAG_H
|
||||
#define TF_WEAPON_FLAG_H
|
||||
#ifdef _WIN32
|
||||
#pragma once
|
||||
#endif
|
||||
|
||||
#include "tf_weaponbase_melee.h"
|
||||
|
||||
#ifdef CLIENT_DLL
|
||||
#define CTFFlag C_TFFlag
|
||||
#endif
|
||||
|
||||
//=============================================================================
|
||||
//
|
||||
// Bottle class.
|
||||
//
|
||||
class CTFFlag : public CTFWeaponBaseMelee
|
||||
{
|
||||
public:
|
||||
|
||||
DECLARE_CLASS( CTFFlag, CTFWeaponBaseMelee );
|
||||
DECLARE_NETWORKCLASS();
|
||||
DECLARE_PREDICTABLE();
|
||||
|
||||
CTFFlag();
|
||||
virtual int GetWeaponID( void ) const { return TF_WEAPON_FLAG; }
|
||||
virtual void SecondaryAttack();
|
||||
bool Deploy( void );
|
||||
|
||||
virtual bool CanDrop( void ) { return true; }
|
||||
|
||||
private:
|
||||
|
||||
CTFFlag( const CTFFlag & ) {}
|
||||
};
|
||||
|
||||
#endif // TF_WEAPON_FLAG_H
|
||||
Reference in New Issue
Block a user