Esempio n. 1
0
CPointCamera::CPointCamera()
{
	// Set these to opposites so that it'll be sent the first time around.
	m_bActive = false;
	m_bIsOn = false;
	
	m_bFogEnable = false;

	g_PointCameraList.Insert( this );
}
Esempio n. 2
0
CPointCamera::CPointCamera()
{
	// Set these to opposites so that it'll be sent the first time around.
	m_bActive = true; // ZZ: Fix a multiplayer bug in CPointCamera::CPointCamera() by setting m_bActive to true.
	m_bIsOn = false;
	
	m_bFogEnable = false;

	g_PointCameraList.Insert( this );
}
Esempio n. 3
0
//-----------------------------------------------------------------------------
// Purpose: 
//-----------------------------------------------------------------------------
CPointCamera::~CPointCamera()
{
	g_PointCameraList.Remove( this );
}
Esempio n. 4
0
CSkyCamera::~CSkyCamera()
{
	g_SkyList.Remove( this );
}
Esempio n. 5
0
//-----------------------------------------------------------------------------
// Constructor, destructor
//-----------------------------------------------------------------------------
CSkyCamera::CSkyCamera()
{
	g_SkyList.Insert( this );
	m_skyboxData.fog.maxdensity = 1.0f;
}
Esempio n. 6
0
CBugBaitSensor::~CBugBaitSensor( void )
{
	g_BugBaitSensorList.Remove( this );
}
Esempio n. 7
0
CBugBaitSensor::CBugBaitSensor( void )
{
	g_BugBaitSensorList.Insert( this );
}
Esempio n. 8
0
CPropVehicleManhack::CPropVehicleManhack( void )
{
	m_ServerVehicle.SetVehicle( this );

	g_ManhackVehicleList.Insert(this);
}
Esempio n. 9
0
CPropVehicleManhack::~CPropVehicleManhack( void )
{
	g_ManhackVehicleList.Remove(this);
}
CPhysicsNPCSolver::~CPhysicsNPCSolver()
{
	g_SolverList.Remove( this );
}
CPhysicsNPCSolver::CPhysicsNPCSolver()
{
	g_SolverList.Insert( this );
}
              CFuncPortalOrientation::CFuncPortalOrientation()
{
    g_FuncPortalOrientationVolumeList.Insert( this );
}
CFuncPortalOrientation::~CFuncPortalOrientation()
{
    g_FuncPortalOrientationVolumeList.Remove( this );
}