2020-04-22 18:56:21 +02:00
|
|
|
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
|
|
//
|
|
|
|
// Purpose:
|
|
|
|
//
|
|
|
|
// $NoKeywords: $
|
|
|
|
//=============================================================================//
|
|
|
|
#include "cbase.h"
|
|
|
|
#include "c_basedoor.h"
|
|
|
|
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
|
|
|
#include "tier0/memdbgon.h"
|
|
|
|
|
|
|
|
#ifdef CBaseDoor
|
|
|
|
#undef CBaseDoor
|
|
|
|
#endif
|
|
|
|
|
|
|
|
IMPLEMENT_CLIENTCLASS_DT(C_BaseDoor, DT_BaseDoor, CBaseDoor)
|
|
|
|
RecvPropFloat(RECVINFO(m_flWaveHeight)),
|
|
|
|
END_RECV_TABLE()
|
|
|
|
|
2024-08-23 00:37:28 +02:00
|
|
|
BEGIN_PREDICTION_DATA( C_BaseDoor )
|
|
|
|
DEFINE_FIELD( m_flWaveHeight, FIELD_FLOAT ),
|
|
|
|
END_PREDICTION_DATA()
|
|
|
|
|
2020-04-22 18:56:21 +02:00
|
|
|
C_BaseDoor::C_BaseDoor( void )
|
|
|
|
{
|
|
|
|
m_flWaveHeight = 0.0f;
|
|
|
|
}
|
|
|
|
|
|
|
|
C_BaseDoor::~C_BaseDoor( void )
|
|
|
|
{
|
|
|
|
}
|