| www.delorie.com/archives/browse.cgi | search |
| From: | eglebbk AT dds DOT nl (Evert Glebbeek) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: Graphics with allegro on dos (palette problems) |
| Date: | Sun, 20 Aug 2000 20:19:45 GMT |
| Organization: | Physics student, University of Amsterdam |
| Lines: | 17 |
| Distribution: | world |
| Message-ID: | <39a006ef.10765400@news.wins.uva.nl> |
| References: | <GKhn5.51897$qS3 DOT 102191 AT tor-nn1 DOT netcom DOT ca> <8no4me$eur$1 AT newsg1 DOT svr DOT pol DOT co DOT uk> |
| NNTP-Posting-Host: | stol-117-152.uva.studentennet.nl |
| X-Trace: | info.wins.uva.nl 966802878 29923 145.98.117.152 (20 Aug 2000 20:21:18 GMT) |
| X-Complaints-To: | usenet AT science DOT uva DOT nl |
| NNTP-Posting-Date: | Sun, 20 Aug 2000 20:21:18 +0000 (UTC) |
| X-Newsreader: | Forte Free Agent 1.11/32.235 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Newsgroup: comp.os.msdos.djgpp
From: "Richard Gould" <RichGould77 AT hotmail DOT com>
On Sun, 20 Aug 2000 09:25:23 +0100
>I am new to this newsgroup (and graphics)
>Simple question:-
>how do you load a bitemap using allegro?
The load_bitmap function reads a bitmap from disk. Code snipped:
{
PALETTE pal;
BITMAP *bmp = load_bitmap ("filename", pal)
...
}
Allegro comes with a wealth of documentation and demo programs. My
advise would be to just start coding a small program with Allegro and
look up what you need to know in the docs as you go along.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |