#include <vehicletype.h>
Inheritance diagram for VehicleType:

Public Member Functions | |
| ASCString | getName () const |
| int | maxsize (void) const |
| returns the maximum weight of this unit without fuel and material | |
| int | maxSpeed () const |
| VehicleType (void) | |
| void | read (tnstream &stream) |
| read the binary representation of this item from the given stream | |
| void | write (tnstream &stream) const |
| write the binary representation of this item to the given stream | |
| void | runTextIO (PropertyContainer &pc) |
| registers the properties of this item for loading/writing into asctxt files | |
| ~VehicleType () | |
| Resources | calcProductionCost () |
| int | getMoveMalusType () const |
| void | paint (Surface &s, SPoint pos, const PlayerColor &player, int direction=0) const |
| void | paint (Surface &s, SPoint pos) const |
| const Surface & | getImage () const |
| Surface & | getImage () |
| int | getMemoryFootprint () const |
Static Public Member Functions | |
| static BitSet | convertOldFunctions (int abilities, const ASCString &location) |
Public Attributes | |
| int | armor |
| double | cargoMovementDivisor |
| if a transport moves the movement for the units inside a transport is decreased by 1/n of the tranport's distance | |
| bool | wait |
| If the unit cannot attack in the same turn after it has moved, it has to wait. | |
| int | fuelConsumption |
| the fuel consumption to move a single field | |
| vector< int > | movement |
| the distance a unit can travel each round. One value for each of the 8 levels of height | |
| int | movemalustyp |
| The category of the unit. Original used only to distinguish only between different movement costs for a field, this categorization is now used for many more things. | |
| int | maxwindspeedonwater |
| the maximum speed of the wind that the unit can survive when on open water without sinking | |
| int | digrange |
| radius of the circle in which a unit can search for mineral resolures (measured in number of fields, not distance !) | |
| int | initiative |
| unused | |
| int | weight |
| the weight of the unit, without fuel or other cargo | |
| TerrainAccess | terrainaccess |
| the terrain this unit can move to | |
| int | bipicture |
| the image index from the GraphicSet , or -1 if no graphics from graphic sets are used. | |
| vector< IntRange > | buildingsBuildable |
| the ids of buildings this unit can construct | |
| vector< IntRange > | vehiclesBuildable |
| the ids of units this unit can construct | |
| vector< IntRange > | objectsBuildable |
| the ids of objects this unit can construct | |
| vector< IntRange > | objectsRemovable |
| the ids of objects this unit can remove | |
| vector< IntRange > | objectGroupsBuildable |
| the group-ids of objects this unit can construct | |
| vector< IntRange > | objectGroupsRemovable |
| the group-ids of objects this unit can remove | |
| vector< IntRange > | objectLayedByMovement |
| the IDs of objects that are automatically layed by moving the movement | |
| UnitWeapon | weapons |
| The weapons. | |
| int | autorepairrate |
| the damage this unit can repair itself automatically each turn. | |
| int | unitConstructionMoveCostPercentage |
| if this unit constructs another unit externally (for example a turret), it costs this much of its movement (in percent) | |
| int | unitConstructionMinDistance |
| the minimal distance (measured in number of fields) in which units can be externally constructed | |
| int | unitConstructionMaxDistance |
| the maximum distance (measured in number of fields) in which units can be externally constructed | |
| vector< int > | wreckageObject |
| if the unit is destroyed, it can leave an wreckage object behind ( < 0 to disable ) | |
| AiValue * | aiparam [8] |
| some information the AI stores about this unit | |
| AiParameter::Job | recommendedAIJob |
| the recommended task for the unit, set by the unit creater | |
| ASCString | movementSoundLabel |
| this label can select a special sound to be played when moving | |
| ASCString | killSoundLabel |
| this label can select a special sound to be played when this unit is killed | |
| vector< int > | guideSortHelp |
| int | heightChangeMethodNum |
| vector< HeightChangeMethod > | heightChangeMethod |
| VehicleType::JumpDrive | jumpDrive |
Static Public Attributes | |
| static const int | legacyVehicleFunctionNum = 29 |
Classes | |
| class | HeightChangeMethod |
| struct | JumpDrive |
Definition at line 177 of file vehicletype.h.
| VehicleType::VehicleType | ( | void | ) |
Definition at line 95 of file vehicletype.cpp.
References aiparam, armor, autorepairrate, bipicture, cargoMovementDivisor, digrange, fuelConsumption, ContainerBaseType::height, heightChangeMethodNum, initiative, AiParameter::job_undefined, maxwindspeedonwater, movemalustyp, movement, recommendedAIJob, unitConstructionMaxDistance, unitConstructionMinDistance, unitConstructionMoveCostPercentage, wait, and weight.
| VehicleType::~VehicleType | ( | ) |
| ASCString VehicleType::getName | ( | ) | const [virtual] |
Reimplemented from ContainerBaseType.
Definition at line 764 of file vehicletype.cpp.
References ContainerBaseType::description, and ContainerBaseType::name.
Referenced by compareMapResources(), SpawnUnit::getDescription(), RemoveProductionLineCommand::getDescription(), BuildProductionLineCommand::getDescription(), VehicleTypeBaseWidget::getName(), Vehicle::getName(), DataTab::setData(), and UnitInfoDialog::UnitInfoDialog().
| int VehicleType::maxsize | ( | void | ) | const |
returns the maximum weight of this unit without fuel and material
Definition at line 134 of file vehicletype.cpp.
References weight.
Referenced by ContainerBaseType::vehicleFit().
| int VehicleType::maxSpeed | ( | ) | const |
Definition at line 772 of file vehicletype.cpp.
References max(), and movement.
Referenced by DataTab::setData().
| void VehicleType::read | ( | tnstream & | stream | ) | [virtual] |
read the binary representation of this item from the given stream
Reimplemented from ContainerBaseType.
Definition at line 158 of file vehicletype.cpp.
References armor, ContainerBaseType::asc_mode_tank, ContainerBaseType::AutoRepair, autorepairrate, ContainerBaseType::bi_mode_tank, bipicture, buildingsBuildable, SingleWeapon::canRefuel(), cargoMovementDivisor, cmovemalitypenum, VehicleType::JumpDrive::consumption, convertOldFunctions(), SingleWeapon::count, UnitWeapon::count, ContainerBaseType::defaultMaxResearchpoints, ContainerBaseType::defaultProduction, ContainerBaseType::description, digrange, SingleWeapon::efficiency, ContainerBaseType::efficiencyfuel, ContainerBaseType::efficiencymaterial, Resources::energy, ContainerBaseType::ExternalAmmoTransfer, ContainerBaseType::features, LoadableItemType::filename, fuelConsumption, tnstream::getDeviceName(), tnstream::getLocation(), guideSortHelp, ContainerBaseType::hasFunction(), VehicleType::JumpDrive::height, ContainerBaseType::height, heightChangeMethod, heightChangeMethodNum, ContainerBaseType::infotext, initiative, ContainerBaseType::jamming, jumpDrive, killSoundLabel, SingleWeapon::laserRechargeCost, SingleWeapon::laserRechargeRate, LoadableItemType::location, Resources::material, VehicleType::JumpDrive::maxDistance, SingleWeapon::maxdistance, ContainerBaseType::maxplus, ContainerBaseType::maxresearchpoints, SingleWeapon::maxstrength, maxwindspeedonwater, SingleWeapon::mindistance, SingleWeapon::minstrength, movemalustyp, movement, movementSoundLabel, SingleWeapon::name, ContainerBaseType::name, ContainerBaseType::nominalresearchpoints, objectGroupsBuildable, objectGroupsRemovable, objectLayedByMovement, objectsBuildable, objectsRemovable, ContainerBaseType::productionCost, SingleWeapon::reactionFireShots, TechAdapterDependency::read(), ContainerBaseType::read(), TerrainAccess::read(), Surface::read(), Resources::read(), tnstream::readChar(), readClassContainer(), tnstream::readFloat(), tnstream::readInt(), tnstream::readString(), tnstream::readWord(), recommendedAIJob, Resources::resource(), SingleWeapon::set(), ContainerBaseType::setFunction(), TerrainBits::setInt(), SingleWeapon::soundLabel, SingleWeapon::sourceheight, SingleWeapon::targ, SingleWeapon::targetingAccuracy, VehicleType::JumpDrive::targetterrain, ContainerBaseType::techDependency, TerrainAccess::terrain, terrainaccess, TerrainAccess::terrainkill, TerrainAccess::terrainnot, TerrainAccess::terrainreq, unitConstructionMaxDistance, unitConstructionMinDistance, unitConstructionMoveCostPercentage, vehicle_version, vehiclesBuildable, ContainerBaseType::view, wait, UnitWeapon::weapon, weapons, weight, and wreckageObject.
| void VehicleType::write | ( | tnstream & | stream | ) | const [virtual] |
write the binary representation of this item to the given stream
Reimplemented from ContainerBaseType.
Definition at line 585 of file vehicletype.cpp.
References armor, ContainerBaseType::asc_mode_tank, autorepairrate, ContainerBaseType::bi_mode_tank, bipicture, buildingsBuildable, cargoMovementDivisor, cmovemalitypenum, VehicleType::JumpDrive::consumption, SingleWeapon::count, UnitWeapon::count, ContainerBaseType::defaultMaxResearchpoints, ContainerBaseType::defaultProduction, ContainerBaseType::description, digrange, SingleWeapon::efficiency, ContainerBaseType::efficiencyfuel, ContainerBaseType::efficiencymaterial, fuelConsumption, SingleWeapon::gettype(), guideSortHelp, VehicleType::JumpDrive::height, ContainerBaseType::height, heightChangeMethod, heightChangeMethodNum, ContainerBaseType::infotext, initiative, ContainerBaseType::jamming, jumpDrive, killSoundLabel, SingleWeapon::laserRechargeCost, SingleWeapon::laserRechargeRate, VehicleType::JumpDrive::maxDistance, SingleWeapon::maxdistance, ContainerBaseType::maxplus, ContainerBaseType::maxresearchpoints, SingleWeapon::maxstrength, maxwindspeedonwater, SingleWeapon::mindistance, SingleWeapon::minstrength, movemalustyp, movement, movementSoundLabel, SingleWeapon::name, ContainerBaseType::name, ContainerBaseType::nominalresearchpoints, objectGroupsBuildable, objectGroupsRemovable, objectLayedByMovement, objectsBuildable, objectsRemovable, ContainerBaseType::productionCost, SingleWeapon::reactionFireShots, recommendedAIJob, SingleWeapon::soundLabel, SingleWeapon::sourceheight, SingleWeapon::targ, SingleWeapon::targetingAccuracy, VehicleType::JumpDrive::targetterrain, ContainerBaseType::techDependency, terrainaccess, unitConstructionMaxDistance, unitConstructionMinDistance, unitConstructionMoveCostPercentage, vehicle_version, vehiclesBuildable, ContainerBaseType::view, wait, UnitWeapon::weapon, weapons, weight, wreckageObject, TechAdapterDependency::write(), ContainerBaseType::write(), TerrainAccess::write(), Surface::write(), Resources::write(), tnstream::writeChar(), writeClassContainer(), tnstream::writeInt(), tnstream::writeString(), and tnstream::writeWord().
| void VehicleType::runTextIO | ( | PropertyContainer & | pc | ) | [virtual] |
registers the properties of this item for loading/writing into asctxt files
Reimplemented from ContainerBaseType.
Definition at line 950 of file vehicletype.cpp.
References PropertyContainer::addBool(), PropertyContainer::addDFloat(), PropertyContainer::addImage(), PropertyContainer::addInteger(), PropertyContainer::addIntegerArray(), PropertyContainer::addIntRangeArray(), PropertyContainer::addNamedInteger(), PropertyContainer::addString(), PropertyContainer::addTagArray(), PropertyContainer::addTagInteger(), AIjobs, armor, ContainerBaseType::asc_mode_tank, Surface::assignDefaultPalette(), autorepairrate, ContainerBaseType::bi_mode_tank, buildingsBuildable, calcProductionCost(), SingleWeapon::canRefuel(), cargoMovementDivisor, choehenstufennum, PropertyContainer::closeBracket(), cmovemalitypenum, VehicleType::JumpDrive::consumption, containerFunctionTags, convertOldFunctions(), UnitWeapon::count, digrange, displayLogMessage(), Resources::energy, PropertyContainer::error(), ContainerBaseType::ExternalAmmoTransfer, ContainerBaseType::ExternalEnergyTransfer, ContainerBaseType::ExternalFuelTransfer, ContainerBaseType::ExternalMaterialTransfer, ContainerBaseType::ExternalRepair, extractFileName_withoutSuffix(), ContainerBaseType::features, fieldsizex, fieldsizey, LoadableItemType::filename, PropertyContainer::find(), Resources::fuel, fuelConsumption, ContainerBaseType::functionNum, PropertyContainer::getFileName(), guideSortHelp, ContainerBaseType::hasFunction(), VehicleType::JumpDrive::height, ContainerBaseType::height, heightChangeMethod, heightChangeMethodNum, heightTags, ContainerBaseType::IceBreaker, ContainerBaseType::id, PropertyContainer::isReading(), AiParameter::job_undefined, AiParameter::jobNum, jumpDrive, killSoundLabel, legacyVehicleFunctionNum, ContainerBaseType::MakesTracks, Resources::material, VehicleType::JumpDrive::maxDistance, maxint, maxwindspeedonwater, movemalustyp, movement, movementSoundLabel, ContainerBaseType::name, ContainerBaseType::NoReactionfire, objectGroupsBuildable, objectGroupsRemovable, objectLayedByMovement, objectsBuildable, objectsRemovable, PropertyContainer::openBracket(), ContainerBaseType::productionCost, productionCostCalculationMethod, productionCostCalculationMethodNum, SingleWeapon::reactionFireShots, recommendedAIJob, TechAdapterDependency::runTextIO(), SingleWeapon::runTextIO(), TerrainAccess::runTextIO(), Resources::runTextIO(), ContainerBaseType::runTextIO(), SingleWeapon::service(), ContainerBaseType::setFunction(), Surface::strech(), strrr(), VehicleType::JumpDrive::targetterrain, ContainerBaseType::techDependency, terrainaccess, unitCategoryTags, unitConstructionMaxDistance, unitConstructionMinDistance, unitConstructionMoveCostPercentage, vehicleAbilities, vehiclesBuildable, ContainerBaseType::view, wait, UnitWeapon::weapon, weapons, weight, and wreckageObject.
Referenced by execaction_pg().
| Resources VehicleType::calcProductionCost | ( | ) |
Definition at line 1323 of file vehicletype.cpp.
References UnitCostCalculator::productionCost().
Referenced by runTextIO(), and DataTab::setData().
| int VehicleType::getMoveMalusType | ( | ) | const [inline, virtual] |
Implements ContainerBaseType.
Definition at line 303 of file vehicletype.h.
References movemalustyp.
| void VehicleType::paint | ( | Surface & | s, | |
| SPoint | pos, | |||
| const PlayerColor & | player, | |||
| int | direction = 0 | |||
| ) | const |
Definition at line 1215 of file vehicletype.cpp.
References getImage(), and nullParam.
Referenced by VehicleBaseWidget::display(), VehicleTypeBaseWidget::display(), VehicleTypeImage::display(), VehicleItem::display(), TechWidget::display(), DashboardPanel::painter(), and GetTargetImage::visit().
| const Surface& VehicleType::getImage | ( | ) | const [inline] |
Definition at line 320 of file vehicletype.h.
Referenced by paint(), Vehicle::paint(), and DataTab::setData().
| Surface& VehicleType::getImage | ( | ) | [inline] |
Definition at line 321 of file vehicletype.h.
| int VehicleType::getMemoryFootprint | ( | ) | const [virtual] |
Implements MemorySizeQueryInterface.
Definition at line 780 of file vehicletype.cpp.
References Surface::getMemoryFootprint().
Definition at line 1149 of file vehicletype.cpp.
References ContainerBaseType::AutoRepair, ContainerBaseType::ConquerBuildings, ContainerBaseType::ConstructBuildings, ContainerBaseType::CruiserLanding, ContainerBaseType::DetectsMineralResources, errorMessage(), ContainerBaseType::ExternalEnergyTransfer, ContainerBaseType::ExternalFuelTransfer, ContainerBaseType::ExternalMaterialTransfer, ContainerBaseType::ExternalRepair, ContainerBaseType::ExternalVehicleProduction, ContainerBaseType::features, ContainerBaseType::IceBreaker, ContainerBaseType::ImmuneToMines, ContainerBaseType::InternalUnitRepair, ContainerBaseType::JamsOnlyOwnField, ContainerBaseType::KamikazeOnly, LoadableItemType::location, ContainerBaseType::MakesTracks, ContainerBaseType::MineView, ContainerBaseType::MoveAfterAttack, ContainerBaseType::MoveWithReactionFire, ContainerBaseType::NoInairRefuelling, ContainerBaseType::NoReactionfire, ContainerBaseType::OnlyMoveToAndFromTransports, ContainerBaseType::Paratrooper, ContainerBaseType::PlaceMines, ContainerBaseType::SatelliteView, and ContainerBaseType::Sonar.
Referenced by read(), ContainerBaseType::TransportationIO::read(), runTextIO(), and ContainerBaseType::TransportationIO::runTextIO().
const int VehicleType::legacyVehicleFunctionNum = 29 [static] |
Definition at line 185 of file vehicletype.h.
Referenced by runTextIO(), and ContainerBaseType::TransportationIO::runTextIO().
Definition at line 189 of file vehicletype.h.
Referenced by Vehicle::getArmor(), read(), runTextIO(), DataTab::setData(), DashboardPanel::showUnitData(), UnitInfoDialog::UnitInfoDialog(), VehicleType(), and write().
if a transport moves the movement for the units inside a transport is decreased by 1/n of the tranport's distance
Definition at line 192 of file vehicletype.h.
Referenced by read(), runTextIO(), Vehicle::setMovement(), VehicleType(), and write().
| bool VehicleType::wait |
If the unit cannot attack in the same turn after it has moved, it has to wait.
Definition at line 195 of file vehicletype.h.
Referenced by attackpossible2n(), AttackCommand::avail(), Vehicle::ReactionFire::enable(), read(), runTextIO(), AttackCommand::searchTargets(), UnitInfoDialog::UnitInfoDialog(), VehicleType(), WeaponInfoPanel::WeaponInfoPanel(), and write().
the fuel consumption to move a single field
Definition at line 198 of file vehicletype.h.
Referenced by DestructBuildingCommand::avail(), UnitHooveringLogic::calcFuelUsage(), UnitHooveringLogic::getEndurance(), Vehicle::getMovement(), read(), runTextIO(), DataTab::setData(), DashboardPanel::showUnitData(), UnitInfoDialog::UnitInfoDialog(), VehicleType(), and write().
the distance a unit can travel each round. One value for each of the 8 levels of height
Definition at line 201 of file vehicletype.h.
Referenced by AStar3D::AStar3D(), Vehicle::beginTurn(), UnitPropertyEditor::buttonpressed(), Vehicle::decreaseMovement(), Vehicle::endOwnTurn(), UnitHooveringLogic::getEndurance(), getmaxwindspeedforunit(), AStar3D::getMoveCost(), AStar::getTravelTime(), Vehicle::hasMoved(), Vehicle::maxMovement(), maxSpeed(), StandardUnitCostCalculator::productionCost(), read(), Vehicle::resetMovement(), runTextIO(), DataTab::setData(), Vehicle::setMovement(), stu_height(), UnitInfoDialog::UnitInfoDialog(), VehicleType(), WindMovement::WindMovement(), and write().
The category of the unit. Original used only to distinguish only between different movement costs for a field, this categorization is now used for many more things.
Definition at line 204 of file vehicletype.h.
Referenced by attackpossible28(), attackpossible2n(), attackpossible2u(), Mine::attacksunit(), evaluateProduction(), AStar::getDistance(), MapField::getmovemalus(), getMoveMalusType(), read(), runTextIO(), DataTab::setData(), tmineattacksunit::setup(), UnitInfoDialog::UnitInfoDialog(), vehicleComp(), ContainerBase::vehicleDocking(), ContainerBaseType::vehicleFit(), VehicleType(), ContainerBase::vehicleUnloadSystem(), viewterraininfo(), and write().
the maximum speed of the wind that the unit can survive when on open water without sinking
Definition at line 207 of file vehicletype.h.
Referenced by getmaxwindspeedforunit(), read(), runTextIO(), DataTab::setData(), UnitInfoDialog::UnitInfoDialog(), VehicleType(), and write().
radius of the circle in which a unit can search for mineral resolures (measured in number of fields, not distance !)
Definition at line 210 of file vehicletype.h.
Referenced by read(), runTextIO(), VehicleType(), and write().
unused
Definition at line 213 of file vehicletype.h.
Referenced by read(), tmineattacksunit::setup(), VehicleType(), and write().
the weight of the unit, without fuel or other cargo
Definition at line 216 of file vehicletype.h.
Referenced by executeUserAction(), maxsize(), read(), runTextIO(), DataTab::setData(), Vehicle::size(), UnitInfoDialog::UnitInfoDialog(), VehicleType(), Vehicle::weight(), and write().
the terrain this unit can move to
Definition at line 219 of file vehicletype.h.
Referenced by GuiFunctions::BuildVehicleCommand::execute(), VehicleItem::place(), read(), runTextIO(), stu_height(), terrainaccessible2(), Vehicle::vehicleconstructable(), and write().
the image index from the GraphicSet , or -1 if no graphics from graphic sets are used.
Definition at line 222 of file vehicletype.h.
Referenced by read(), VehicleType(), and write().
the ids of buildings this unit can construct
Definition at line 225 of file vehicletype.h.
Referenced by DestructBuildingCommand::avail(), ConstructBuildingCommand::getProduceableBuildings(), read(), runTextIO(), and write().
the ids of units this unit can construct
Definition at line 228 of file vehicletype.h.
Referenced by evaluateProduction(), ConstructUnitCommand::externalConstructionAvail(), ConstructUnitCommand::getProduceableVehicles(), read(), runTextIO(), and write().
the ids of objects this unit can construct
Definition at line 231 of file vehicletype.h.
Referenced by PutObjectCommand::avail(), read(), runTextIO(), and write().
the ids of objects this unit can remove
Definition at line 234 of file vehicletype.h.
Referenced by PutObjectCommand::avail(), read(), runTextIO(), and write().
the group-ids of objects this unit can construct
Definition at line 237 of file vehicletype.h.
Referenced by PutObjectCommand::avail(), read(), runTextIO(), and write().
the group-ids of objects this unit can remove
Definition at line 240 of file vehicletype.h.
Referenced by PutObjectCommand::avail(), read(), runTextIO(), and write().
the IDs of objects that are automatically layed by moving the movement
Definition at line 243 of file vehicletype.h.
Referenced by read(), runTextIO(), Vehicle::spawnMoveObjects(), and write().
The weapons.
Definition at line 246 of file vehicletype.h.
Referenced by attackpossible(), attackpossible28(), attackpossible2n(), attackpossible2u(), TrainUnitCommand::avail(), ReactionFireSwitchCommand::avail(), InternalAmmoTransferCommand::avail(), RepairUnitCommand::availExternally(), CalculateThreat_VehicleType::calc_threat_vehicletype(), Vehicle::ReactionFire::checkData(), Vehicle::ReactionFire::enable(), Vehicle::fillMagically(), Vehicle::getAmmo(), VehicleProduction_SelectionItemFactory::getCost(), ServiceChecker::getServiceWeapon(), Vehicle::getWeapon(), PutMineCommand::go(), InternalAmmoTransferCommand::go(), UnitPropertyEditor::init(), InternalAmmoTransferHandler::InternalAmmoTransferHandler(), Vehicle::maxAmmo(), Vehicle::paint(), DashboardPanel::painter(), InternalAmmoTransferHandler::performTransfer(), StandardUnitCostCalculator::productionCost(), Vehicle::putAmmo(), PutMineCommand::PutMineCommand(), Vehicle::ReactionFire::ReactionFire(), read(), WeaponRange::run(), ConsumeAmmo::runAction(), runTextIO(), AttackCommand::searchTargets(), DataTab::setData(), tunitattacksobject::setresult(), tunitattacksbuilding::setresult(), tunitattacksunit::setresult(), DashboardPanel::showUnitData(), Vehicle::transform(), ConsumeAmmo::undoAction(), UnitInfoDialog::UnitInfoDialog(), Vehicle::weapexist(), WeaponInfoPanel::WeaponInfoPanel(), write(), and Vehicle::write().
the damage this unit can repair itself automatically each turn.
Definition at line 249 of file vehicletype.h.
Referenced by Vehicle::canRepair(), Vehicle::endOwnTurn(), read(), runTextIO(), DataTab::setData(), VehicleType(), and write().
if this unit constructs another unit externally (for example a turret), it costs this much of its movement (in percent)
Definition at line 252 of file vehicletype.h.
Referenced by GuiFunctions::BuildVehicleCommand::execute(), ConstructUnitCommand::go(), read(), runTextIO(), ConstructUnitCommand::unitProductionPrerequisites(), Vehicle::vehicleconstructable(), VehicleType(), and write().
the minimal distance (measured in number of fields) in which units can be externally constructed
Definition at line 255 of file vehicletype.h.
Referenced by ConstructUnitCommand::getFields(), read(), runTextIO(), VehicleType(), and write().
the maximum distance (measured in number of fields) in which units can be externally constructed
Definition at line 257 of file vehicletype.h.
Referenced by ConstructUnitCommand::getFields(), read(), runTextIO(), VehicleType(), and write().
if the unit is destroyed, it can leave an wreckage object behind ( < 0 to disable )
Definition at line 260 of file vehicletype.h.
Referenced by read(), DestructContainer::runAction(), runTextIO(), and write().
AiValue* VehicleType::aiparam[8] [mutable] |
some information the AI stores about this unit
Definition at line 263 of file vehicletype.h.
Referenced by CalculateThreat_Vehicle::calc_threat_vehicle(), VehicleType(), and ~VehicleType().
the recommended task for the unit, set by the unit creater
Definition at line 266 of file vehicletype.h.
Referenced by read(), runTextIO(), VehicleType(), and write().
this label can select a special sound to be played when moving
Definition at line 272 of file vehicletype.h.
Referenced by read(), runTextIO(), and write().
this label can select a special sound to be played when this unit is killed
Definition at line 275 of file vehicletype.h.
Referenced by DestructUnitCommand::go(), read(), runTextIO(), BattleSoundPlayer::visit(), and write().
Definition at line 279 of file vehicletype.h.
Referenced by Vehicle::getHeightChange(), read(), runTextIO(), VehicleType(), and write().
Definition at line 292 of file vehicletype.h.
Referenced by Vehicle::getHeightChange(), read(), runTextIO(), and write().
Referenced by JumpDriveCommand::available(), JumpDriveCommand::go(), read(), runTextIO(), DataTab::setData(), and write().
1.5.1