Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Functions | |
bool | CompareDest (Unit *un, StarSystem *origin) |
std::vector< Unit * > | ComparePrimaries (Unit *primary, StarSystem *origin) |
void | DealPossibleJumpDamage (Unit *un) |
void | ActivateAnimation (Unit *) |
void | WarpPursuit (Unit *un, StarSystem *sourcess, std::string destination) |
Variables | |
Hashtable< std::string, StarSystem, 127 > | star_system_table |
std::vector< unorigdest * > | pendingjump |
void ActivateAnimation | ( | Unit * | ) |
Definition at line 893 of file star_system_generic.cpp.
References ActivateAnimation(), Unit::graphic_options::Animating, Unit::getSubUnits(), Unit::graphicOptions, and i.
|
inline |
Definition at line 13 of file unit_jump.h.
References Unit::GetDestinations(), StarSystem::getFileName(), and i.
Referenced by ComparePrimaries().
|
inline |
Definition at line 21 of file unit_jump.h.
References CompareDest().
Referenced by GameUnit< UnitType >::TransferUnitToSystem().
void DealPossibleJumpDamage | ( | Unit * | un) |
Definition at line 297 of file unit_functions_generic.cpp.
References Unit::ApplyDamage(), Unit::UnitJump::damage, float, Unit::GetJumpStatus(), VegaConfig::getVariable(), Unit::GetVelocity(), XMLSupport::parse_float(), Unit::Position(), speed, and vs_config.
Referenced by GameUnit< UnitType >::TransferUnitToSystem().
void WarpPursuit | ( | Unit * | un, |
StarSystem * | sourcess, | ||
std::string | destination | ||
) |
Definition at line 5260 of file unit_generic.cpp.
References Unit::UnitJump::delay, float_to_int(), StarSystem::getFileName(), VegaConfig::getVariable(), Unit::jump, StarSystem::JumpTo(), Magnitude(), XMLSupport::parse_bool(), XMLSupport::parse_float(), SystemLocation(), and vs_config.
Referenced by Unit::Target(), and GameUnit< UnitType >::TransferUnitToSystem().
std::vector< unorigdest * > pendingjump |
Definition at line 795 of file star_system_generic.cpp.
Referenced by GameStarSystem::DrawJumpStars(), StarSystem::JumpTo(), PendingJumpsEmpty(), StarSystem::ProcessPendingJumps(), TentativeJumpTo(), and GameUnit< UnitType >::TransferUnitToSystem().
Hashtable< std::string, StarSystem, 127 > star_system_table |
Definition at line 773 of file star_system_generic.cpp.