|
BWAPI
|
Functions | |
| unsigned int | getBestIdFor (unsigned int red, unsigned int green, unsigned int blue) |
| void | init () |
Variables | |
| const Color | Red (111) |
| const Color | Blue (165) |
| const Color | Teal (159) |
| const Color | Purple (164) |
| const Color | Orange (179) |
| const Color | Brown (19) |
| const Color | White (255) |
| const Color | Yellow (135) |
| const Color | Green (117) |
| const Color | Cyan (128) |
| const Color | Black (0) |
| const Color | Grey (74) |
| BYTE | closest [64][64][64] |
While any color from the palette can be used, the following colors are available as short cuts.
| unsigned int BWAPI::Colors::getBestIdFor | ( | unsigned int | red, |
| unsigned int | green, | ||
| unsigned int | blue | ||
| ) |


| void BWAPI::Colors::init | ( | ) |

| const Color BWAPI::Colors::Black |
| const Color BWAPI::Colors::Blue |
| const Color BWAPI::Colors::Brown |
| BYTE BWAPI::Colors::closest[64][64][64] |
| const Color BWAPI::Colors::Cyan |
| const Color BWAPI::Colors::Green |
| const Color BWAPI::Colors::Grey |
| const Color BWAPI::Colors::Orange |
| const Color BWAPI::Colors::Purple |
| const Color BWAPI::Colors::Red |
| const Color BWAPI::Colors::Teal |
| const Color BWAPI::Colors::White |
| const Color BWAPI::Colors::Yellow |
1.7.6.1