Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UnitWrapper Class Reference

#include <unit_wrapper_class.h>

Inheritance diagram for UnitWrapper:
UnitContainer

Public Member Functions

 voidWRAPPED0 (SetTurretAI) voidWRAPPED0(DisableTurretAI) voidWRAPPED3(leach
 
ZenergyPercent voidWRAPPED1 (setFullname, std::string, name) voidWRAPPED3(setTargetFg
 
ZenergyPercent tertiary voidWRAPPED1 (ReTargetFg, int, which_target) voidWRAPPED1(ToggleWeapon
 
ZenergyPercent tertiary Missile voidWRAPPED1 (SelectAllWeapon, bool, Missile) voidWRAPPED1(Split
 
ZenergyPercent tertiary
Missile level 
voidWRAPPED0 (Init) voidWRAPPED1(ActivateJumpDrive
 
ZenergyPercent tertiary
Missile level destination 
voidWRAPPED0 (DeactivateJumpDrive) voidWRAPPED0(Destroy) voidWRAPPED1(Cloak
 
ZenergyPercent tertiary
Missile level destination
cloak 
voidWRAPPED0 (RemoveFromSystem) voidWRAPPED1(TargetTurret
 
ZenergyPercent tertiary
Missile level destination
cloak targ 
voidWRAPPED2 (Threaten, UnitWrapper, targ, float, danger) voidWRAPPED0(ResetThreatLevel) voidWRAPPED2(Fire
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget 
voidWRAPPED0 (UnFire) WRAPPED0(float
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget 
WRAPPED1 (double, getMinDis, QVector, pnt, 0) voidWRAPPED0(PrimeOrders) voidWRAPPED1(LoadAIScript
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript 
voidWRAPPED1 (SetPosition, QVector, pos) voidWRAPPED1(SetCurPosition
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos 
voidWRAPPED1 (SetPosAndCumPos, QVector, pos) voidWRAPPED1(Rotate
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis 
voidWRAPPED1 (ApplyForce, Vector, Vforce) voidWRAPPED1(ApplyLocalForce
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce 
voidWRAPPED1 (Accelerate, Vector, Vforce) voidWRAPPED2(ApplyTorque
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location 
voidWRAPPED2 (ApplyBalancedLocalTorque, Vector, Vforce, Vector, Location) voidWRAPPED1(ApplyLocalTorque
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque 
voidWRAPPED2 (Thrust, Vector, amt, bool, afterburn) voidWRAPPED1(LateralThrust
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt 
voidWRAPPED1 (VerticalThrust, float, amt) voidWRAPPED1(LongitudinalThrust
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt 
voidWRAPPED2 (SetOrientation, QVector, q, QVector, r) voidWRAPPED1(SetVelocity
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v 
voidWRAPPED1 (SetAngularVelocity, Vector, v) voidWRAPPED1(EjectCargo
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index 
voidWRAPPED5 (ImportPartList, std::string, category, float, price, float, pricedev, float, quantity, float, quantdev) voidWRAPPED1(setCombatRole
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role 
WRAPPED0 (std::string, getCombatRole,"INERT") voidWRAPPED1(setAttackPreference
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role 
voidWRAPPED1 (setUnitRole, std::string, role) voidEXPORT_UTIL2(performDockingOperations
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role acootuallydock 
voidEXPORT_UTIL1 (setFactionIndex, int, factionname) voidEXPORT_UTIL1(setFactionName
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role acootuallydock
factionname 
voidEXPORT_UTIL1 (setName, std::string, name) voidEXPORT_UTIL1(SetHull
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role acootuallydock
factionname hull 
voidEXPORT_UTIL0 (RecomputeUnitUpgrades) EXPORT_UTIL1(Cargo
 
 voidEXPORT_UTIL1 (addCredits, float, credits) voidEXPORT_UTIL1(switchFg
 
arg voidEXPORT_UTIL1 (setECM, int, NewECM) EXPORT_UTIL0(int
 
arg getECM voidEXPORT_UTIL1 (setSpeed, float, speed) voidEXPORT_UTIL0(setMissionRelevant) voidEXPORT_UTIL5(orbit
 
arg getECM center
UniverseUtil::PythonUnitIter 
getSubUnits ()
 
void Kill ()
 
UnitWrapper GetTarget ()
 
UnitWrapper GetVelocityReference ()
 
void SetVelocityReference (UnitWrapper targ)
 
void SetTarget (UnitWrapper targ)
 
boost::python::tuple GetOrientation ()
 
boost::python::tuple rayCollide (QVector st, QVector en)
 
boost::python::tuple cosAngleToITTS (UnitWrapper target, float speed, float range)
 
boost::python::tuple cosAngleTo (UnitWrapper target)
 
boost::python::tuple cosAngleFromMountTo (UnitWrapper target)
 
boost::python::tuple getAverageGunSpeed ()
 
boost::python::tuple InsideCollideTree (UnitWrapper smaller)
 
BoostPythonDictionary GetMountInfo (int index) const
 
float GetVelocityDifficultyMult ()
 
int GetJumpStatus ()
 
void ApplyDamage (Vector pnt, Vector normal, float amt, UnitWrapper dealer, float phasedamage, float r, float g, float b, float a)
 
 UnitWrapper (UnitContainer cont)
 
 UnitWrapper (Unit *un=0)
 
 operator Unit * ()
 
bool isNull ()
 
bool notNull ()
 
void setNull ()
 
bool equal (UnitWrapper oth)
 
bool notequal (UnitWrapper oth)
 
- Public Member Functions inherited from UnitContainer
 UnitContainer ()
 
 UnitContainer (Unit *)
 
 UnitContainer (const UnitContainer &un)
 
const UnitContaineroperator= (const UnitContainer &a)
 
bool operator== (const Unit *oth) const
 
bool operator!= (const Unit *oth) const
 
bool operator== (const UnitContainer oth) const
 
bool operator!= (const UnitContainer oth) const
 
 ~UnitContainer ()
 
void SetUnit (Unit *)
 
UnitGetUnit ()
 

Public Attributes

 float
 
 XshieldPercent
 
 YrechargePercent
 
ZenergyPercent primary
 
ZenergyPercent secondary
 
ZenergyPercent tertiary bool
 
ZenergyPercent tertiary Missile int
 
ZenergyPercent tertiary
Missile level 
int
 
ZenergyPercent tertiary
Missile level destination 
bool
 
ZenergyPercent tertiary
Missile level destination
cloak 
UnitWrapper
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned 
int
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned 
Missile
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned 
bool
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget 
computeLockingPercent
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript 
QVector
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos 
Vector
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis 
Vector
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce 
Vector
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce 
Vforce
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce 
QVector
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location 
Vector
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque 
float
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt 
float
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt 
Vector
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v 
int
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role 
UnitWrapper
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role 
unitToDockWith
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role 
int
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role acootuallydock
factionname 
float
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role acootuallydock
factionname hull 
GetCargoIndex
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role acootuallydock
factionname hull 
int
 
ZenergyPercent tertiary
Missile level destination
cloak targ unsigned
OnlyCollideWithTarget aiscript
pos axis Vforce Location
torque amt amt v index role
role acootuallydock
factionname hull 
index
 
arg getECM UnitWrapper
 
arg getECM orbitee
 
arg getECM float
 
arg getECM speed
 
arg getECM QVector
 
arg getECM R
 
arg getECM S
 

Additional Inherited Members

- Protected Attributes inherited from UnitContainer
Unitunit
 

Detailed Description

Definition at line 90 of file unit_wrapper_class.h.

Constructor & Destructor Documentation

UnitWrapper::UnitWrapper ( UnitContainer  cont)
inline

Definition at line 271 of file unit_wrapper_class.h.

271 : UnitContainer( cont ) {}
UnitWrapper::UnitWrapper ( Unit un = 0)
inline

Definition at line 272 of file unit_wrapper_class.h.

272 : UnitContainer( un ) {}

Member Function Documentation

void UnitWrapper::ApplyDamage ( Vector  pnt,
Vector  normal,
float  amt,
UnitWrapper  dealer,
float  phasedamage,
float  r,
float  g,
float  b,
float  a 
)
inline

Definition at line 248 of file unit_wrapper_class.h.

References Unit::ApplyDamage(), CHECKME, UnitContainer::GetUnit(), and UnitContainer::unit.

Referenced by DefineOddUnitFunctions().

257  {
258  {
259  CHECKME;
260  }
261  unit->ApplyDamage( pnt, normal, amt, unit, GFXColor( r, g, b, a ), dealer.GetUnit(), phasedamage );
262  }
boost::python::tuple UnitWrapper::cosAngleFromMountTo ( UnitWrapper  target)
inline

Definition at line 182 of file unit_wrapper_class.h.

References CHECKME, Unit::cosAngleFromMountTo(), UnitContainer::unit, and VS_BOOST_MAKE_TUPLE_2.

Referenced by DefineOddUnitFunctions().

183  {
184  {
186  }
187  float dist;
188  float ret = unit->cosAngleFromMountTo( target, dist );
189  return VS_BOOST_MAKE_TUPLE_2( ret, dist );
190  }
boost::python::tuple UnitWrapper::cosAngleTo ( UnitWrapper  target)
inline

Definition at line 173 of file unit_wrapper_class.h.

References CHECKME, and VS_BOOST_MAKE_TUPLE_2.

Referenced by DefineOddUnitFunctions().

174  {
175  {
177  }
178  float dist;
179  float ret = unit->cosAngleTo( target, dist );
180  return VS_BOOST_MAKE_TUPLE_2( ret, dist );
181  }
boost::python::tuple UnitWrapper::cosAngleToITTS ( UnitWrapper  target,
float  speed,
float  range 
)
inline

Definition at line 164 of file unit_wrapper_class.h.

References CHECKME, Unit::cosAngleTo(), UnitContainer::unit, and VS_BOOST_MAKE_TUPLE_2.

Referenced by DefineOddUnitFunctions().

165  {
166  {
168  }
169  float dist;
170  float ret = unit->cosAngleTo( target, dist, speed, range );
171  return VS_BOOST_MAKE_TUPLE_2( ret, dist );
172  }
bool UnitWrapper::equal ( UnitWrapper  oth)
inline

Definition at line 291 of file unit_wrapper_class.h.

References UnitContainer::operator==().

292  {
293  return this->operator==( oth );
294  }
boost::python::tuple UnitWrapper::getAverageGunSpeed ( )
inline

Definition at line 191 of file unit_wrapper_class.h.

References CHECKME, Unit::getAverageGunSpeed(), speed, UnitContainer::unit, and VS_BOOST_MAKE_TUPLE.

Referenced by DefineOddUnitFunctions().

192  {
193  {
194  CHECKME VS_BOOST_MAKE_TUPLE( 1, 0, 0 );
195  }
196  float speed, range, missilespeed;
197  unit->getAverageGunSpeed( speed, range, missilespeed );
198  return VS_BOOST_MAKE_TUPLE( speed, range, missilespeed );
199  }
int UnitWrapper::GetJumpStatus ( )
inline

Definition at line 241 of file unit_wrapper_class.h.

References CHECKME, Unit::UnitJump::drive, Unit::GetJumpStatus(), and UnitContainer::unit.

Referenced by DefineOddUnitFunctions().

242  {
243  {
244  CHECKME-1;
245  }
246  return unit->GetJumpStatus().drive;
247  }
BoostPythonDictionary UnitWrapper::GetMountInfo ( int  index) const

Definition at line 256 of file unit_wrapper.cpp.

References Mount::ammo, Mount::bank, Mount::functionality, GatherWeaponInfo(), Mount::GetMountLocation(), Mount::GetMountOrientation(), index, Mount::IsEmpty(), Mount::maxfunctionality, ParseMountStatus(), ParseSizeFlags(), Quaternion::s, Mount::size, Mount::status, Mount::type, Quaternion::v, Vector, Mount::volume, VS_BOOST_MAKE_TUPLE, VS_BOOST_MAKE_TUPLE_4, Mount::xyscale, and Mount::zscale.

Referenced by DefineOddUnitFunctions().

257 {
259  if ( (index >= 0) && ( (unsigned) index < unit->mounts.size() ) ) {
260  Mount &mnt = unit->mounts[index];
261 
262  Vector pos = mnt.GetMountLocation();
263  Vector scale = Vector( mnt.xyscale, mnt.xyscale, mnt.zscale );
264  Quaternion orientation = mnt.GetMountOrientation();
265 
266  rv["position"] = VS_BOOST_MAKE_TUPLE( pos.i, pos.j, pos.k );
267  rv["orientation"] = VS_BOOST_MAKE_TUPLE_4( orientation.v.i, orientation.v.j, orientation.v.k, orientation.s );
268  rv["scale"] = VS_BOOST_MAKE_TUPLE( scale.i, scale.j, scale.k );
269 
270  rv["empty"] = mnt.IsEmpty();
271  rv["volume"] = mnt.volume;
272  rv["ammo"] = mnt.ammo;
273  rv["size"] = mnt.size;
274  rv["size_flags"] = ParseSizeFlags( mnt.size );
275  rv["bank"] = mnt.bank;
276  rv["functionality"] = mnt.functionality;
277  rv["maxfunctionality"] = mnt.maxfunctionality;
278 
279  rv["status"] = ParseMountStatus( mnt.status );
280  if ( !mnt.IsEmpty() )
281  rv["weapon_info"] = GatherWeaponInfo( mnt.type );
282  } else {
283  rv["empty"] = true;
284  rv["status"] = std::string( "UNDEFINED" );
285  }
286  return rv;
287 }
boost::python::tuple UnitWrapper::GetOrientation ( )
inline

Definition at line 138 of file unit_wrapper_class.h.

References CHECKME, Unit::GetOrientation(), q, UnitContainer::unit, Vector, and VS_BOOST_MAKE_TUPLE.

Referenced by DefineOddUnitFunctions().

139  {
140  {
142  0,
143  0 ) );
144  }
145  Vector p, q, r;
146  unit->GetOrientation( p, q, r );
147  return VS_BOOST_MAKE_TUPLE( VS_BOOST_MAKE_TUPLE( p.i, p.j, p.k ), VS_BOOST_MAKE_TUPLE( q.i,
148  q.j,
149  q.k ),
150  VS_BOOST_MAKE_TUPLE( r.i, r.j, r.k ) );
151  }
arg getECM center UniverseUtil::PythonUnitIter UnitWrapper::getSubUnits ( )
inline

Definition at line 96 of file unit_wrapper_class.h.

References CHECKME, Unit::getSubUnits(), and UnitContainer::unit.

97  {
98  {
100  }
101  return unit->getSubUnits();
102  }
UnitWrapper UnitWrapper::GetTarget ( )
inline

Definition at line 110 of file unit_wrapper_class.h.

References CHECKME, Unit::Target(), and UnitContainer::unit.

Referenced by DefineOddUnitFunctions().

111  {
112  {
113  CHECKME 0;
114  }
115  return unit->Target();
116  }
float UnitWrapper::GetVelocityDifficultyMult ( )
inline

Definition at line 232 of file unit_wrapper_class.h.

References CHECKME, Unit::GetVelocityDifficultyMult(), and UnitContainer::unit.

Referenced by DefineOddUnitFunctions().

233  {
234  {
235  CHECKME 0;
236  }
237  float diff = 1;
239  return diff;
240  }
UnitWrapper UnitWrapper::GetVelocityReference ( )
inline

Definition at line 117 of file unit_wrapper_class.h.

References CHECKME, UnitContainer::unit, and Unit::VelocityReference().

Referenced by DefineOddUnitFunctions().

118  {
119  {
120  CHECKME 0;
121  }
122  return unit->VelocityReference();
123  }
boost::python::tuple UnitWrapper::InsideCollideTree ( UnitWrapper  smaller)
inline

Definition at line 200 of file unit_wrapper_class.h.

References CHECKME, Unit::InsideCollideTree(), QVector, UnitContainer::unit, Vector, VS_BOOST_MAKE_TUPLE, and VS_BOOST_MAKE_TUPLE_4.

Referenced by DefineOddUnitFunctions().

201  {
202  {
204  0,
205  0,
206  0 ), VS_BOOST_MAKE_TUPLE( 0, 0, 0 ) );
207  }
208  QVector bigpos, smallpos;
209  Vector bigNormal, smallNormal;
210  if ( !unit->InsideCollideTree( smaller, bigpos, bigNormal, smallpos, smallNormal ) ) {
211  bigpos = smallpos = QVector( 0,
212  0,
213  0 );
214  }
215  boost::python::tuple tup = VS_BOOST_MAKE_TUPLE_4( VS_BOOST_MAKE_TUPLE( bigpos.i,
216  bigpos.j,
217  bigpos.k ),
218  VS_BOOST_MAKE_TUPLE( bigNormal.i,
219  bigNormal.j,
220  bigNormal.k ), VS_BOOST_MAKE_TUPLE( smallpos.i,
221  smallpos
222  .j,
223  smallpos
224  .k ),
225  VS_BOOST_MAKE_TUPLE( smallNormal.i, smallNormal.j, smallNormal.k ) );
226  return tup;
227  }
bool UnitWrapper::isNull ( )
inline

Definition at line 277 of file unit_wrapper_class.h.

References Unit::GetHull(), and UnitContainer::GetUnit().

Referenced by DefineOddUnitFunctions(), and notNull().

278  {
279  Unit *un = GetUnit();
280  if (un) if (un->GetHull() <= 0) return true;
281  return un == 0;
282  }
void UnitWrapper::Kill ( )
inline

Definition at line 103 of file unit_wrapper_class.h.

References CHECKME, Unit::Kill(), and UnitContainer::unit.

Referenced by DefineOddUnitFunctions().

104  {
105  {
106  CHECKME;
107  }
108  unit->Kill( true );
109  }
bool UnitWrapper::notequal ( UnitWrapper  oth)
inline

Definition at line 295 of file unit_wrapper_class.h.

References UnitContainer::operator!=().

296  {
297  return this->operator!=( oth );
298  }
bool UnitWrapper::notNull ( )
inline

Definition at line 283 of file unit_wrapper_class.h.

References isNull().

Referenced by DefineOddUnitFunctions().

284  {
285  return !isNull();
286  }
UnitWrapper::operator Unit * ( )
inline

Definition at line 273 of file unit_wrapper_class.h.

References UnitContainer::GetUnit().

274  {
275  return GetUnit();
276  }
boost::python::tuple UnitWrapper::rayCollide ( QVector  st,
QVector  en 
)
inline

Definition at line 152 of file unit_wrapper_class.h.

References CHECKME, and VS_BOOST_MAKE_TUPLE.

Referenced by DefineOddUnitFunctions().

153  {
154  {
155  CHECKME VS_BOOST_MAKE_TUPLE( 0, VS_BOOST_MAKE_TUPLE( 0, 0, 1 ), 0 );
156  }
157  float dist;
158  UnitWrapper un;
159  Vector nml;
160  un = unit->rayCollide( st, en, nml, dist);
161  boost::python::tuple ret = VS_BOOST_MAKE_TUPLE( un, nml, dist );
162  return ret;
163  }
void UnitWrapper::setNull ( )
inline

Definition at line 287 of file unit_wrapper_class.h.

References UnitContainer::SetUnit().

Referenced by DefineOddUnitFunctions().

288  {
289  SetUnit( 0 );
290  }
void UnitWrapper::SetTarget ( UnitWrapper  targ)
inline

Definition at line 131 of file unit_wrapper_class.h.

References CHECKME, Unit::Target(), and UnitContainer::unit.

Referenced by DefineOddUnitFunctions().

132  {
133  {
134  CHECKME;
135  }
136  unit->Target( targ );
137  }
void UnitWrapper::SetVelocityReference ( UnitWrapper  targ)
inline

Definition at line 124 of file unit_wrapper_class.h.

Referenced by DefineOddUnitFunctions().

125  {
126  {
127  CHECKME;
128  }
129  unit->VelocityReference( targ );
130  }
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role acootuallydock factionname hull UnitWrapper::voidEXPORT_UTIL0 ( RecomputeUnitUpgrades  )
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role acootuallydock UnitWrapper::voidEXPORT_UTIL1 ( setFactionIndex  ,
int  ,
factionname   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role acootuallydock factionname UnitWrapper::voidEXPORT_UTIL1 ( setName  ,
std::string  ,
name   
)
UnitWrapper::voidEXPORT_UTIL1 ( addCredits  ,
float  ,
credits   
)
arg UnitWrapper::voidEXPORT_UTIL1 ( setECM  ,
int  ,
NewECM   
)
arg getECM UnitWrapper::voidEXPORT_UTIL1 ( setSpeed  ,
float  ,
speed   
)
UnitWrapper::voidWRAPPED0 ( SetTurretAI  )
ZenergyPercent tertiary Missile level UnitWrapper::voidWRAPPED0 ( Init  )
ZenergyPercent tertiary Missile level destination UnitWrapper::voidWRAPPED0 ( DeactivateJumpDrive  )
ZenergyPercent tertiary Missile level destination cloak UnitWrapper::voidWRAPPED0 ( RemoveFromSystem  )
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget UnitWrapper::voidWRAPPED0 ( UnFire  )
ZenergyPercent UnitWrapper::voidWRAPPED1 ( setFullname  ,
std::string  ,
name   
)
ZenergyPercent tertiary UnitWrapper::voidWRAPPED1 ( ReTargetFg  ,
int  ,
which_target   
)
ZenergyPercent tertiary Missile UnitWrapper::voidWRAPPED1 ( SelectAllWeapon  ,
bool  ,
Missile   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript UnitWrapper::voidWRAPPED1 ( SetPosition  ,
QVector  ,
pos   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos UnitWrapper::voidWRAPPED1 ( SetPosAndCumPos  ,
QVector  ,
pos   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis UnitWrapper::voidWRAPPED1 ( ApplyForce  ,
Vector  ,
Vforce   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce UnitWrapper::voidWRAPPED1 ( Accelerate  ,
Vector  ,
Vforce   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt UnitWrapper::voidWRAPPED1 ( VerticalThrust  ,
float  ,
amt   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v UnitWrapper::voidWRAPPED1 ( SetAngularVelocity  ,
Vector  ,
v   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role UnitWrapper::voidWRAPPED1 ( setUnitRole  ,
std::string  ,
role   
)
ZenergyPercent tertiary Missile level destination cloak targ UnitWrapper::voidWRAPPED2 ( Threaten  ,
UnitWrapper  ,
targ  ,
float  ,
danger   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location UnitWrapper::voidWRAPPED2 ( ApplyBalancedLocalTorque  ,
Vector  ,
Vforce  ,
Vector  ,
Location   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque UnitWrapper::voidWRAPPED2 ( Thrust  ,
Vector  ,
amt  ,
bool  ,
afterburn   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt UnitWrapper::voidWRAPPED2 ( SetOrientation  ,
QVector  ,
q  ,
QVector  ,
 
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index UnitWrapper::voidWRAPPED5 ( ImportPartList  ,
std::string  ,
category  ,
float  ,
price  ,
float  ,
pricedev  ,
float  ,
quantity  ,
float  ,
quantdev   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role UnitWrapper::WRAPPED0 ( std::string  ,
getCombatRole  ,
"INERT"   
)
ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget UnitWrapper::WRAPPED1 ( double  ,
getMinDis  ,
QVector  ,
pnt  ,
 
)

Member Data Documentation

ZenergyPercent tertiary UnitWrapper::bool

Definition at line 26 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination UnitWrapper::bool

Definition at line 37 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned UnitWrapper::bool

Definition at line 47 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget UnitWrapper::computeLockingPercent

Definition at line 49 of file unit_wrapper_class.h.

UnitWrapper::float

Definition at line 11 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque UnitWrapper::float

Definition at line 81 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt UnitWrapper::float

Definition at line 83 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role acootuallydock factionname UnitWrapper::float

Definition at line 138 of file unit_wrapper_class.h.

arg getECM UnitWrapper::float

Definition at line 179 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role acootuallydock factionname hull UnitWrapper::GetCargoIndex

Definition at line 157 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role acootuallydock factionname hull UnitWrapper::index

Definition at line 157 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile UnitWrapper::int

Definition at line 28 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level UnitWrapper::int

Definition at line 31 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned UnitWrapper::int

Definition at line 47 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v UnitWrapper::int

Definition at line 102 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role UnitWrapper::int

Definition at line 127 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role acootuallydock factionname hull UnitWrapper::int

Definition at line 157 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned UnitWrapper::Missile

Definition at line 47 of file unit_wrapper_class.h.

arg getECM UnitWrapper::orbitee

Definition at line 179 of file unit_wrapper_class.h.

ZenergyPercent UnitWrapper::primary

Definition at line 17 of file unit_wrapper_class.h.

arg getECM UnitWrapper::QVector

Definition at line 69 of file unit_wrapper_class.h.

Referenced by InsideCollideTree().

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce UnitWrapper::QVector

Definition at line 75 of file unit_wrapper_class.h.

arg getECM UnitWrapper::QVector

Definition at line 179 of file unit_wrapper_class.h.

arg getECM UnitWrapper::R

Definition at line 179 of file unit_wrapper_class.h.

arg getECM UnitWrapper::S

Definition at line 179 of file unit_wrapper_class.h.

ZenergyPercent UnitWrapper::secondary

Definition at line 17 of file unit_wrapper_class.h.

arg getECM UnitWrapper::speed

Definition at line 179 of file unit_wrapper_class.h.

Referenced by getAverageGunSpeed().

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role UnitWrapper::unitToDockWith

Definition at line 127 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak UnitWrapper::UnitWrapper

Definition at line 44 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt v index role role UnitWrapper::UnitWrapper

Definition at line 127 of file unit_wrapper_class.h.

arg getECM UnitWrapper::UnitWrapper

Definition at line 179 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos UnitWrapper::Vector

Definition at line 71 of file unit_wrapper_class.h.

Referenced by GetOrientation(), and InsideCollideTree().

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis UnitWrapper::Vector

Definition at line 73 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce UnitWrapper::Vector

Definition at line 75 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location UnitWrapper::Vector

Definition at line 77 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce Location torque amt amt UnitWrapper::Vector

Definition at line 94 of file unit_wrapper_class.h.

ZenergyPercent tertiary Missile level destination cloak targ unsigned OnlyCollideWithTarget aiscript pos axis Vforce UnitWrapper::Vforce

Definition at line 75 of file unit_wrapper_class.h.

UnitWrapper::XshieldPercent

Definition at line 11 of file unit_wrapper_class.h.

UnitWrapper::YrechargePercent

Definition at line 11 of file unit_wrapper_class.h.


The documentation for this class was generated from the following files: