Searched refs:bestCamp (Results 1 – 3 of 3) sorted by relevance
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OUNITAI.cpp | 534 if( !bestCamp ) in think_leader_action() 550 unit_array.assign( bestCamp->loc_x1, bestCamp->loc_y1, 0, COMMAND_AI, in think_leader_action() 822 if( bestCamp ) in think_assign_weapon_to_camp() 824 assign(bestCamp->loc_x1, bestCamp->loc_y1); in think_assign_weapon_to_camp() 1062 if( bestCamp ) in think_king_flee() 1067 assign( bestCamp->loc_x1, bestCamp->loc_y1 ); in think_king_flee() 1141 if( bestCamp ) in think_general_flee() 1148 move_to( bestCamp->loc_x1, bestCamp->loc_y1 ); in think_general_flee() 1151 assign( bestCamp->loc_x1, bestCamp->loc_y1 ); in think_general_flee() 1228 if( !bestCamp ) in ai_settle_new_town() [all …]
|
H A D | OF_INN2.cpp | 213 FirmCamp *firmCamp, *bestCamp=NULL; in think_assign_general_to() local 242 bestCamp = firmCamp; in think_assign_general_to() 246 if( !bestCamp ) in think_assign_general_to() 253 …ownNation->add_action(bestCamp->loc_x1, bestCamp->loc_y1, -1, -1, ACTION_AI_ASSIGN_OVERSEER, FIRM_… in think_assign_general_to()
|
H A D | OAI_MAR3.cpp | 157 FirmCamp *firmCamp, *bestCamp=NULL; in ai_patrol_to_region() local 195 bestCamp = firmCamp; in ai_patrol_to_region() 198 if( !bestCamp ) in ai_patrol_to_region() 203 bestCamp->patrol(); in ai_patrol_to_region() 205 …if( bestCamp->patrol_unit_count > 0 ) // there could be chances that there are no some for mob… in ai_patrol_to_region() 208 bestCamp->patrol_unit_count, 0, 0, bestCamp->patrol_unit_array ); in ai_patrol_to_region()
|