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.
 
 
 
 
 
 

25 lines
589 B

//========= Copyright Valve Corporation, All rights reserved. ============//
#include "cbase.h"
#include "c_tf_tank_boss.h"
#include "tf_hud_boss_health.h"
#include "tf_gamerules.h"
IMPLEMENT_CLIENTCLASS_DT(C_TFBaseBoss, DT_TFBaseBoss, CTFBaseBoss)
RecvPropFloat( RECVINFO( m_lastHealthPercentage ) ),
END_RECV_TABLE()
LINK_ENTITY_TO_CLASS( base_boss, C_TFBaseBoss );
ShadowType_t C_TFBaseBoss::ShadowCastType( void )
{
if ( !IsVisible() )
return SHADOWS_NONE;
if ( IsEffectActive(EF_NODRAW | EF_NOSHADOW) )
return SHADOWS_NONE;
return SHADOWS_RENDER_TO_TEXTURE_DYNAMIC;
}