Mail Archives: djgpp/1998/10/10/00:43:19
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 -