delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/03/14/20:21:35

Message-Id: <199903150121.UAA24902@delorie.com>
Comments: Authenticated sender is <mert0407 AT sable DOT ox DOT ac DOT uk>
From: "George Foot" <george DOT foot AT merton DOT ox DOT ac DOT uk>
To: "Lark" <rlark AT mbhs DOT edu>
Date: Mon, 15 Mar 1999 01:19:31 +0000
MIME-Version: 1.0
Subject: Re: Loading a bitmap from a file w/ allegro
CC: djgpp AT delorie DOT com
X-mailer: Pegasus Mail for Win32 (v2.42a)
Reply-To: djgpp AT delorie DOT com

[Bcc:ed to Shawn, to point out the error in ex15]

On 14 Mar 99 at 18:08, Lark wrote:

> Can someone post just a short snippet of code that will load a bmp or pcx
> file and display it on the screen?  I am having a lot of trouble getting
> this to work.  Thanks.

Look at example program number 15, in the `examples' directory 
of Allegro.  It does have one mistake though -- you should set 
the video mode before loading any graphics.

If you still don't understand after this, please explain what 
it is that you do not understand about the program.

-- 
George

- Raw text -


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