Searched refs:bestRaceId (Results 1 – 6 of 6) sorted by relevance
/dports/games/7kaa/7kaa-2.15.4p1/src/ |
H A D | OTOWNIND.cpp | 302 int i, bestNationRecno=0, curRating, raceId, bestRaceId=0; in think_independent_unit_join_nation() local 348 bestRaceId = raceId; in think_independent_unit_join_nation() 357 if( !bestRaceId ) in think_independent_unit_join_nation() 358 bestRaceId = pick_random_race(0, 0); // 0-only pick jobless unit, 0-don't pick spy units in think_independent_unit_join_nation() 360 if( !bestRaceId ) in think_independent_unit_join_nation() 363 if( !independent_unit_join_nation(bestRaceId, bestNationRecno) ) in think_independent_unit_join_nation()
|
H A D | OU_MONS.cpp | 250 int maxRaceCount=0, bestRaceId=0; in king_leave_scroll() local 257 bestRaceId = i+1; in king_leave_scroll() 261 if( !bestRaceId ) in king_leave_scroll() 262 bestRaceId = random_race(); // if there is no human units nearby (perhaps just using weapons) in king_leave_scroll() 285 int scrollGodId = bestRaceId; in king_leave_scroll()
|
H A D | OF_CAMP2.cpp | 1356 int bestRaceId = best_commander_race(); in think_assign_better_commander() local 1362 bestLeadership = cur_commander_leadership(bestRaceId) in think_assign_better_commander() 1384 if( workerPtr->race_id != bestRaceId ) in think_assign_better_commander() 1427 int FirmCamp::cur_commander_leadership(int bestRaceId) in cur_commander_leadership() argument 1435 if( !bestRaceId ) in cur_commander_leadership() 1436 bestRaceId = best_commander_race(); in cur_commander_leadership() 1440 if( unitCommander->race_id == bestRaceId ) in cur_commander_leadership() 1461 int bestRaceId = best_commander_race(); in new_commander_leadership() local 1467 if( newRaceId == bestRaceId ) in new_commander_leadership()
|
H A D | OTOWNAI.cpp | 1054 int bestRating=0, bestRaceId=0; in think_build_base() local 1061 bestRaceId = i+1; in think_build_base() 1067 if( bestRaceId ) in think_build_base() 1068 return ai_build_neighbor_firm(FIRM_BASE, bestRaceId); in think_build_base()
|
H A D | OTOWN.cpp | 3810 int bestRaceId, maxNeedBuildCount; in auto_set_layout() 3816 bestRaceId=0; in auto_set_layout() 3823 bestRaceId = raceId; in auto_set_layout() 3828 if( !bestRaceId ) // all races have assigned with their needed houses in auto_set_layout() 3831 slot_object_id_array[i] = town_res.scan_build( townLayout->first_slot_recno+i, bestRaceId); in auto_set_layout() 3832 raceNeedBuildCount[bestRaceId-1]--; in auto_set_layout() 3833 max_race_pop_array[bestRaceId-1] += POPULATION_PER_HOUSE; in auto_set_layout()
|
/dports/games/7kaa/7kaa-2.15.4p1/include/ |
H A D | OF_CAMP.h | 123 int cur_commander_leadership(int bestRaceId=0);
|