Searched refs:temp_max_hull_strength (Results 1 – 8 of 8) sorted by relevance
151 float temp_max_hull_strength; in OnOk() local208 temp_max_hull_strength = (float)Ships[m_selected_ships[i]].special_hitpoints; in OnOk()212 temp_max_hull_strength = Ship_info[Ships[m_selected_ships[i]].ship_info_index].max_hull_strength; in OnOk()215 …d_ships[i]].ai_index].kamikaze_damage = std::min(1000, 200 + (int)(temp_max_hull_strength / 4.0f)); in OnOk()
528 float temp_max_hull_strength; in create_ship() local602 temp_max_hull_strength = (float)shipp->special_exp_blast; in create_ship()606 temp_max_hull_strength = sip->max_hull_strength; in create_ship()609 …ipp->ai_index].kamikaze_damage = (int) std::min(1000.0f, 200.0f + (temp_max_hull_strength / 4.0f)); in create_ship()
1469 float temp_max_hull_strength; in save_common_object_data() local1484 temp_max_hull_strength = (float) shipp->special_hitpoints; in save_common_object_data()1486 temp_max_hull_strength = sip->max_hull_strength; in save_common_object_data()1489 if ((int) objp->hull_strength != temp_max_hull_strength) { in save_common_object_data()
151 float temp_max_hull_strength; in OnOk() local208 temp_max_hull_strength = (float)Ships[m_selected_ships[i]].special_hitpoints; in OnOk()212 temp_max_hull_strength = Ship_info[Ships[m_selected_ships[i]].ship_info_index].max_hull_strength; in OnOk()215 …lected_ships[i]].ai_index].kamikaze_damage = min(1000, 200 + (int)(temp_max_hull_strength / 4.0f)); in OnOk()
504 float temp_max_hull_strength; in create_ship() local572 temp_max_hull_strength = (float)shipp->special_exp_blast; in create_ship()576 temp_max_hull_strength = sip->max_hull_strength; in create_ship()579 …Ai_info[shipp->ai_index].kamikaze_damage = (int) min(1000.0f, 200.0f + (temp_max_hull_strength / 4… in create_ship()
2075 float temp_max_hull_strength; in save_common_object_data() local2091 temp_max_hull_strength = (float)shipp->special_hitpoints; in save_common_object_data()2095 temp_max_hull_strength = sip->max_hull_strength; in save_common_object_data()2098 if ((int) objp->hull_strength != temp_max_hull_strength) { in save_common_object_data()
686 float temp_max_hull_strength; in create_ship() local745 temp_max_hull_strength = (float) shipp->special_exp_blast; in create_ship()747 temp_max_hull_strength = sip->max_hull_strength; in create_ship()750 …ipp->ai_index].kamikaze_damage = (int) std::min(1000.0f, 200.0f + (temp_max_hull_strength / 4.0f)); in create_ship()
1238 float temp_max_hull_strength; in save_common_object_data() local1254 temp_max_hull_strength = (float) shipp->special_hitpoints; in save_common_object_data()1256 temp_max_hull_strength = sip->max_hull_strength; in save_common_object_data()1259 if ((int) objp->hull_strength != temp_max_hull_strength) { in save_common_object_data()