void CMPTrackViewManager::Init() { m_movieListener = false; if(gEnv->bServer) { IMovieSystem *pMovieSystem = gEnv->pMovieSystem; if(pMovieSystem) { pMovieSystem->AddMovieListener(NULL, this); m_movieListener = true; } } }
CUIHUD3D::CUIHUD3D() : m_pHUDRootEntity(NULL) , m_fHudDist(1.1f) , m_fHudZOffset(-0.1f) , m_HUDRootEntityId(0) , m_bCutSceneNoHud(false) { IMovieSystem* pMovieSystem = gEnv->pMovieSystem; if (pMovieSystem) { pMovieSystem->AddMovieListener(NULL, this); } }