//-------------------------------------------------------------------
//
//  This code is copyright 2001 by G5 Software.
//  Any unauthorized usage, either in part or in whole of this code
//  is strictly prohibited. Violators WILL be prosecuted to the
//  maximum extent allowed by law.
//
//-------------------------------------------------------------------

class CFullScreenCamera
{
  float FOV        = 1.0;

  float RectLeft   = 0;
  float RectTop    = 0;
  float RectRight  = 1.0;
  float RectBottom = 1.0;

  float ZMin       = 0.0;
  float ZMax       = 1.0;
  float ZNear      = 1.0;
  float ZFar       = 1000.0;

  float Priority   = 0;
}




class CDebugCameraCollisionControl
{
  float CollisionRadius = 10.0f;
}

class CDebugCamera
{
  void CDebugCamera()
  {
    CreateComponent("Camera", "Camera", "CFullScreenCamera");
    SetCompoundObjectPositionable("Camera");

    CreateComponent("Control", "ManualCameraControl");
    SetComponentSlaveObject("Control", "Camera");

    CreateComponent("Cockpit", "Cockpit", "CDebugCameraCockpit");
    SetComponentPositionable("Cockpit", "Camera");

    Core_AddClassificator(CLASSIFICATOR_NOTVISIBLEONRADAR);
    Core_AddClassificator(CLASSIFICATOR_CONTROLLABLE);
  }
}
