Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Public Member Functions | |
ChooseTargetClass () | |
void | init (FireAt *fireat, Unit *un, float gunrange, vector< TurretBin > *tbin, const StaticTuple< float, numTuple > &innermaxrange, char maxrolepriority, int maxtargets) |
bool | acquire (Unit *un, float distance) |
bool | ShouldTargetUnit (Unit *un, float distance) |
Public Attributes | |
Unit * | mytarg |
|
inline |
|
inline |
Definition at line 353 of file fire.cpp.
References Collidable::getKey(), i, Unit::location, and Unit::UNIT_ONLY.
|
inline |
Definition at line 322 of file fire.cpp.
References Collidable::getKey(), UniverseUtil::getUnitByPtr(), i, is_null(), Unit::location, Unit::owner, and Unit::UNIT_ONLY.
|
inline |
Definition at line 379 of file fire.cpp.
References Unit::CloakVisible(), ROLES::getPriority(), i, k, Priority(), and Unit::unitRole().
Unit* ChooseTargetClass< numTuple >::mytarg |