//-------------------------------------------------------------------
//
//  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 CBaseSovietBase extends CBaseForAllVillages
{
  array AssociationTable = array(
      array(1,  "InteriorObject", "CBaseDoubleHouse",         vector(0.0, 0.0, 0.0), 0.0),
      array(2,  "InteriorObject", "CBaseSingleHouse",         vector(0.0, 0.0, 0.0), 0.0),
//      array(3,  "InteriorObject", "CBaseWoodShed",            vector(0.0, 0.0, 0.0), 0.0),
//      array(4,  "InteriorObject", "CBaseBigSheaf",            vector(0.0, 0.0, 0.0), 90.0),
//      array(5,  "InteriorObject", "CBaseSheaf",               vector(0.0, 0.0, 0.0), 90.0),
      array(7,  "InteriorObject", "CBaseSovietTent",          vector(0.0, 0.0, 0.0), 0.0),
      array(8,  "InteriorObject", "CBaseGermanTent",          vector(0.0, 0.0, 0.0), 0.0),
      array(9,  "InteriorObject", "CBaseBarrel",              vector(0.0, 0.0, 0.0), 90.0),
      array(10, "InteriorObject", "CBaseBarrelStack",         vector(0.0, 0.0, 0.0), 90.0),
      array(11, "GameObject",     "CBaseSovietGunTower",      vector(0.0, 0.0, 0.0), 0.0),
      array(12, "InteriorObject", "CBaseSovietCistern",       vector(0.0, 0.0, 0.0), 0.0),
      array(13, "InteriorObject", "CBaseHangar",              vector(0.0, 0.0, 0.0), 0.0),
      array(14, "InteriorObject", "CBaseSovietAmmoBox",       vector(0.0, 0.0, 0.0), 0.0),
      array(19, "InteriorObject", "CBaseBaseCover_1",         vector(0.0, 0.0, 0.0), 0.0),
      array(20, "InteriorObject", "CBaseBaseCover_2",         vector(0.0, 0.0, 0.0), 0.0),
      array(21, "InteriorObject", "CBaseBaseStorage",         vector(0.0, 0.0, 0.0), 0.0)
    );

  string SkinFileName   = "Villages/SovietBases.skin";

  float  MapPixelWidth  = 8.0 / 3.0;
  float  MapPixelHeight = 8.0 / 3.0;

  string FenceClass     = "CSovietBaseFence";

  void CBaseSovietBase()
  {
    if (!Core_IsSlowVideoCard())
    {
      AssociationTable.addElement(array(3,  "InteriorObject", "CBaseWoodShed", vector(0.0, 0.0, 0.0), 0.0));
      AssociationTable.addElement(array(4,  "InteriorObject", "CBaseBigSheaf", vector(0.0, 0.0, 0.0), 90.0));
      AssociationTable.addElement(array(5,  "InteriorObject", "CBaseSheaf",    vector(0.0, 0.0, 0.0), 90.0));
    }
  }
}

class CSovietBaseFence
{
  int    MapColor        = 15;
  int    Material        = 0;
  int    TexturePlankQty = 1000;
  float  TextureWidth    = 8.0;
  float  TextureHeight   = 4.0;
  float  MinSegmentSize  = 8.0f;
  float  MaxSegmentSize  = 20.0f;
  float  MaxAngleBtwSeg  = 10.0f;
}

class CSovietBase_01 extends CBaseSovietBase
{
  string VillageMapFile = "Villages/SovietBase_01.bmp";
}

class CSovietBase_02 extends CBaseSovietBase
{
  string VillageMapFile = "Villages/SovietBase_02.bmp";
}

class CSovietBase_03 extends CBaseSovietBase
{
  string VillageMapFile = "Villages/SovietBase_03.bmp";
}

class CSovietBase_04 extends CBaseSovietBase
{
  string VillageMapFile = "Villages/SovietBase_04.bmp";
}

class CSovietBase_05 extends CBaseSovietBase
{
  string VillageMapFile = "Villages/SovietBase_05.bmp";

  float  MapPixelWidth  = 2.0;
  float  MapPixelHeight = 2.0;
}

class CSovietBase_06 extends CBaseSovietBase
{
  string VillageMapFile = "Villages/SovietBase_06.bmp";
}


