mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
35 lines
824 B
C++
35 lines
824 B
C++
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
//=============================================================================//
|
|
|
|
#ifndef C_PHYSICSPROP_H
|
|
#define C_PHYSICSPROP_H
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include "c_breakableprop.h"
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose:
|
|
//-----------------------------------------------------------------------------
|
|
class C_PhysicsProp : public C_BreakableProp
|
|
{
|
|
typedef C_BreakableProp BaseClass;
|
|
public:
|
|
DECLARE_CLIENTCLASS();
|
|
|
|
C_PhysicsProp();
|
|
~C_PhysicsProp();
|
|
|
|
virtual bool OnInternalDrawModel( ClientModelRenderInfo_t *pInfo );
|
|
|
|
protected:
|
|
// Networked vars.
|
|
bool m_bAwake;
|
|
bool m_bAwakeLastTime;
|
|
};
|
|
|
|
#endif // C_PHYSICSPROP_H
|