|
BWAPI
|
Functions | |
| template<class UnitImpl > | |
| bool | hasPower (int x, int y, UnitType unitType, const std::set< UnitImpl * > &pylons) |
| template<class _T > | |
| void | swapIfLarger (_T &smaller, _T &larger) |
| template<class finder > | |
| int | getUnitFinderIndex (const finder *uf, int value, int start=0) |
| template<class finder > | |
| void | manageUnitFinder (finder *finder_x, finder *finder_y, DWORD *pdwFinderFlags, int left, int top, int right, int bottom, bool(__fastcall *callback)(Unit *uIterator), std::set< Unit * > &finderSet) |
Variables | |
| const bool | bPsiFieldMask [10][16] |
| int BWAPI::Templates::getUnitFinderIndex | ( | const finder * | uf, |
| int | value, | ||
| int | start = 0 |
||
| ) |
| bool BWAPI::Templates::hasPower | ( | int | x, |
| int | y, | ||
| UnitType | unitType, | ||
| const std::set< UnitImpl * > & | pylons | ||
| ) |

| void BWAPI::Templates::manageUnitFinder | ( | finder * | finder_x, |
| finder * | finder_y, | ||
| DWORD * | pdwFinderFlags, | ||
| int | left, | ||
| int | top, | ||
| int | right, | ||
| int | bottom, | ||
| bool(__fastcall *callback)(Unit *uIterator) | , | ||
| std::set< Unit * > & | finderSet | ||
| ) |

| void BWAPI::Templates::swapIfLarger | ( | _T & | smaller, |
| _T & | larger | ||
| ) |

| const bool BWAPI::Templates::bPsiFieldMask[10][16] |
{
{ 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 },
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 },
{ 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0 },
{ 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0 },
{ 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0 }
}
1.7.6.1