Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Shielding Struct holding values of current shields. More...
#include <unit_armorshield.h>
Public Member Functions | |
Shield () | |
Shielding Struct holding values of current shields.
Definition at line 38 of file unit_armorshield.h.
|
inline |
Definition at line 84 of file unit_armorshield.h.
union { ... } |
float Shield::back |
Definition at line 49 of file unit_armorshield.h.
float Shield::backleftbottom |
Definition at line 65 of file unit_armorshield.h.
float Shield::backleftbottommax |
Definition at line 67 of file unit_armorshield.h.
float Shield::backlefttop |
Definition at line 65 of file unit_armorshield.h.
float Shield::backlefttopmax |
Definition at line 67 of file unit_armorshield.h.
float Shield::backmax |
Definition at line 51 of file unit_armorshield.h.
float Shield::backrightbottom |
Definition at line 65 of file unit_armorshield.h.
float Shield::backrightbottommax |
Definition at line 67 of file unit_armorshield.h.
float Shield::backrighttop |
Definition at line 65 of file unit_armorshield.h.
float Shield::backrighttopmax |
Definition at line 67 of file unit_armorshield.h.
float Shield::cur[MAX_SHIELD_NUMBER] |
Definition at line 73 of file unit_armorshield.h.
float Shield::efficiency |
Definition at line 42 of file unit_armorshield.h.
Referenced by NetBuffer::addShield(), NetBuffer::getShield(), Unit::Init(), Unit::LoadRow(), Unit::UpAndDownGrade(), and Unit::WriteUnitString().
float Shield::front |
Definition at line 49 of file unit_armorshield.h.
float Shield::frontleftbottom |
Definition at line 65 of file unit_armorshield.h.
float Shield::frontleftbottommax |
Definition at line 67 of file unit_armorshield.h.
float Shield::frontlefttop |
Definition at line 65 of file unit_armorshield.h.
float Shield::frontlefttopmax |
Definition at line 67 of file unit_armorshield.h.
float Shield::frontmax |
Definition at line 51 of file unit_armorshield.h.
float Shield::frontrightbottom |
Definition at line 65 of file unit_armorshield.h.
float Shield::frontrightbottommax |
Definition at line 67 of file unit_armorshield.h.
float Shield::frontrighttop |
Definition at line 65 of file unit_armorshield.h.
float Shield::frontrighttopmax |
Definition at line 67 of file unit_armorshield.h.
char Shield::leak |
What percentage leaks (divide by 100%)
Definition at line 82 of file unit_armorshield.h.
Referenced by ZoneMgr::addDamage(), NetBuffer::addShield(), NetBuffer::getShield(), Unit::Init(), Unit::LoadRow(), Unit::UpAndDownGrade(), and Unit::WriteUnitString().
float Shield::left |
Definition at line 57 of file unit_armorshield.h.
float Shield::leftmax |
Definition at line 59 of file unit_armorshield.h.
float Shield::max[MAX_SHIELD_NUMBER] |
Definition at line 74 of file unit_armorshield.h.
signed char Shield::number |
the number of shields in the current shielding struct
Definition at line 80 of file unit_armorshield.h.
Referenced by NetBuffer::addShield(), currentTotalShieldVal(), NetBuffer::getShield(), Unit::Init(), Unit::LoadRow(), Planet::Planet(), PowerDownShield(), Enhancement::reactToCollision(), SetShieldZero(), Unit::shieldSerializer(), showUnitStats(), totalShieldVal(), Unit::UpAndDownGrade(), and Unit::WriteUnitString().
float Shield::padding[4] |
Definition at line 50 of file unit_armorshield.h.
ShieldFacing Shield::range[MAX_SHIELD_NUMBER] |
Definition at line 78 of file unit_armorshield.h.
Referenced by Unit::LoadRow(), and Shield().
float Shield::recharge |
How much the shield recharges per second.
Definition at line 41 of file unit_armorshield.h.
Referenced by ZoneMgr::addDamage(), NetBuffer::addShield(), NetBuffer::getShield(), Unit::Init(), Unit::LoadRow(), Unit::RepairUpgrade(), Unit::ShieldRechargeData(), showUnitStats(), Unit::UpAndDownGrade(), and Unit::WriteUnitString().
float Shield::right |
Definition at line 57 of file unit_armorshield.h.
float Shield::rightmax |
Definition at line 59 of file unit_armorshield.h.
struct { ... } Shield::shield |
Referenced by Unit::LoadRow(), GameCockpit::LookupUnitStat(), and Shield().
struct { ... } Shield::shield2fb |
if shield is 2 big, 2 floats make this shield up, and 2 floats for max {front,back,frontmax,backmax}
Referenced by NetBuffer::addShield(), currentTotalShieldVal(), NetBuffer::getShield(), Unit::Init(), Unit::LoadRow(), PowerDownShield(), Enhancement::reactToCollision(), SetShieldZero(), Unit::shieldSerializer(), showUnitStats(), totalShieldVal(), Unit::UpAndDownGrade(), and Unit::WriteUnitString().
struct { ... } Shield::shield4fbrl |
If the shield if 4 big, 4 floats make the shield up, and 4 keep track of max recharge value.
Referenced by NetBuffer::addShield(), currentTotalShieldVal(), NetBuffer::getShield(), Unit::LoadRow(), PowerDownShield(), SetShieldZero(), Unit::shieldSerializer(), showUnitStats(), totalShieldVal(), Unit::UpAndDownGrade(), and Unit::WriteUnitString().
struct { ... } Shield::shield8 |
If the shield is 8 sided, 16 floats make it up.
Referenced by NetBuffer::addShield(), currentTotalShieldVal(), NetBuffer::getShield(), Unit::LoadRow(), PowerDownShield(), SetShieldZero(), Unit::shieldSerializer(), showUnitStats(), totalShieldVal(), Unit::UpAndDownGrade(), and Unit::WriteUnitString().