#include <unitctrl.h>
Inheritance diagram for BaseVehicleMovement::PathFinder:

Public Member Functions | |
| PathFinder (GameMap *actmap, Vehicle *veh, int maxDistance) | |
| void | getMovementFields (IntFieldList &reachableFields, IntFieldList &reachableFieldsIndirect, int height) |
| searches for all fields that are within the range of maxDist and marks them. | |
|
||||||||||||||||
|
Definition at line 144 of file unitctrl.h. |
|
||||||||||||||||
|
searches for all fields that are within the range of maxDist and marks them. On each field one bit for each level of height will be set. The Destructor removes all marks. Definition at line 53 of file unitctrl.cpp. References AStar3D::actmap, FieldList< T >::addField(), AStar3D::findPath(), GameMap::getField(), Vehicle::getPosition(), Vehicle::height, maxint, tfield::unitHere(), AStar3D::veh, and AStar3D::visited. |
1.4.2