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
define_odd_unit_functions.h File Reference

Go to the source code of this file.

Functions

void DefineOddUnitFunctions (boost::python::class_builder< UnitWrapper > &Class)
 

Function Documentation

void DefineOddUnitFunctions ( boost::python::class_builder< UnitWrapper > &  Class)

Definition at line 2 of file define_odd_unit_functions.h.

References UnitWrapper::ApplyDamage(), UnitWrapper::cosAngleFromMountTo(), UnitWrapper::cosAngleTo(), UnitWrapper::cosAngleToITTS(), UnitWrapper::getAverageGunSpeed(), UnitWrapper::GetJumpStatus(), UnitWrapper::GetMountInfo(), UnitWrapper::GetOrientation(), UnitWrapper::GetTarget(), UnitWrapper::GetVelocityDifficultyMult(), UnitWrapper::GetVelocityReference(), UnitWrapper::InsideCollideTree(), UnitWrapper::isNull(), UnitWrapper::Kill(), UnitWrapper::notNull(), PYTHON_DEFINE_METHOD, UnitWrapper::rayCollide(), UnitWrapper::setNull(), UnitWrapper::SetTarget(), and UnitWrapper::SetVelocityReference().

2  {
5  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::notNull,"__nonzero__");
9  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::SetVelocityReference,"SetVelocityReference");
10  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::GetVelocityReference,"GetVelocityReference");
11  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::GetOrientation,"GetOrientation");
12  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::rayCollide,"rayCollide");
13  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::cosAngleTo,"cosAngleTo");
14  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::cosAngleToITTS,"cosAngleToITTS");
15  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::cosAngleFromMountTo,"cosAngleFromMountTo");
16  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::getAverageGunSpeed,"getAverageGunSpeed");
17  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::InsideCollideTree,"InsideCollideTree");
18 // PYTHON_DEFINE_METHOD(Class,&UnitWrapper::getFlightgroupLeader,"getFlightgroupLeader");
19 // PYTHON_DEFINE_METHOD(Class,&UnitWrapper::setFlightgroupLeader,"setFlightgroupLeader");
20  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::GetVelocityDifficultyMult,"GetVelocityDifficultyMult");
21  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::GetJumpStatus,"GetJumpStatus");
22  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::ApplyDamage,"ApplyDamage");
23  PYTHON_DEFINE_METHOD(Class,&UnitWrapper::GetMountInfo,"GetMountInfo");
24 }