The classic game of chain reaction:
I'm still cleaning up the source ;_)
The classic game of chain reaction:
I'm still cleaning up the source ;_)
How do you get coloured text output in the win32 console?
If I remember correctly, I think you call SetConsoleTextAttribute in order to change the colors. There's a whole API dedicated to just console output, don't get it gets that much use, but its there if needed.
FPC has two systems that abstract this. A version of the CRT unit, and a separate, more powerful system that doublebuffers output. This system (units keyboard/video/mouse) is also used for the textmode ideOriginally Posted by MichaelR
Note that heavy textmode applications are only usable on NT/2000/XP, the textmode driver of win9x is very slow.
Bookmarks