BWAPI
Defines | Functions
Tasks/AssaultSectorTask.cpp File Reference
#include "AssaultSectorTask.h"
#include "Environment.h"
#include "Agent.h"
#include "MapSector.h"
Include dependency graph for AssaultSectorTask.cpp:

Defines

#define TASK_PRIORITY_FACTOR   1
#define FLYING_FACTOR   2
#define SPEED_FACTOR   1
#define ATTACK_RANGE_FACTOR   1
#define ATTACK_DAMAGE_FACTOR   1
#define UNIT_VALUE_FACTOR   1
#define UNIT_COUNT_FACTOR   1
#define WORKER_FACTOR   0.1
#define MIN_ENEMY_VALUE   0
#define WEAPON_FACTOR   5
#define DIFFICULTY_FACTOR   40
#define VIEW_RANGE_FACTOR   1.5
#define BASE_RADIUS   10
#define MINIMUM_RANGE_FACTOR   12
#define MINIMUM_RANGE_INCREASE   0.25
#define MINIMUM_RANGE_BONUS_INCREASE   10
#define MINIMUM_RANGE_BONUS_DECREASE   20
#define MINIMUM_RANGE_COMBAT_FACTOR   1.5
#define PERCENTAGE_READY_INCREASE   0.10
#define PERCENTAGE_READY_DECREASE   0.05
#define ASSAULT_PREP_TASK_VALIDATION_FREQ   50
#define ASSAULT_READY_TASK_VALIDATION_FREQ   10
#define MAX_ASSAULT_COUNT   25
#define ASSAULT_TASK_FACTOR   1
#define MIN_UNITS_PER_ASSAULT   15
#define MAX_UNITS_PER_ASSAULT   25
#define MAX_ASSAULTS_PER_SECTOR   2
#define CHANGE_CENTER_AGENT_FREQ   200
#define ENEMY_STRENGTH_FACTOR   1.5
#define MARINE_MEDIC_RATIO   8
#define MAX_SECTOR_ASSAULT_RANGE   400

Functions

bool compareAssaultSectors (MapSector *first, MapSector *second)

Define Documentation

#define ASSAULT_TASK_FACTOR   1
#define ATTACK_DAMAGE_FACTOR   1
#define ATTACK_RANGE_FACTOR   1
#define BASE_RADIUS   10
#define CHANGE_CENTER_AGENT_FREQ   200
#define DIFFICULTY_FACTOR   40
#define ENEMY_STRENGTH_FACTOR   1.5
#define FLYING_FACTOR   2
#define MARINE_MEDIC_RATIO   8
#define MAX_ASSAULT_COUNT   25
#define MAX_ASSAULTS_PER_SECTOR   2
#define MAX_SECTOR_ASSAULT_RANGE   400
#define MAX_UNITS_PER_ASSAULT   25
#define MIN_ENEMY_VALUE   0
#define MIN_UNITS_PER_ASSAULT   15
#define MINIMUM_RANGE_COMBAT_FACTOR   1.5
#define MINIMUM_RANGE_FACTOR   12
#define MINIMUM_RANGE_INCREASE   0.25
#define PERCENTAGE_READY_DECREASE   0.05
#define PERCENTAGE_READY_INCREASE   0.10
#define SPEED_FACTOR   1
#define TASK_PRIORITY_FACTOR   1
#define UNIT_COUNT_FACTOR   1
#define UNIT_VALUE_FACTOR   1
#define VIEW_RANGE_FACTOR   1.5
#define WEAPON_FACTOR   5
#define WORKER_FACTOR   0.1

Function Documentation

bool compareAssaultSectors ( MapSector first,
MapSector second 
)

Here is the call graph for this function:

Here is the caller graph for this function:

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines