Lines Matching refs:targetResistance
138 int targetResistance = capture_expected_resistance(townRecno, &captureUnitRecno); in think_capture_independent() local
140 int minResistance = MIN( averageResistance, targetResistance ); in think_capture_independent()
240 int targetResistance; in capture_expected_resistance() local
242 *captureUnitRecno = find_best_capturer(townRecno, majorityRace, /*out*/ targetResistance); in capture_expected_resistance()
247 ( targetResistance * townPtr->race_pop_array[majorityRace-1] + in capture_expected_resistance()
299 int targetResistance; in capture_build_camp() local
302 unitRecno = find_best_capturer(townRecno, raceId, targetResistance); in capture_build_camp()
364 int targetResistance; in find_best_capturer() local
431 …targetResistance = 100-targetTown->camp_influence(unitPtr->sprite_recno); // influence of this un… in find_best_capturer()
435 if( targetResistance < bestTargetResistance ) in find_best_capturer()
437 bestTargetResistance = targetResistance; in find_best_capturer()