Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Public Member Functions | |
void | start (void) |
SellUpgradeOperation (BaseComputer &p) | |
Protected Member Functions | |
virtual bool | checkTransaction (void) |
virtual void | concludeTransaction (void) |
virtual void | selectMount (void) |
virtual | ~SellUpgradeOperation (void) |
![]() | |
UpgradeOperation (BaseComputer &p) | |
virtual | ~UpgradeOperation (void) |
bool | commonInit (void) |
void | finish (void) |
bool | endInit (void) |
bool | gotSelectedMount (int index) |
bool | gotSelectedTurret (int index) |
void | updateUI (void) |
virtual void | showTurretPicker (void) |
virtual void | modalDialogResult (const std::string &id, int result, WindowController &controller) |
Protected Attributes | |
const Unit * | m_downgradeLimiter |
![]() | |
BaseComputer & | m_parent |
const Unit * | m_newPart |
Cargo | m_part |
int | m_selectedMount |
int | m_selectedTurret |
Cargo | m_selectedItem |
Definition at line 3453 of file basecomputer.cpp.
|
inline |
Definition at line 3458 of file basecomputer.cpp.
|
inlineprotectedvirtual |
Definition at line 3465 of file basecomputer.cpp.
|
protectedvirtual |
Implements BaseComputer::UpgradeOperation.
Definition at line 3902 of file basecomputer.cpp.
References Unit::canDowngrade(), and showYesNoQuestion().
|
protectedvirtual |
Implements BaseComputer::UpgradeOperation.
Definition at line 3922 of file basecomputer.cpp.
References _Universe, Universe::AccessCockpit(), Unit::AddCargo(), Unit::canDowngrade(), Cockpit::credits, Unit::Downgrade(), Network, Unit::PriceCargo(), and usedValue().
|
protectedvirtual |
Implements BaseComputer::UpgradeOperation.
Definition at line 3831 of file basecomputer.cpp.
References Mount::ACTIVE, SimplePicker::addCell(), Window::findControlById(), ClassCache< Typ, Key >::getCachedConst(), Unit::GetNumMounts(), FactionUtil::GetUpgradeFaction(), i, Mount::INACTIVE, QuestionDialog::init(), lookupMountSize(), matchCargoToWeapon(), MOUNT_POINT_FULL(), MOUNT_POINT_NO_SELECT(), Unit::mounts, QuestionDialog::run(), ModalDialog::setCallback(), tostring(), and WindowController::window().
void BaseComputer::SellUpgradeOperation::start | ( | void | ) |
Definition at line 3770 of file basecomputer.cpp.
References StarSystemGent::faction, Unit::faction, GetMasterPartList(), GetUnitDir(), makeFinalBlankUpgrade(), and Unit::name.
Referenced by BaseComputer::sellUpgrade().
|
protected |
Definition at line 3467 of file basecomputer.cpp.