BWAPI
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Functions | Variables
BWAPI::Colors Namespace Reference

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]

Detailed Description

While any color from the palette can be used, the following colors are available as short cuts.


Function Documentation

unsigned int BWAPI::Colors::getBestIdFor ( unsigned int  red,
unsigned int  green,
unsigned int  blue 
)

Here is the call graph for this function:

Here is the caller graph for this function:

Here is the caller graph for this function:


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines