Quote:Original post by d000hg
...
Fair enough. In which case, is there a fixed set of colours I should use? Does anyone know rgb values - or how can I find them out?
...
The four bits are red, green, blue, and intensity. The intensity bit determines whether the r,g,b bits being on means 0x80 or 0xFF. (I.E. 0x008080 or 0xFFFFFF are allowed, but not 0x80FFFF)
If you don't get what I mean, take a look at the screenshot on the first page.
I'd recommend skipping DirectX and using the Win32 console functions, though. It took me about a half hour to look at Ben Ryves' page and write a few wrapper functions to allow me to easily use the console with double buffering. It's plenty fast, unlike GDI, and there isn't any jitter or anything.