//-------------------------------------------------------------------
//
//  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 CLargeSelsovetMesh
{
  string MeshFile = "Models/B_House_a.mesh";
  string SkinFile = "Models/B_House_a.skin";
}

class CLargeSelsovetStateControl extends CUnitLifeControl
{
  void CLargeSelsovetStateControl()
  {
    CUnitLifeControl(7500.0);
    m_DestroyPause = 20.0;
    m_ExplosionId  = "EXPLID_BuildingExplosion";
  }
}

// Building without ground control (for use in villages)
class CBaseLargeSelsovet extends CBuilding, CUnitWithStateControl
{
  void CBaseLargeSelsovet()
  {
    InitializeModelAsStatic("CLargeSelsovetMesh");
    CUnitWithStateControl("CLargeSelsovetStateControl");
  }
}

// Single game object
class CMountedLargeSelsovet extends CBaseLargeSelsovet
{
  void CMountedLargeSelsovet()
  {
    InitializeGroundControl();
  }
}

// Building without ground control (for use in villages)
class CBaseSovietLargeSelsovet extends CBaseLargeSelsovet
{
  void CBaseSovietLargeSelsovet()
  {
    Core_AddClassificator("Russian");
    Core_AddClassificator("GroundUnit");
  }
}

// Single game object
class CMountedSovietLargeSelsovet extends CBaseSovietLargeSelsovet
{
  void CMountedSovietLargeSelsovet()
  {
    InitializeGroundControl();
  }
}


