Home
last modified time | relevance | path

Searched refs:allowed_movement_types (Results 1 – 7 of 7) sorted by relevance

/dports/games/spring/spring_98.0/AI/Skirmish/AAI/
H A DAAIUnitTable.cpp456 unsigned int allowed_movement_types = 22; in FindClosestAssistant() local
459 allowed_movement_types |= MOVE_TYPE_SEA; in FindClosestAssistant()
461 allowed_movement_types |= MOVE_TYPE_GROUND; in FindClosestAssistant()
463 ai->Getbt()->AddAssistant(allowed_movement_types, true); in FindClosestAssistant()
H A DAAIBuildTable.h131 …int GetScout(int side, float los, float cost, unsigned int allowed_movement_types, int randomness,…
144 void AddAssistant(unsigned int allowed_movement_types, bool canBuild);
H A DAAIMap.cpp599 sector[i][j].allowed_movement_types = 22; in ReadMapLearnFile()
602 sector[i][j].allowed_movement_types |= MOVE_TYPE_GROUND; in ReadMapLearnFile()
605 sector[i][j].allowed_movement_types |= MOVE_TYPE_GROUND; in ReadMapLearnFile()
606 sector[i][j].allowed_movement_types |= MOVE_TYPE_SEA; in ReadMapLearnFile()
609 sector[i][j].allowed_movement_types |= MOVE_TYPE_SEA; in ReadMapLearnFile()
643 sector[i][j].allowed_movement_types = 22; in ReadMapLearnFile()
646 sector[i][j].allowed_movement_types |= MOVE_TYPE_GROUND; in ReadMapLearnFile()
649 sector[i][j].allowed_movement_types |= MOVE_TYPE_GROUND; in ReadMapLearnFile()
650 sector[i][j].allowed_movement_types |= MOVE_TYPE_SEA; in ReadMapLearnFile()
653 sector[i][j].allowed_movement_types |= MOVE_TYPE_SEA; in ReadMapLearnFile()
H A DAAISector.h138 unsigned int allowed_movement_types; // movement types that may enter this sector variable
H A DAAIExecute.cpp295 unsigned int allowed_movement_types = 22; in BuildScouts() local
298 allowed_movement_types |= MOVE_TYPE_GROUND; in BuildScouts()
301 allowed_movement_types |= MOVE_TYPE_GROUND; in BuildScouts()
302 allowed_movement_types |= MOVE_TYPE_SEA; in BuildScouts()
305 allowed_movement_types |= MOVE_TYPE_SEA; in BuildScouts()
310 scout = ai->Getbt()->GetScout(ai->Getside(), los, cost, allowed_movement_types, 10, true, true); in BuildScouts()
312 scout = ai->Getbt()->GetScout(ai->Getside(), los, cost, allowed_movement_types, 10, false, true); in BuildScouts()
H A DAAIBuildTable.cpp1863 int AAIBuildTable::GetScout(int side, float los, float cost, unsigned int allowed_movement_types, i… in GetScout() argument
1872 if(units_static[*i].movement_type & allowed_movement_types) in GetScout()
3363 void AAIBuildTable::AddAssistant(unsigned int allowed_movement_types, bool canBuild) in AddAssistant() argument
3376 if(units_static[*unit].movement_type & allowed_movement_types) in AddAssistant()
3884 unsigned int allowed_movement_types = 22; in GetAllowedMovementTypesForAssister() local
3887 allowed_movement_types |= MOVE_TYPE_GROUND; in GetAllowedMovementTypesForAssister()
3889 allowed_movement_types |= MOVE_TYPE_SEA; in GetAllowedMovementTypesForAssister()
3891 return allowed_movement_types; in GetAllowedMovementTypesForAssister()
H A DAAIBrain.cpp175 if(sector->distance_to_base > 0 && scout_movement_type & sector->allowed_movement_types) in GetNewScoutDest()