Searched refs:prospective_victim_ptr (Results 1 – 2 of 2) sorted by relevance
1322 object *prospective_victim_ptr; in select_next_target_by_distance() local1325 prospective_victim_ptr = &Objects[ship_object_ptr->objnum]; in select_next_target_by_distance()1327 prospective_victim_ship_ptr = &Ships[prospective_victim_ptr->instance]; in select_next_target_by_distance()1330 … if ((prospective_victim_ptr == Player_obj) || (should_be_ignored(prospective_victim_ship_ptr))) { in select_next_target_by_distance()1340 if (OBJ_INDEX(prospective_victim_ptr) == Player_ai->target_objnum) { in select_next_target_by_distance()1351 if (hud_target_invalid_awacs(prospective_victim_ptr)) { in select_next_target_by_distance()1355 new_distance = hud_find_target_distance(prospective_victim_ptr, Player_obj); in select_next_target_by_distance()1382 minimum_object_ptr = prospective_victim_ptr; in select_next_target_by_distance()1387 maximum_object_ptr = prospective_victim_ptr; in select_next_target_by_distance()1396 nearest_object_ptr = prospective_victim_ptr; in select_next_target_by_distance()[all …]
1314 object *prospective_victim_ptr; in select_next_target_by_distance() local1317 prospective_victim_ptr = &Objects[ ship_object_ptr->objnum]; in select_next_target_by_distance()1319 prospective_victim_ship_ptr = &Ships[prospective_victim_ptr->instance]; in select_next_target_by_distance()1322 …if ( (prospective_victim_ptr == Player_obj) || (prospective_victim_ship_ptr->flags & TARGET_SHIP_I… in select_next_target_by_distance()1332 if ( OBJ_INDEX(prospective_victim_ptr) == Player_ai->target_objnum ) { in select_next_target_by_distance()1343 if(hud_target_invalid_awacs(prospective_victim_ptr)){ in select_next_target_by_distance()1347 new_distance = hud_find_target_distance(prospective_victim_ptr,Player_obj); in select_next_target_by_distance()1373 minimum_object_ptr = prospective_victim_ptr; in select_next_target_by_distance()1378 maximum_object_ptr = prospective_victim_ptr; in select_next_target_by_distance()1387 nearest_object_ptr = prospective_victim_ptr; in select_next_target_by_distance()[all …]