Exemplo n.º 1
0
//------------------------------------------------------------------------------
void ISerializable::serializeSubObject(ISerializable * const other)
{
  istr_ = other->istr_;
  ostr_ = other->ostr_;
  operation_ = other->operation_;
  setGameVersion(other->gameVersion_);
  serializeObject();
}
Exemplo n.º 2
0
//------------------------------------------------------------------------------
TechTreeAge::TechTreeAge(GameVersion gv) : Zeroes(0)
{
  setGameVersion(gv);
  Unknown1 = 0;
  ID = 0;
  Unknown2 = 2;
  Unknown3 = 0;
  Unknown4 = 0;
}
Exemplo n.º 3
0
Civ::Civ(GameVersion gv)
{
  setGameVersion(gv);
  One = 1;
  Name = "";
  Name2 = "";
  TechTreeID = -1;
  TeamBonusID = -1;
  GraphicSet = 0;
  SUnknown1.resize(4);
}
Exemplo n.º 4
0
//------------------------------------------------------------------------------
ResearchConnection::ResearchConnection(GameVersion gv) : Unknown2a(0), Unknown2b(0)
{
  setGameVersion(gv);
  ID = 0;
  Unknown1 = 2;
  UpperBuilding = -1;
  RequiredResearches = 0;
  Age = 0;
  UpperResearch = -1;
  LineMode = 0;
  VerticalLine = 0;
  LocationInAge = 0;
  Unknown9 = 0;
}
Exemplo n.º 5
0
//------------------------------------------------------------------------------
BuildingConnection::BuildingConnection(GameVersion gv) : Unknown2a(0),
Unknown2b(0), Unknown3(getUnknown3Size())
{
  setGameVersion(gv);
  ID = 0;
  Unknown1 = 2;
  RequiredResearches = 0;
  Age = 0;
  UnitOrResearch1 = 0;
  UnitOrResearch2 = 0;
  Mode1 = 0;
  Mode2 = 0;
  Connections = 0;
  EnablingResearch = -1;
}
Exemplo n.º 6
0
//------------------------------------------------------------------------------
UnitConnection::UnitConnection(GameVersion gv) : Unknown2a(0), Unknown2b(0)
{
  setGameVersion(gv);
  ID = 0;
  Unknown1 = 2;
  UpperBuilding = -1;
  RequiredResearches = 0;
  Age = 0;
  UnitOrResearch1 = 0;
  UnitOrResearch2 = 0;
  Mode1 = 0;
  Mode2 = 0;
  VerticalLine = 0;
  LocationInAge = 0;
  RequiredResearch = -1;
  LineMode = 0;
  EnablingResearch = -1;
}