Mail Archives: djgpp/1997/02/22/20:36:01
Sometimes Allegro alters my DOS font for no apparent reason. When that
happens, most graphics in my Allegro programs become either
weird-colored or the whole screen is flickering and some garbage is
displayed. Then, I run the program with set_gfx_mode(GFX_TEXT, 0, 0, 0,
0) and everything is back to normal. Doesn't Allegro change mode to text
automatically when program ends? What is going on?
The thing I don't like about Allegro is that you can't really tell how
many colors you have in a given mode. Can anyone give me a good pallete
that I can use in my programs (I am using 640x480 mode) and have all
colors (16?) available.
Thanks in advance,
Nikita
- Raw text -