I'd like to submit a basic frame app working with the windows console buffer, but i'm having some problems.
Since i've never used the windows console before i took several parts from other code i found. I got a screen buffer working but i can't eliminate some flickering in windowed mode.
I have a CHAR_INFO array for the characters and every frame i'm using WriteConsoleOutput to copy the complete array to the console buffer. There is some flickering although i'm writing the same content again and again.
Basically i'd like to
A) approve the framework for the GDC contest (yes, there is a movement sample inside, but that's just for showing how to implement it)
B) eliminate the flicker
Anybody could take a peek and fix the flickering problem?
The framework can be found
here. It contains a VS 2003 solution file together with the source code and a binary.
The base class is from Apoch but modified to use the array. There're still some old functions inside that will be removed yet.