Searched refs:time_to_impact (Results 1 – 4 of 4) sorted by relevance
/dports/games/openclonk/openclonk-release-8.1-src/planet/Objects.ocd/Helpers.ocd/AI.ocd/Components.ocd/Protection.ocd/ |
H A D | Script.c | 39 var time_to_impact = 10 * Sqrt(d2) / Sqrt(v2); in ExecuteProtection() local 40 if (time_to_impact > 20) in ExecuteProtection() 79 if (this->ExecuteClubProtection(fx, obj, time_to_impact)) in ExecuteProtection() 107 public func ExecuteClubProtection(effect fx, object projectile, int time_to_impact) in ExecuteClubProtection() argument 117 if (club->RejectUse(fx.Target) || time_to_impact > 8) in ExecuteClubProtection()
|
/dports/games/xonotic/Xonotic/source/qcsrc/common/vehicles/vehicle/ |
H A D | racer_weapon.qc | 91 float time_to_impact = min(vlen(this.enemy.origin - this.origin) / vlen(this.velocity), 1); 92 vector predicted_origin = this.enemy.origin + this.enemy.velocity * time_to_impact;
|
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/hud/ |
H A D | hudtargetbox.cpp | 1023 float time_to_impact, factor; in renderTargetAsteroid() local 1031 time_to_impact = asteroid_time_to_impact(target_objp); in renderTargetAsteroid() 1064 if (time_to_impact>=0) in renderTargetAsteroid() 1076 if (time_to_impact>=0) in renderTargetAsteroid() 1129 if ( time_to_impact >= 0.0f ) { in renderTargetAsteroid() 1130 …fsets[0], position[1] + Class_offsets[1], EG_TBOX_CLASS, NOX("impact: %.1f sec"), time_to_impact); in renderTargetAsteroid()
|
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/hud/ |
H A D | hudtargetbox.cpp | 1066 float time_to_impact, factor; in renderTargetAsteroid() local 1074 time_to_impact = asteroid_time_to_impact(target_objp); in renderTargetAsteroid() 1109 if (time_to_impact>=0) in renderTargetAsteroid() 1120 if (time_to_impact>=0) in renderTargetAsteroid() 1174 if ( time_to_impact >= 0.0f ) { in renderTargetAsteroid() 1175 …], position[1] + Class_offsets[1], EG_TBOX_CLASS, XSTR("impact: %.1f sec", 1596), time_to_impact); in renderTargetAsteroid()
|