Mail Archives: djgpp/1997/06/07/17:04:15
On Fri, 06 Jun 97 06:20:49 GMT, gautam AT interlog DOT com (Gautam N. Lad)
wrote:
>Hi,
>>Hi. I am trying to display a 640x480 PCX image using allegro. I took
>>the source code to ex15 and changed the 320,200 in set_gfx_mode to
>>640x480. When I run it and enter the correct image file name the
>>screen text becomes purple. I am running in win 95. after I run the
>>program, the dos box still works fine though
>
>Have you tried to change the first arguement to set_gfx_mode()?
>Use GFX_AUTODETECT and it should work. I just tried
>it. I'm assuming it's this problem.
>
>Bye!
>
>****************************************************
>* Gautam N. Lad *
>*--------------------------------------------------*
>* *
>* E-Mail : gautam AT interlog DOT com *
>* Website : http://www.interlog.com/~gautam *
>* *
>* OS/2, DOS/Windows, Graphics Gallery, Software, *
>* Links, Rayzor Editor/2, POV-Ray, TexturEyes, *
>* POV-PAK and lots lots lots more!!!!!!! *
>****************************************************
Thanks again for the help, but i have another problem. I don't know
how to pass the name of a file to be viewed in besides at the command
line. I'd like to be able to set it up so I can load them from with
in the program. Sorry if this is a simple question.
Mike.
- Raw text -