#include <unitctrl.h>
Inheritance diagram for NewVehicleService:

Public Types | |
| typedef ServiceTargetSearcher::Targets | Targets |
Public Member Functions | |
| ContainerBase * | getContainer () |
| int | getStatus (void) |
| virtual int | available (ContainerBase *veh) const |
| virtual int | available (Vehicle *veh) const |
| int | executeContainer (ContainerBase *veh, int x, int y, int step, int pos, int amount) |
| int | execute (Vehicle *veh, int x, int y, int step, int pos, int amount) |
| bool | targetAvail (const ContainerBase *target) |
| int | fillEverything (ContainerBase *target, bool repairsToo=false) |
| virtual void | registerPVA (VehicleActionType _actionType, PPendingVehicleActions _pva) |
| NewVehicleService (MapDisplayInterface *md, PPendingVehicleActions _pva=NULL) | |
| virtual | ~NewVehicleService () |
Static Public Member Functions | |
| static int | avail (ContainerBase *veh) |
Public Attributes | |
| ServiceTargetSearcher::Targets | targets |
| int | guimode |
| here the gui stores which icon initiated the service; thus preventing the occurance of an repair icon when a fuel transfer was initiated. | |
Protected Attributes | |
| MapDisplayInterface * | mapDisplay |
|
|
Definition at line 382 of file unitctrl.h. |
|
||||||||||||
|
Definition at line 1790 of file unitctrl.cpp. References mapDisplay, PendingVehicleActions::newservice, and VehicleAction::pva. |
|
|
Definition at line 1957 of file unitctrl.cpp. References PendingVehicleActions::newservice, and VehicleAction::pva. |
|
|
Definition at line 1806 of file unitctrl.cpp. References ServiceTargetSearcher::available(). Referenced by available(), and GuiFunctions::RefuelUnit::available(). |
|
|
Implements VehicleAction. Definition at line 1818 of file unitctrl.cpp. References avail(). |
|
|
Definition at line 1812 of file unitctrl.cpp. References avail(). |
|
||||||||||||||||||||||||||||
|
Implements VehicleAction. Definition at line 1824 of file unitctrl.cpp. References executeContainer(). |
|
||||||||||||||||||||||||||||
|
Definition at line 1829 of file unitctrl.cpp. References fatalError(), ServiceTargetSearcher::getTargets(), logtoreplayinfo(), ContainerControls::produceAmmo(), rpl_bldrefuel, rpl_refuel, rpl_refuel2, rpl_repairUnit, ServiceTargetSearcher::startSearch(), targets, MapCoordinate::x, and MapCoordinate::y. Referenced by execute(), and GuiFunctions::RefuelUnit::execute(). |
|
||||||||||||
|
Definition at line 1933 of file unitctrl.cpp. References TransferHandler::commit(), TransferHandler::fillDest(), getContainer(), and targetAvail(). Referenced by GuiFunctions::RefuelUnit::execute(). |
|
|
Definition at line 392 of file unitctrl.h. Referenced by GuiFunctions::RefuelUnitDialog::execute(), GuiFunctions::RefuelUnit::execute(), and fillEverything(). |
|
|
Implements VehicleAction. Definition at line 394 of file unitctrl.h. |
|
||||||||||||
|
Reimplemented from VehicleAction. Definition at line 1949 of file unitctrl.cpp. References PendingVehicleActions::newservice, VehicleAction::pva, and VehicleAction::registerPVA(). |
|
|
Definition at line 1800 of file unitctrl.cpp. References targets. Referenced by GuiFunctions::RefuelUnit::available(), GuiFunctions::RefuelUnit::execute(), and fillEverything(). |
|
|
here the gui stores which icon initiated the service; thus preventing the occurance of an repair icon when a fuel transfer was initiated.
Definition at line 409 of file unitctrl.h. |
|
|
Definition at line 390 of file unitctrl.h. Referenced by NewVehicleService(). |
|
|
Definition at line 383 of file unitctrl.h. Referenced by GuiFunctions::RefuelUnit::execute(), executeContainer(), and targetAvail(). |
1.4.2