delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/07/17:04:15

From: libolt AT primenet DOT com (Mike McLean)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Allegro: Displaying 640x480 PCX file
Date: 6 Jun 1997 22:00:01 -0700
Organization: Lightning Bolt Software
Lines: 35
Message-ID: <339bea8e.18769574@news.primenet.com>
References: <3398be25 DOT 7398629 AT news DOT primenet DOT com> <5nagnc$s38 AT news DOT interlog DOT com>
MIME-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019