summaryrefslogtreecommitdiff
path: root/game/client/tf2/c_controlzone.h
blob: 8d0af26f04af69e40a84104687e895a423cdae12 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//========= 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