Message-Id: <35E9C548.5F8D@cableol.co.uk> Date: Sun, 30 Aug 1998 22:34:00 +0100 From: Allens Mime-Version: 1.0 To: Einar Cc: djgpp AT delorie DOT com Subject: Re: Retrieving BMP from datafile? References: <6r776u$snn$1 AT news DOT cybercity DOT dk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk 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