mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-06 23:46:43 +00:00
45 lines
1.1 KiB
C++
45 lines
1.1 KiB
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================
|
|
|
|
#include "cbase.h"
|
|
#include "tf_weapon_crowbar.h"
|
|
#include "decals.h"
|
|
|
|
// Client specific.
|
|
#ifdef CLIENT_DLL
|
|
#include "c_tf_player.h"
|
|
// Server specific.
|
|
#else
|
|
#include "tf_player.h"
|
|
#endif
|
|
|
|
//=============================================================================
|
|
//
|
|
// Weapon Crowbar tables.
|
|
//
|
|
IMPLEMENT_NETWORKCLASS_ALIASED( TFCrowbar, DT_TFWeaponCrowbar )
|
|
|
|
BEGIN_NETWORK_TABLE( CTFCrowbar, DT_TFWeaponCrowbar )
|
|
END_NETWORK_TABLE()
|
|
|
|
BEGIN_PREDICTION_DATA( CTFCrowbar )
|
|
END_PREDICTION_DATA()
|
|
|
|
LINK_ENTITY_TO_CLASS( tf_weapon_crowbar, CTFCrowbar );
|
|
PRECACHE_WEAPON_REGISTER( tf_weapon_crowbar );
|
|
|
|
//=============================================================================
|
|
//
|
|
// Weapon Crowbar functions.
|
|
//
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose:
|
|
//-----------------------------------------------------------------------------
|
|
CTFCrowbar::CTFCrowbar()
|
|
{
|
|
}
|