Home
last modified time | relevance | path

Searched refs:research_invention_state (Results 1 – 25 of 120) sorted by relevance

12345

/dports/games/freeciv/freeciv-2.6.6/server/
H A Dtechtools.c166 || TECH_KNOWN == research_invention_state(plr_research, i)) { in do_tech_parasite_effect()
172 if (TECH_KNOWN == research_invention_state(other_research, i)) { in do_tech_parasite_effect()
673 if (research_invention_state(presearch, i) != TECH_KNOWN) { in pick_random_tech_to_lose()
879 if (research_invention_state(presearch, i) == TECH_PREREQS_KNOWN) { in pick_random_tech()
1115 if (research_invention_state(presearch, pnation->init_techs[i]) in give_initial_techs()
1156 && research_invention_state(presearch, i) != TECH_KNOWN in steal_a_tech()
1157 && research_invention_state(vresearch, i) == TECH_KNOWN) { in steal_a_tech()
1176 && research_invention_state(presearch, i) != TECH_KNOWN in steal_a_tech()
1177 && research_invention_state(vresearch, i) == TECH_KNOWN) { in steal_a_tech()
1191 fc_assert(TECH_KNOWN == research_invention_state(vresearch, in steal_a_tech()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/server/
H A Dtechtools.c166 || TECH_KNOWN == research_invention_state(plr_research, i)) { in do_tech_parasite_effect()
172 if (TECH_KNOWN == research_invention_state(other_research, i)) { in do_tech_parasite_effect()
673 if (research_invention_state(presearch, i) != TECH_KNOWN) { in pick_random_tech_to_lose()
879 if (research_invention_state(presearch, i) == TECH_PREREQS_KNOWN) { in pick_random_tech()
1115 if (research_invention_state(presearch, pnation->init_techs[i]) in give_initial_techs()
1156 && research_invention_state(presearch, i) != TECH_KNOWN in steal_a_tech()
1157 && research_invention_state(vresearch, i) == TECH_KNOWN) { in steal_a_tech()
1176 && research_invention_state(presearch, i) != TECH_KNOWN in steal_a_tech()
1177 && research_invention_state(vresearch, i) == TECH_KNOWN) { in steal_a_tech()
1191 fc_assert(TECH_KNOWN == research_invention_state(vresearch, in steal_a_tech()
[all …]
/dports/games/freeciv-nox11/freeciv-2.6.6/common/
H A Dresearch.c396 if (TECH_KNOWN == research_invention_state(presearch, j)) { in research_update()
429 tech_state_name(research_invention_state(presearch, i)), in research_update()
442 if (TECH_KNOWN == research_invention_state(presearch, i) in research_update()
458 enum tech_state research_invention_state(const struct research *presearch, in research_invention_state() function
565 switch (research_invention_state(presearch, advance_number(preq))) { in research_goal_step()
705 && research_invention_state(presearch, tech) == TECH_KNOWN) { in research_total_bulbs_required()
775 : TECH_KNOWN != research_invention_state(aresearch, tech))) { in research_total_bulbs_required()
802 : TECH_KNOWN == research_invention_state(research_get(aplayer), in research_total_bulbs_required()
826 : TECH_KNOWN == research_invention_state(research_get(aplayer), in research_total_bulbs_required()
904 if (TECH_KNOWN == research_invention_state(presearch, in player_tech_upkeep()
/dports/games/freeciv/freeciv-2.6.6/common/
H A Dresearch.c396 if (TECH_KNOWN == research_invention_state(presearch, j)) { in research_update()
429 tech_state_name(research_invention_state(presearch, i)), in research_update()
442 if (TECH_KNOWN == research_invention_state(presearch, i) in research_update()
458 enum tech_state research_invention_state(const struct research *presearch, in research_invention_state() function
565 switch (research_invention_state(presearch, advance_number(preq))) { in research_goal_step()
705 && research_invention_state(presearch, tech) == TECH_KNOWN) { in research_total_bulbs_required()
775 : TECH_KNOWN != research_invention_state(aresearch, tech))) { in research_total_bulbs_required()
802 : TECH_KNOWN == research_invention_state(research_get(aplayer), in research_total_bulbs_required()
826 : TECH_KNOWN == research_invention_state(research_get(aplayer), in research_total_bulbs_required()
904 if (TECH_KNOWN == research_invention_state(presearch, in player_tech_upkeep()
H A Dresearch.h124 enum tech_state research_invention_state(const struct research *presearch,
/dports/games/freeciv-nox11/freeciv-2.6.6/ai/default/
H A Daitech.c168 && research_invention_state(presearch, id) == TECH_PREREQS_KNOWN) { in dai_select_tech()
212 enum tech_state old_state = research_invention_state(pres, tech); in dai_tech_base_want()
251 if (research_invention_state(research_get(pplayer), advance_number(padv)) in dai_tech_effect_values()
407 && research_invention_state(presearch, in dai_wants_defender_against()
499 && research_invention_state(presearch, in dai_wants_role_unit()
513 if (TECH_KNOWN != research_invention_state(presearch, in dai_wants_role_unit()
H A Ddaidiplomacy.c156 enum tech_state state = research_invention_state(presearch, tech); in dai_goldequiv_tech()
236 if (research_invention_state(research_get(taker), tech_id) in compute_tech_sell_price()
245 || research_invention_state(research_get(eplayer), in compute_tech_sell_price()
322 } else if (research_invention_state(research_get(pplayer), in dai_goldequiv_clause()
1133 if (research_invention_state(presearch1, tech) in suggest_tech_exchange()
1135 if (research_invention_state(presearch2, tech) != TECH_KNOWN in suggest_tech_exchange()
1147 if (research_invention_state(presearch2, tech) == TECH_KNOWN in suggest_tech_exchange()
1227 if (research_invention_state(presearch, idx) != TECH_KNOWN in dai_share()
1228 && research_invention_state(aresearch, idx) == TECH_KNOWN in dai_share()
1232 } else if (research_invention_state(presearch, idx) == TECH_KNOWN in dai_share()
[all …]
H A Daidiplomat.c115 if (research_invention_state(presearch, idx) != TECH_KNOWN in count_stealable_techs()
116 && research_invention_state(tresearch, idx) == TECH_KNOWN) { in count_stealable_techs()
330 if (research_invention_state(target_research, i) == TECH_KNOWN in choose_tech_to_steal()
333 && (research_invention_state(actor_research, i) == TECH_UNKNOWN in choose_tech_to_steal()
334 || (research_invention_state(actor_research, i) in choose_tech_to_steal()
/dports/games/freeciv/freeciv-2.6.6/ai/default/
H A Daitech.c168 && research_invention_state(presearch, id) == TECH_PREREQS_KNOWN) { in dai_select_tech()
212 enum tech_state old_state = research_invention_state(pres, tech); in dai_tech_base_want()
251 if (research_invention_state(research_get(pplayer), advance_number(padv)) in dai_tech_effect_values()
407 && research_invention_state(presearch, in dai_wants_defender_against()
499 && research_invention_state(presearch, in dai_wants_role_unit()
513 if (TECH_KNOWN != research_invention_state(presearch, in dai_wants_role_unit()
H A Ddaidiplomacy.c156 enum tech_state state = research_invention_state(presearch, tech); in dai_goldequiv_tech()
236 if (research_invention_state(research_get(taker), tech_id) in compute_tech_sell_price()
245 || research_invention_state(research_get(eplayer), in compute_tech_sell_price()
322 } else if (research_invention_state(research_get(pplayer), in dai_goldequiv_clause()
1133 if (research_invention_state(presearch1, tech) in suggest_tech_exchange()
1135 if (research_invention_state(presearch2, tech) != TECH_KNOWN in suggest_tech_exchange()
1147 if (research_invention_state(presearch2, tech) == TECH_KNOWN in suggest_tech_exchange()
1227 if (research_invention_state(presearch, idx) != TECH_KNOWN in dai_share()
1228 && research_invention_state(aresearch, idx) == TECH_KNOWN in dai_share()
1232 } else if (research_invention_state(presearch, idx) == TECH_KNOWN in dai_share()
[all …]
H A Daidiplomat.c115 if (research_invention_state(presearch, idx) != TECH_KNOWN in count_stealable_techs()
116 && research_invention_state(tresearch, idx) == TECH_KNOWN) { in count_stealable_techs()
330 if (research_invention_state(target_research, i) == TECH_KNOWN in choose_tech_to_steal()
333 && (research_invention_state(actor_research, i) == TECH_UNKNOWN in choose_tech_to_steal()
334 || (research_invention_state(actor_research, i) in choose_tech_to_steal()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-xaw/
H A Drepodlgs.c232 if (TECH_KNOWN == research_invention_state(research, i)) { in create_science_dialog()
322 research_invention_state(research, i)) { in create_science_dialog()
341 && TECH_KNOWN != research_invention_state(research, i) in create_science_dialog()
514 if (TECH_KNOWN == research_invention_state(research, i)) { in real_science_report_dialog_update()
536 research_invention_state(research, i)) { in real_science_report_dialog_update()
560 && TECH_KNOWN != research_invention_state(research, i) in real_science_report_dialog_update()
/dports/games/freeciv/freeciv-2.6.6/client/gui-qt/
H A Ddiplodlg.cpp348 if (research_invention_state(gresearch, i) == TECH_KNOWN in show_menu()
351 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in show_menu()
352 || research_invention_state(oresearch, i) in show_menu()
611 if (research_invention_state(gresearch, i) == TECH_KNOWN in all_advances()
614 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in all_advances()
615 || research_invention_state(dresearch, i) in all_advances()
H A Dplrdlg.cpp553 if (research_invention_state(my_research, tech_id) == TECH_KNOWN in nation_selected()
554 && (research_invention_state(research, tech_id) in nation_selected()
560 if (research_invention_state(my_research, tech_id) != TECH_KNOWN in nation_selected()
561 && (research_invention_state(research, tech_id) == TECH_KNOWN)) { in nation_selected()
598 if (research_invention_state(research, tech_id) == TECH_KNOWN) { in nation_selected()
/dports/games/freeciv/freeciv-2.6.6/client/gui-xaw/
H A Drepodlgs.c232 if (TECH_KNOWN == research_invention_state(research, i)) { in create_science_dialog()
322 research_invention_state(research, i)) { in create_science_dialog()
341 && TECH_KNOWN != research_invention_state(research, i) in create_science_dialog()
514 if (TECH_KNOWN == research_invention_state(research, i)) { in real_science_report_dialog_update()
536 research_invention_state(research, i)) { in real_science_report_dialog_update()
560 && TECH_KNOWN != research_invention_state(research, i) in real_science_report_dialog_update()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-qt/
H A Ddiplodlg.cpp348 if (research_invention_state(gresearch, i) == TECH_KNOWN in show_menu()
351 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in show_menu()
352 || research_invention_state(oresearch, i) in show_menu()
611 if (research_invention_state(gresearch, i) == TECH_KNOWN in all_advances()
614 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in all_advances()
615 || research_invention_state(dresearch, i) in all_advances()
H A Dplrdlg.cpp553 if (research_invention_state(my_research, tech_id) == TECH_KNOWN in nation_selected()
554 && (research_invention_state(research, tech_id) in nation_selected()
560 if (research_invention_state(my_research, tech_id) != TECH_KNOWN in nation_selected()
561 && (research_invention_state(research, tech_id) == TECH_KNOWN)) { in nation_selected()
598 if (research_invention_state(research, tech_id) == TECH_KNOWN) { in nation_selected()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-2.0/
H A Ddiplodlg.c284 if (research_invention_state(gresearch, i) == TECH_KNOWN in popup_add_menu()
287 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in popup_add_menu()
288 || research_invention_state(oresearch, i) in popup_add_menu()
967 if (research_invention_state(gresearch, i) == TECH_KNOWN in diplomacy_dialog_tech_callback()
970 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in diplomacy_dialog_tech_callback()
971 || research_invention_state(dresearch, i) in diplomacy_dialog_tech_callback()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.0/
H A Ddiplodlg.c284 if (research_invention_state(gresearch, i) == TECH_KNOWN in popup_add_menu()
287 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in popup_add_menu()
288 || research_invention_state(oresearch, i) in popup_add_menu()
985 if (research_invention_state(gresearch, i) == TECH_KNOWN in diplomacy_dialog_tech_callback()
988 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in diplomacy_dialog_tech_callback()
989 || research_invention_state(dresearch, i) in diplomacy_dialog_tech_callback()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-gtk-3.22/
H A Ddiplodlg.c284 if (research_invention_state(gresearch, i) == TECH_KNOWN in popup_add_menu()
287 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in popup_add_menu()
288 || research_invention_state(oresearch, i) in popup_add_menu()
979 if (research_invention_state(gresearch, i) == TECH_KNOWN in diplomacy_dialog_tech_callback()
982 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in diplomacy_dialog_tech_callback()
983 || research_invention_state(dresearch, i) in diplomacy_dialog_tech_callback()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-2.0/
H A Ddiplodlg.c284 if (research_invention_state(gresearch, i) == TECH_KNOWN in popup_add_menu()
287 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in popup_add_menu()
288 || research_invention_state(oresearch, i) in popup_add_menu()
967 if (research_invention_state(gresearch, i) == TECH_KNOWN in diplomacy_dialog_tech_callback()
970 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in diplomacy_dialog_tech_callback()
971 || research_invention_state(dresearch, i) in diplomacy_dialog_tech_callback()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.0/
H A Ddiplodlg.c284 if (research_invention_state(gresearch, i) == TECH_KNOWN in popup_add_menu()
287 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in popup_add_menu()
288 || research_invention_state(oresearch, i) in popup_add_menu()
985 if (research_invention_state(gresearch, i) == TECH_KNOWN in diplomacy_dialog_tech_callback()
988 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in diplomacy_dialog_tech_callback()
989 || research_invention_state(dresearch, i) in diplomacy_dialog_tech_callback()
/dports/games/freeciv/freeciv-2.6.6/client/gui-gtk-3.22/
H A Ddiplodlg.c284 if (research_invention_state(gresearch, i) == TECH_KNOWN in popup_add_menu()
287 && (research_invention_state(oresearch, i) == TECH_UNKNOWN in popup_add_menu()
288 || research_invention_state(oresearch, i) in popup_add_menu()
979 if (research_invention_state(gresearch, i) == TECH_KNOWN in diplomacy_dialog_tech_callback()
982 && (research_invention_state(dresearch, i) == TECH_UNKNOWN in diplomacy_dialog_tech_callback()
983 || research_invention_state(dresearch, i) in diplomacy_dialog_tech_callback()
/dports/games/freeciv/freeciv-2.6.6/client/
H A Dreqtree.c905 if (TECH_KNOWN == research_invention_state(research, node->tech)) { in node_color()
911 if (TECH_PREREQS_KNOWN == research_invention_state(research, in node_color()
919 if (TECH_PREREQS_KNOWN == research_invention_state(research, in node_color()
991 if (TECH_KNOWN == research_invention_state(research, node->tech)) { in get_edge_type()
992 if (TECH_KNOWN == research_invention_state(research, dest_node->tech)) { in get_edge_type()
/dports/games/freeciv-nox11/freeciv-2.6.6/client/
H A Dreqtree.c905 if (TECH_KNOWN == research_invention_state(research, node->tech)) { in node_color()
911 if (TECH_PREREQS_KNOWN == research_invention_state(research, in node_color()
919 if (TECH_PREREQS_KNOWN == research_invention_state(research, in node_color()
991 if (TECH_KNOWN == research_invention_state(research, node->tech)) { in get_edge_type()
992 if (TECH_KNOWN == research_invention_state(research, dest_node->tech)) { in get_edge_type()

12345