Home
last modified time | relevance | path

Searched refs:temp_max_hull_strength (Results 1 – 8 of 8) sorted by relevance

/dports/games/fs2open/fs2open.github.com-release_21_4_1/fred2/
H A Dshipspecialhitpoints.cpp151 float temp_max_hull_strength; in OnOk() local
208 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()
H A Dmanagement.cpp528 float temp_max_hull_strength; in create_ship() local
602 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()
H A Dmissionsave.cpp1469 float temp_max_hull_strength; in save_common_object_data() local
1484 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()
/dports/games/diaspora/Diaspora_R1_Linux/Diaspora/fs2_open/code/fred2/
H A Dshipspecialhitpoints.cpp151 float temp_max_hull_strength; in OnOk() local
208 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()
H A Dmanagement.cpp504 float temp_max_hull_strength; in create_ship() local
572 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()
H A Dmissionsave.cpp2075 float temp_max_hull_strength; in save_common_object_data() local
2091 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()
/dports/games/fs2open/fs2open.github.com-release_21_4_1/qtfred/src/mission/
H A DEditor.cpp686 float temp_max_hull_strength; in create_ship() local
745 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()
H A Dmissionsave.cpp1238 float temp_max_hull_strength; in save_common_object_data() local
1254 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()