Searched refs:should_attack (Results 1 – 12 of 12) sorted by relevance
846 if( nationRelation->status != NATION_HOSTILE || !nationRelation->should_attack ) in idle_detect_unit_checking()909 if( nationRelation->status != NATION_HOSTILE || !nationRelation->should_attack ) in idle_detect_firm_checking()965 if( nationRelation->status != NATION_HOSTILE || !nationRelation->should_attack ) in idle_detect_town_checking()1016 if( nationRelation->status != NATION_HOSTILE || !nationRelation->should_attack ) in idle_detect_wall_checking()
297 if( !nation_array.should_attack(nation_recno, targetUnit->nation_recno) ) in hit_target()341 if( !firmPtr || !nation_array.should_attack(nation_recno, firmPtr->nation_recno) ) in hit_building()349 if( !townPtr || !nation_array.should_attack(nation_recno, townPtr->nation_recno) ) in hit_building()
332 font_san.put( x+355, y, nationRelation->should_attack ? (char*)_("Yes") : (char*)_("No") ); in put_nation_rec()552 button_allow_attack.paint( viewingNation->get_relation(nationRecno)->should_attack ); in disp_nation_info()
720 if( unitPtr->is_visible() && nation_array.should_attack(nation_recno, unitPtr->nation_recno) ) in indian_cast_power()
1247 get_relation(nationRecno)->should_attack = newValue; in set_relation_should_attack()1395 if( attackNation->get_relation(nation_recno)->should_attack==0 ) in being_attacked()
965 char NationArray::should_attack(short attackingNation, short attackedNation) in should_attack() function in NationArray
297 if( nation_array[attackUnit->nation_recno]->get_relation(targetNationRecno)->should_attack==0 ) in attack()
90 if( nation_array[nation_recno]->get_relation(targetNationRecno)->should_attack==0 ) in attack_unit()
1460 visit<int8_t>(v, &nr->should_attack); in visit_nation_relation()
142 char should_attack(short attackingNation, short attackedNation);
98 …char should_attack; // whether units should automatically attack units/firms of this nation when… member
1129 static int should_attack(struct network * n) in should_attack() function1157 static int check_ownable(struct network * n) { return should_attack(n); } in check_ownable()1235 if (should_attack(n)) return n; in attack_get()1607 if (should_attack(n)) in found_new_network()1809 if (ssids > 1 && should_attack(n)) in wifi_beacon()