Home
last modified time | relevance | path

Searched refs:debris_max_hitpoints (Results 1 – 6 of 6) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/debris/
H A Ddebris.cpp567 if(sip->debris_min_hitpoints >= 0.0f && sip->debris_max_hitpoints >= 0.0f) in MONITOR()
569 …obj->hull_strength = (( sip->debris_max_hitpoints - sip->debris_min_hitpoints ) * frand()) + sip->… in MONITOR()
576 else if(sip->debris_max_hitpoints >= 0.0f) in MONITOR()
578 if(obj->hull_strength > sip->debris_max_hitpoints) in MONITOR()
579 obj->hull_strength = sip->debris_max_hitpoints; in MONITOR()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/debris/
H A Ddebris.cpp636 if(sip->debris_min_hitpoints >= 0.0f && sip->debris_max_hitpoints >= 0.0f) in debris_create()
638 …obj->hull_strength = (( sip->debris_max_hitpoints - sip->debris_min_hitpoints ) * frand()) + sip->… in debris_create()
645 else if(sip->debris_max_hitpoints >= 0.0f) in debris_create()
647 if(obj->hull_strength > sip->debris_max_hitpoints) in debris_create()
648 obj->hull_strength = sip->debris_max_hitpoints; in debris_create()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/ship/
H A Dship.h1255 float debris_max_hitpoints; variable
H A Dship.cpp817 sip->debris_max_hitpoints = -1.0f; in init_ship_entry()
1902 stuff_float(&sip->debris_max_hitpoints); in parse_ship_values()
1903 if(sip->debris_max_hitpoints < 0.0f) in parse_ship_values()
1935 if(sip->debris_min_hitpoints > sip->debris_max_hitpoints && sip->debris_max_hitpoints >= 0.0f) { in parse_ship_values()
1936 … max hitpoints.", sip->debris_min_hitpoints, info_type_name, sip->name, sip->debris_max_hitpoints); in parse_ship_values()
1937 sip->debris_min_hitpoints = sip->debris_max_hitpoints; in parse_ship_values()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/code/ship/
H A Dship.h1162 float debris_max_hitpoints; variable
H A Dship.cpp942 debris_max_hitpoints = other.debris_max_hitpoints; in clone()
1287 debris_max_hitpoints = other.debris_max_hitpoints; in move()
1693 debris_max_hitpoints = -1.0f; in ship_info()
3158 stuff_float(&sip->debris_max_hitpoints); in parse_ship_values()
3159 if(sip->debris_max_hitpoints < 0.0f) in parse_ship_values()
3226 if(sip->debris_min_hitpoints > sip->debris_max_hitpoints && sip->debris_max_hitpoints >= 0.0f) { in parse_ship_values()
3227 … max hitpoints.", sip->debris_min_hitpoints, info_type_name, sip->name, sip->debris_max_hitpoints); in parse_ship_values()
3228 sip->debris_min_hitpoints = sip->debris_max_hitpoints; in parse_ship_values()