delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/30/17:33:34

Message-Id: <35E9C548.5F8D@cableol.co.uk>
Date: Sun, 30 Aug 1998 22:34:00 +0100
From: Allens <allen DOT asjp AT cableol DOT co DOT uk>
Mime-Version: 1.0
To: Einar <eincar AT vip DOT cybercity DOT dk>
Cc: djgpp AT delorie DOT com
Subject: Re: Retrieving BMP from datafile?
References: <6r776u$snn$1 AT news DOT cybercity DOT dk>

Einar wrote:
> 
> I've almost finished a Othello clone, with the help of the allegro
> library, and want to place all the graphics into a dat file before
> releasing it for testing among friends and family.
> 
> I have found out to make the dat file with the grabber program.
> but I can't figure out how to get the BMP files out of the dat file
> again.
> 
> I have a othello.h header file (created with the grabber).
> and a BMP file called 'backgr' (inside the dat file).
> and finally a palette called 'othello' (also inside the dat file).
> 
> Could anyone please help me with a small example on how to retrieve the
> BMP drawing from the dat file??
> 
> Thanks in advance.
> Einar.
> 
> -------------------------------------------------------
> 
> Remove [EINAR] from e-mail address when replying

Try looking allegro examples, as I am sure they have an example of it 
some where.

		Peter Allen

- Raw text -


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