BWAPI
Namespaces | Defines | Functions | Variables
trunk/bwapi/BWAPILIB/Source/Color.cpp File Reference
#include <BWAPI/Color.h>
#include <list>
#include <Util/Foreach.h>
#include <windows.h>
#include "../../Debug.h"
#include <limits>
Include dependency graph for Color.cpp:

Namespaces

namespace  BWAPI
namespace  BWAPI::Colors

Defines

#define MAXUINT   std::numeric_limits<unsigned int>::max()

Functions

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

Variables

bool BWAPI::rgbInitialized = false
unsigned int BWAPI::palette [256]
const Color BWAPI::Colors::Red (111)
const Color BWAPI::Colors::Blue (165)
const Color BWAPI::Colors::Teal (159)
const Color BWAPI::Colors::Purple (164)
const Color BWAPI::Colors::Orange (179)
const Color BWAPI::Colors::Brown (19)
const Color BWAPI::Colors::White (255)
const Color BWAPI::Colors::Yellow (135)
const Color BWAPI::Colors::Green (117)
const Color BWAPI::Colors::Cyan (128)
const Color BWAPI::Colors::Black (0)
const Color BWAPI::Colors::Grey (74)
BYTE BWAPI::Colors::closest [64][64][64]

Define Documentation

#define MAXUINT   std::numeric_limits<unsigned int>::max()
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines