CCameraManager::CCameraManager() { //init cam overrides m_pCamOverrides = new CCameraOverrides(); //init view m_pCameraView = new CCameraView(NULL); m_camNodes.reserve(32); AddNullCam(); m_idPrev = 0; m_idActive = 0; SetActiveCameraId(0); }
// (jh) so this is the camera system, but it doesn't seem to be used... CCameraManager::CCameraManager() { //init cam overrides // (jh) camera overrides can override some of the camera parametres like zoom and look at m_pCamOverrides = new CCameraOverrides(); //init view // (jh) the camera view is the actual camera m_pCameraView = new CCameraView(NULL); // (jh) this is a set of different camera properties (so kind of different virtual cameras, even though there's only one camera) // these get assigned to the camera based on circumstances. m_camNodes.reserve(32); AddNullCam(); m_idPrev = 0; m_idActive = 0; SetActiveCameraId(0); }