Home
last modified time | relevance | path

Searched refs:tech_want (Results 1 – 24 of 24) sorted by relevance

/dports/games/freeciv-nox11/freeciv-2.6.6/ai/default/
H A Daitech.c110 values[i] += plr_data->tech_want[i]; in dai_select_tech()
113 values[k] += plr_data->tech_want[i] / steps; in dai_select_tech()
145 plr_data->tech_want[i], in dai_select_tech()
257 adv_want tech_want; in dai_tech_effect_values() local
301 tech_want = v * 14 / 8; in dai_tech_effect_values()
303 aip->tech_want[advance_index(padv)] += tech_want; in dai_tech_effect_values()
461 plr_data->tech_want[advance_index(best_tech)] += want; in dai_wants_defender_against()
548 plr_data->tech_want[advance_index(best_tech)] += want; in dai_wants_role_unit()
565 plr_data->tech_want[i] = 0; in dai_clear_tech_wants()
H A Daiplayer.c158 created_data->tech_want[i] = orig_data->tech_want[i]; in dai_player_copy()
H A Daiparatrooper.c408 plr_data->tech_want[tech_req] += 2; in dai_choose_paratrooper()
415 plr_data->tech_want[tech_req]); in dai_choose_paratrooper()
420 plr_data->tech_want[k] += 1; in dai_choose_paratrooper()
H A Daidata.h98 adv_want tech_want[A_LAST+1]; member
H A Dailog.c83 plr_data->tech_want[advance_index(padvance)], in real_tech_log()
H A Daicity.c156 const adv_want tech_want = building_want * def_ai_city_data(pcity, ait)->building_wait in want_tech_for_improvement_effect() local
164 building_want, tech_want); in want_tech_for_improvement_effect()
167 def_ai_player_data(pplayer, ait)->tech_want[advance_index(tech)] += tech_want; in want_tech_for_improvement_effect()
H A Ddaidiplomacy.c154 int bulbs, tech_want, worth; in dai_goldequiv_tech() local
165 tech_want = MAX(plr_data->tech_want[tech], 0) / MAX(game.info.turn, 1); in dai_goldequiv_tech()
166 worth = bulbs + tech_want; in dai_goldequiv_tech()
H A Ddaimilitary.c854 plr_data->tech_want[advance_index(punittype->require_advance)] in dai_process_defender_want()
1088 plr_data->tech_want[advance_index(punittype->require_advance)] in process_attacker_want()
H A Daihand.c725 plr_data->tech_want[adv->goal.govt.req] += want; in dai_manage_government()
H A Daidiplomat.c162 plr_data->tech_want[advance_index(ut->require_advance)] in dai_choose_diplomat_defensive()
H A Daisettler.c928 plr_data->tech_want[advance_index(boattype->require_advance)] in find_best_city_placement()
/dports/games/freeciv/freeciv-2.6.6/ai/default/
H A Daitech.c110 values[i] += plr_data->tech_want[i]; in dai_select_tech()
113 values[k] += plr_data->tech_want[i] / steps; in dai_select_tech()
145 plr_data->tech_want[i], in dai_select_tech()
257 adv_want tech_want; in dai_tech_effect_values() local
301 tech_want = v * 14 / 8; in dai_tech_effect_values()
303 aip->tech_want[advance_index(padv)] += tech_want; in dai_tech_effect_values()
461 plr_data->tech_want[advance_index(best_tech)] += want; in dai_wants_defender_against()
548 plr_data->tech_want[advance_index(best_tech)] += want; in dai_wants_role_unit()
565 plr_data->tech_want[i] = 0; in dai_clear_tech_wants()
H A Daiplayer.c158 created_data->tech_want[i] = orig_data->tech_want[i]; in dai_player_copy()
H A Daiparatrooper.c408 plr_data->tech_want[tech_req] += 2; in dai_choose_paratrooper()
415 plr_data->tech_want[tech_req]); in dai_choose_paratrooper()
420 plr_data->tech_want[k] += 1; in dai_choose_paratrooper()
H A Daidata.h98 adv_want tech_want[A_LAST+1]; member
H A Dailog.c83 plr_data->tech_want[advance_index(padvance)], in real_tech_log()
H A Daicity.c156 const adv_want tech_want = building_want * def_ai_city_data(pcity, ait)->building_wait in want_tech_for_improvement_effect() local
164 building_want, tech_want); in want_tech_for_improvement_effect()
167 def_ai_player_data(pplayer, ait)->tech_want[advance_index(tech)] += tech_want; in want_tech_for_improvement_effect()
H A Ddaidiplomacy.c154 int bulbs, tech_want, worth; in dai_goldequiv_tech() local
165 tech_want = MAX(plr_data->tech_want[tech], 0) / MAX(game.info.turn, 1); in dai_goldequiv_tech()
166 worth = bulbs + tech_want; in dai_goldequiv_tech()
H A Ddaimilitary.c854 plr_data->tech_want[advance_index(punittype->require_advance)] in dai_process_defender_want()
1088 plr_data->tech_want[advance_index(punittype->require_advance)] in process_attacker_want()
H A Daihand.c725 plr_data->tech_want[adv->goal.govt.req] += want; in dai_manage_government()
H A Daidiplomat.c162 plr_data->tech_want[advance_index(ut->require_advance)] in dai_choose_diplomat_defensive()
H A Daisettler.c928 plr_data->tech_want[advance_index(boattype->require_advance)] in find_best_city_placement()
/dports/games/freeciv-nox11/freeciv-2.6.6/
H A DChangeLog66526 Moved tech_want data from advisors to default AI
283382 In player.h: in struct player_ai, make tech_want and tech_turns be
292128 * ai/aicity.c: Zeroing tech_want for buildings under primitive
292664 * ai/advdomestic.c: Adding tech_want for Electricity if we have
293602 Added maxbuycost, tech_want, tech_turns to player ai
/dports/games/freeciv/freeciv-2.6.6/
H A DChangeLog66526 Moved tech_want data from advisors to default AI
283382 In player.h: in struct player_ai, make tech_want and tech_turns be
292128 * ai/aicity.c: Zeroing tech_want for buildings under primitive
292664 * ai/advdomestic.c: Adding tech_want for Electricity if we have
293602 Added maxbuycost, tech_want, tech_turns to player ai