#include <unitctrl.h>
Inheritance diagram for VehicleService::FieldSearch:

Public Member Functions | |
| virtual void | testfield (const MapCoordinate &mc) |
| void | checkVehicle2Vehicle (Vehicle *veh, int xp, int yp) |
| void | checkBuilding2Vehicle (Vehicle *veh) |
| bool | initrefuelling (int xp1, int yp1) |
| void | init (Vehicle *_veh, Building *_bld) |
| void | run () |
| FieldSearch (VehicleService &_vs, GameMap *_gamemap) | |
Public Attributes | |
| struct { | |
| bool distance | |
| bool height | |
| } | bypassChecks |
|
||||||||||||
|
Definition at line 311 of file unitctrl.h. References bypassChecks. |
|
|
||||||||||||||||
|
||||||||||||
|
Definition at line 1602 of file unitctrl.cpp. References Building::getEntry(), initrefuelling(), MapCoordinate::x, and MapCoordinate::y. Referenced by VehicleService::execute(). |
|
||||||||||||
|
|
Definition at line 1619 of file unitctrl.cpp. References Building::getResource(), maxint, Building::putResource(), Resources::resource(), and SearchFields::startsearch(). Referenced by VehicleService::execute(). |
|
|
Implements SearchFields. Definition at line 1546 of file unitctrl.cpp. References beeline(), tfield::building, checkBuilding2Vehicle(), checkVehicle2Vehicle(), SearchFields::gamemap, ContainerBase::getCargo(), GameMap::getField(), SearchFields::startPos, tfield::vehicle, MapCoordinate::x, and MapCoordinate::y. |
|
|
Referenced by checkVehicle2Vehicle(), and FieldSearch(). |
|
|
Definition at line 302 of file unitctrl.h. |
|
|
Definition at line 303 of file unitctrl.h. |
1.4.2