Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
998 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
//=============================================================================//
#ifndef TF_OBJ_DRAGONSTEETH_H
#define TF_OBJ_DRAGONSTEETH_H
#ifdef _WIN32
#pragma once
#endif
#include "tf_obj.h"
// ------------------------------------------------------------------------ //
// Purpose: Object built to block vehicle movement
// ------------------------------------------------------------------------ //
class CObjectDragonsTeeth : public CBaseObject
{
DECLARE_CLASS( CObjectDragonsTeeth, CBaseObject );
public:
DECLARE_SERVERCLASS();
CObjectDragonsTeeth();
virtual void Spawn();
virtual void Precache();
virtual float GetNearbyObjectCheckRadius( void ) { return 10.0; }
virtual bool StartBuilding( CBaseEntity *pBuilder );
virtual void OnActivityChanged( Activity act );
public:
CHandle< CBaseObject > m_hOwningObject; // Object I was created for
};
#endif // TF_OBJ_DRAGONSTEETH_H