Searched refs:debris_max_hitpoints (Results 1 – 6 of 6) sorted by relevance
567 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()
636 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()
1255 float debris_max_hitpoints; variable
817 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()
1162 float debris_max_hitpoints; variable
942 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()