Mail Archives: djgpp/1997/09/29/16:01:43
In article <3 DOT 0 DOT 16 DOT 19970929155113 DOT 368f1bc2 AT hem1 DOT passagen DOT se>, Peter Palotas <blizzar AT hem1 DOT passagen DOT se> wrote:
>From what I've understood the current version of allegro (2.2 ?) doesn't
>support any hi- or truecolor modes!? If that is the case, how are things
>going about implementing these things? And if I want to make a program that
>can use hi and truecolor modes (when allegro is released) without having to
>make any changes to it later, what should I think about? Is there something
>that will change when blitting bitmaps and the most basic things?
>
>
>-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
The current full version of Allegro (2.2) doesn't support hi/true colour,
but the Work in Progress does. They work great. The next version of Allegro
(3.0) should be out soon as well.
You can get the WIP from the Allegro website :
http://www.talula.demon.co.uk/allegro/
The hi colour modes are used the same as the 8bit modes, except for calling
set_colour_depth() before setting the video mode. For speed concerns I
suggest sticking to 15/16 bit modes, and entirely avoiding 24bit modes (32 is
faster). For more information check out the allegro web page.
--
Andrew Ellem
krand AT ican DOT net
- Raw text -