Ejemplo n.º 1
0
//---------------------------------
void CScreenEffects::Reset()
{
	ClearAllBlendGroups(false);
	ResetGameEffectPools();

	stl::free_container(m_coordsXname);
	stl::free_container(m_coordsYname);
}
Ejemplo n.º 2
0
//---------------------------------
CScreenEffects::~CScreenEffects(void)
{
	ClearAllBlendGroups(false);

	// Unregister as ViewSystem listener (for cut-scenes, ...)
	IViewSystem *pViewSystem = g_pGame->GetIGameFramework()->GetIViewSystem();
	if (pViewSystem)
	{
		pViewSystem->RemoveListener(this);
	}

	// Unregister as System listener
	if (gEnv->pSystem)
	{
		gEnv->pSystem->GetISystemEventDispatcher()->RemoveListener( this );
	}
}
Ejemplo n.º 3
0
//---------------------------------
CScreenEffects::~CScreenEffects(void)
{
	ClearAllBlendGroups(false);
}