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.
49 lines
1.1 KiB
49 lines
1.1 KiB
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $Workfile: $
|
|
// $Date: $
|
|
// $NoKeywords: $
|
|
//=============================================================================//
|
|
|
|
#ifndef C_PHYSICS_PROP_STATUE_H
|
|
#define C_PHYSICS_PROP_STATUE_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
|
|
#include "c_physicsprop.h"
|
|
|
|
//-----------------------------------------------------------------------------
|
|
// Purpose:
|
|
//-----------------------------------------------------------------------------
|
|
class C_StatueProp : public C_PhysicsProp
|
|
{
|
|
public:
|
|
DECLARE_CLASS( C_StatueProp, C_PhysicsProp );
|
|
DECLARE_CLIENTCLASS();
|
|
|
|
C_StatueProp();
|
|
virtual ~C_StatueProp();
|
|
|
|
virtual void Spawn( void );
|
|
|
|
virtual void ComputeWorldSpaceSurroundingBox( Vector *pVecWorldMins, Vector *pVecWorldMaxs );
|
|
|
|
virtual void OnDataChanged( DataUpdateType_t updateType );
|
|
|
|
public:
|
|
|
|
CHandle<CBaseAnimating> m_hInitBaseAnimating;
|
|
|
|
bool m_bShatter;
|
|
int m_nShatterFlags;
|
|
Vector m_vShatterPosition;
|
|
Vector m_vShatterForce;
|
|
};
|
|
|
|
|
|
#endif // C_PHYSICS_PROP_STATUE_H
|