//-------------------------------------------------------------------
//
//  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 CVideoSettings
{
  int   WindowWidth    = 800;
  int   WindowHeight   = 600;
  int   ColorDepth     = 16;
  bool  WindowMode     = false;
  float ForestDetail   = 0.0;
  float TerrainDetail  = 0.0;
  float GammaCoef      = 0.375;
  bool  ConsoleEnabled = false;
}

class CSoundSettings
{
  int ChannelsQty    = 2;
  int SoundFrequency = 22050;
  int SoundBitRate   = 16;
}

class CIntroSettings extends CApplicationSettings
{
  array Movies = array();

  void CIntroSettings()
  {
    string VideoPath = Core_GetRegistryValue("HKLM", m_AppRegistryPath, "VideoPath");
    if ("void" == VideoPath)
      VideoPath = "Video/";

    Movies.addElement(VideoPath + "bukaintro.avi");
    Movies.addElement(VideoPath + "g5intro.avi");
    Movies.addElement(VideoPath + "SpecIntro.avi");
    Movies.addElement(VideoPath + "gameintro.avi");
  }
}
