//-------------------------------------------------------------------
//
//  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 CBaseGermanBase 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",     "CBaseGermanGunTower",      vector(0.0, 0.0, 0.0), 0.0),
      array(12, "InteriorObject", "CBaseGermanCistern",       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", "CBaseGermanAmmoBox",       vector(0.0, 0.0, 0.0), 0.0),
      array(16, "InteriorObject", "CBaseGermanArmedSandBags", vector(0.0, 0.0, 0.0), 0.0),
      array(17, "InteriorObject", "CBaseGermanFaustSandBags", vector(0.0, 0.0, 0.0), 0.0),
      array(18, "GameObject",     "CBaseGermanFlak",          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/GermanBases.skin";

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

  string FenceClass     = "CGermanBaseFence";

  void CBaseGermanBase()
  {
    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 CGermanBaseFence
{
  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 CGermanBase_01 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_01.bmp";
}

class CGermanBase_02 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_02.bmp";
}

class CGermanBase_02S extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_02S.bmp";
}

class CGermanBase_03 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_03.bmp";
}

class CGermanBase_03S extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_03S.bmp";
}

class CGermanBase_04 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_04.bmp";
}

class CGermanBase_05 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_05.bmp";
}

class CGermanBase_06 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_06.bmp";
}

class CGermanBase_07 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_07.bmp";
}

class CGermanBase_08 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_08.bmp";
}

class CGermanBase_09 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_09.bmp";
}

class CGermanBase_09M extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_09M.bmp";
}

class CGermanBase_10 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_10.bmp";
}

class CGermanBase_11 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_11.bmp";
}

class CGermanBase_12 extends CBaseGermanBase
{
  string VillageMapFile = "Villages/GermanBase_12.bmp";
}


