Subversion Repositories spk

Rev

Rev 237 | Rev 264 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 237 Rev 248
Line 382... Line 382...
382
			this->CheckExistingText->Checked = (xsp->GetOriginalDescription()) ? true : false;
382
			this->CheckExistingText->Checked = (xsp->GetOriginalDescription()) ? true : false;
383
			if ( xsp->GetOriginalDescription() )
383
			if ( xsp->GetOriginalDescription() )
384
				this->NumTextID->Value = xsp->GetOriginalDescription();
384
				this->NumTextID->Value = xsp->GetOriginalDescription();
385
 
385
 
386
			// shipyards
386
			// shipyards
387
			this->CheckSYArgon->Checked = xsp->IsShipyard(SHIPYARD_ARGON);
387
			this->CheckSYArgon->Checked = xsp->isShipyard(ShipyardRace::Argon);
388
			this->CheckSYBoron->Checked = xsp->IsShipyard(SHIPYARD_BORON);
388
			this->CheckSYBoron->Checked = xsp->isShipyard(ShipyardRace::Boron);
389
			this->CheckSYTeladi->Checked = xsp->IsShipyard(SHIPYARD_TELADI);
389
			this->CheckSYTeladi->Checked = xsp->isShipyard(ShipyardRace::Teladi);
390
			this->CheckSYParanid->Checked = xsp->IsShipyard(SHIPYARD_PARANID);
390
			this->CheckSYParanid->Checked = xsp->isShipyard(ShipyardRace::Paranid);
391
			this->CheckSYSplit->Checked = xsp->IsShipyard(SHIPYARD_SPLIT);
391
			this->CheckSYSplit->Checked = xsp->isShipyard(ShipyardRace::Split);
392
			this->CheckSYFriend->Checked = xsp->IsShipyard(SHIPYARD_FRIEND);
392
			this->CheckSYFriend->Checked = xsp->isShipyard(ShipyardRace::Friend);
393
			this->CheckSYPirate->Checked = xsp->IsShipyard(SHIPYARD_PIRATES);
393
			this->CheckSYPirate->Checked = xsp->isShipyard(ShipyardRace::Pirates);
394
			this->CheckSYXenon->Checked = xsp->IsShipyard(SHIPYARD_XENON);
394
			this->CheckSYXenon->Checked = xsp->isShipyard(ShipyardRace::Xenon);
395
			this->CheckSYTerran->Checked = xsp->IsShipyard(SHIPYARD_TERRAN);
395
			this->CheckSYTerran->Checked = xsp->isShipyard(ShipyardRace::Terran);
396
			this->CheckSYATF->Checked = xsp->IsShipyard(SHIPYARD_ATF);
396
			this->CheckSYATF->Checked = xsp->isShipyard(ShipyardRace::ATF);
397
			this->CheckSYYaki->Checked = xsp->IsShipyard(SHIPYARD_YAKI);
397
			this->CheckSYYaki->Checked = xsp->isShipyard(ShipyardRace::Yaki);
398
 
398
 
399
			this->UpdateShipText();
399
			this->UpdateShipText();
400
			this->UpdateShipPartList();
400
			this->UpdateShipPartList();
401
		}
401
		}
402
		else if ( m_pPackage->GetType() == TYPE_SPK )
402
		else if ( m_pPackage->GetType() == TYPE_SPK )