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.
 
 
 
 
 
 

39 lines
956 B

//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose:
//
// $Workfile: $
// $Date: $
// $NoKeywords: $
//=============================================================================//
#if !defined( C_CONTROLZONE_H )
#define C_CONTROLZONE_H
#ifdef _WIN32
#pragma once
#endif
class ConVar;
//-----------------------------------------------------------------------------
// Purpose: Client side rep of control zone entity ( trigger, so not usually visible )
//-----------------------------------------------------------------------------
class C_ControlZone : public C_BaseEntity
{
public:
DECLARE_CLASS( C_ControlZone, C_BaseEntity );
DECLARE_CLIENTCLASS();
C_ControlZone();
virtual ~C_ControlZone();
virtual bool ShouldDraw();
virtual void OnDataChanged( DataUpdateType_t updateType );
public:
int m_nZoneNumber;
private:
const ConVar *m_pShowTriggers;
};
#endif // C_CONTROLZONE_H