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.
41 lines
900 B
41 lines
900 B
//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. =======
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================
|
|
|
|
#ifndef C_TRIGGERS_H
|
|
#define C_TRIGGERS_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "c_basetoggle.h"
|
|
#include "triggers_shared.h"
|
|
|
|
class C_BaseTrigger : public C_BaseToggle
|
|
{
|
|
DECLARE_CLASS( C_BaseTrigger, C_BaseToggle );
|
|
DECLARE_CLIENTCLASS();
|
|
|
|
public:
|
|
|
|
bool m_bClientSidePredicted;
|
|
};
|
|
|
|
class C_BaseVPhysicsTrigger : public C_BaseEntity
|
|
{
|
|
DECLARE_CLASS( C_BaseVPhysicsTrigger , C_BaseEntity );
|
|
DECLARE_CLIENTCLASS();
|
|
|
|
public:
|
|
|
|
//virtual bool PassesTriggerFilters(C_BaseEntity *pOther);
|
|
|
|
protected:
|
|
bool m_bDisabled;
|
|
string_t m_iFilterName;
|
|
//CHandle<class C_BaseFilter> m_hFilter; //CBaseFilter is not networked yet. Only really care about m_bDisabled for this first pass.
|
|
};
|
|
|
|
#endif // C_TRIGGERS_H
|