delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/10/00:43:19

Date: Sat, 10 Oct 1998 05:43:06 +0100 (BST)
From: George Foot <george DOT foot AT merton DOT oxford DOT ac DOT uk>
To: djgpp AT delorie DOT com
Subject: Re: displayin' bitmaps
In-Reply-To: <6vmel0$luo$3@nntp.gulfsouth.verio.net>
Message-ID: <Pine.OSF.4.05.9810100541130.24858-100000@sable.ox.ac.uk>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

On Fri, 9 Oct 1998, Jameson wrote:

> hey i read the recently posted post about displaying bitmap's but can
> someone send me some actual source code??I don't mean like this:
> bitmap*bitvar;
> load_bitmap(whatever,whatever,whatever);
> 
> but rather like this:
> 
> bitmap*bitvar;
> load_bitmap(102,381,102);

What?!?  `load_bitmap' takes two parameters -- the filename of
the bitmap to load, and the address of an array to store the
palette in.  Why would you want to pass numbers to it?

> in other words don't show the format of doing it..show an actual source.

`ex15.c' in the examples directory is source code to display a
bitmap.  I'm assuming that you were using Allegro.

-- 
george DOT foot AT merton DOT oxford DOT ac DOT uk

xu do tavla fo la lojban  --  http://xiron.pc.helsinki.fi/lojban/lojban.html

- Raw text -


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