Mail Archives: djgpp/2000/03/27/23:21:54
From: | Damian Yerrick <Bullcr_pd_yerrick AT hotmail DOT comRemoveBullcr_p>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: how to include a .bmp or any other image file ??
|
Organization: | Pin Eight Software http://pineight.8m.com/
|
Message-ID: | <o9lvdss2ggtksk5kc90f6it0ge8bigqra1@4ax.com>
|
References: | <yKzD4.39215$jb7 DOT 782236 AT carnaval DOT risq DOT qc DOT ca>
|
X-Newsreader: | Forte Agent 1.7/32.534
|
MIME-Version: | 1.0
|
Lines: | 28
|
X-Trace: | /KHlxNo0ix3cQzVvcoZ9dLyGP/Z49cCGt82+QkaUMrN3gX1I/uNWPqdmhFdCaEL8dlKTtEhsKcB3!GcJqlr3ZGvKKe8WGsyLPVHWgbETknZe4VUncdz1TMHONcYBkyp+VneA2XiT5VpEqSgiHC+B81EoI!+8ARSsM=
|
X-Complaints-To: | abuse AT gte DOT net
|
X-Abuse-Info: | Please be sure to forward a copy of ALL headers
|
X-Abuse-Info: | Otherwise we will be unable to process your complaint properly
|
NNTP-Posting-Date: | Mon, 27 Mar 2000 21:42:19 GMT
|
Distribution: | world
|
Date: | Mon, 27 Mar 2000 21:42:19 GMT
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
On Mon, 27 Mar 2000 02:31:58 GMT, "Yannick Benoit"
<yannick DOT benoit AT dr DOT cgocable DOT ca> wrote:
>Could anyone tell me how to include image files to my games?
>
>im actually drawing my bitmap like :
>
>char bitmap1[14] = {
> 6,2,
> 44,44,44,44,44,44,
> 44,44,44,44,44,44,
>};
>
>its pretty long when trying to do a characters in a game, please help !
http://www.talula.demon.co.uk/allegro/
Even if you don't use Allegro for your game, you can grab its BMP and
PCX reading code. However, PNG is the next thing (hey, that rhymes!).
http://www.cdrom.com/pub/png/
--
Damian Yerrick
"I refuse to listen to those who refuse to listen to reason."
See the whole sig: http://www.rose-hulman.edu/~yerricde/sig.html
This is McAfee VirusScan. Add these two lines to your signature to
prevent the spread of signature viruses. http://www.mcafee.com/
- Raw text -