Line 12... |
Line 12... |
12 |
m_pPackages = p;
|
12 |
m_pPackages = p;
|
13 |
m_pMainForm = mainForm;
|
13 |
m_pMainForm = mainForm;
|
14 |
m_pShipFile = shipFile;
|
14 |
m_pShipFile = shipFile;
|
15 |
m_pShipData = new CShipData(m_pShipFile->GetShipData());
|
15 |
m_pShipData = new CShipData(m_pShipFile->GetShipData());
|
16 |
m_pWeapons = new CLinkList<SWeaponMasks>;
|
16 |
m_pWeapons = new CLinkList<SWeaponMasks>;
|
17 |
m_pModels = m_pShipFile->ReadSceneModels();
|
17 |
m_pShipFile->readSceneModels(*_pModels);
|
18 |
|
18 |
|
19 |
this->Text = "Customise Ship: " + SystemStringFromCyString(m_pShipData->sID);
|
19 |
this->Text = "Customise Ship: " + SystemStringFromCyString(m_pShipData->sID);
|
20 |
|
20 |
|
21 |
m_pCustomiseInfo = gcnew CustomiseInfo(this, m_pShipData);
|
21 |
m_pCustomiseInfo = gcnew CustomiseInfo(this, m_pShipData);
|
22 |
this->tabPage1->Controls->Add(m_pCustomiseInfo);
|
22 |
this->tabPage1->Controls->Add(m_pCustomiseInfo);
|
Line 26... |
Line 26... |
26 |
this->tabPage3->Controls->Add(m_pCustomiseWeapons1);
|
26 |
this->tabPage3->Controls->Add(m_pCustomiseWeapons1);
|
27 |
m_pCustomiseModel = gcnew CustomiseModel(m_pShipData);
|
27 |
m_pCustomiseModel = gcnew CustomiseModel(m_pShipData);
|
28 |
this->tabPage4->Controls->Add(m_pCustomiseModel);
|
28 |
this->tabPage4->Controls->Add(m_pCustomiseModel);
|
29 |
m_pCustomiseWeapons = gcnew CustomiseWeapons(this, m_pWeapons, m_pShipData);
|
29 |
m_pCustomiseWeapons = gcnew CustomiseWeapons(this, m_pWeapons, m_pShipData);
|
30 |
this->tabPage5->Controls->Add(m_pCustomiseWeapons);
|
30 |
this->tabPage5->Controls->Add(m_pCustomiseWeapons);
|
31 |
m_pCustomiseGuns = gcnew CustomiseGuns(this, imagesSmall, imagesLarge, m_pShipData, m_pModels);
|
31 |
m_pCustomiseGuns = gcnew CustomiseGuns(this, imagesSmall, imagesLarge, m_pShipData, _pModels);
|
32 |
this->tabPage7->Controls->Add(m_pCustomiseGuns);
|
32 |
this->tabPage7->Controls->Add(m_pCustomiseGuns);
|
33 |
m_pCustomiseTurret = gcnew CustomiseTurret(this, imagesSmall, imagesLarge, m_pModels, m_pShipData, m_pShipFile);
|
33 |
m_pCustomiseTurret = gcnew CustomiseTurret(this, imagesSmall, imagesLarge, _pModels, m_pShipData, m_pShipFile);
|
34 |
this->tabPage6->Controls->Add(m_pCustomiseTurret);
|
34 |
this->tabPage6->Controls->Add(m_pCustomiseTurret);
|
35 |
|
35 |
|
36 |
_pGameDir = gameDir;
|
36 |
_pGameDir = gameDir;
|
37 |
|
37 |
|
38 |
this->SetupControls();
|
38 |
this->SetupControls();
|