Mail Archives: djgpp/1997/11/22/12:31:20
>Im using graphic files in my programs (BMP, TGA) but when I load them, they
>are
>> much larger than I expected. So I reduce the size of the image, but by the
>time
>> Allegro has displayed the image the way I want it, Ive reduced the image so
>> much that all of its clarity has been lost. Since Im kinda new to this
>stuff,
Set the screen mode in allegro to the same resolution as you're using in
windows. Probably 640x480 or 800x600. Just:
set_gfx_mode(GFX_AUTODETECT, 800, 600, 0, 0);
or
set_gfx_mode(GFX_AUTODETECT, 640, 480, 0, 0);
----
Justin Speers
God is nothing that you favor evil is your sour nature - Marilyn Manson
mr_twiggy AT hotmail DOT com
- Raw text -