www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/20/22:16:23

From: Einar <"eincar"@[EINAR]vip.cybercity.dk>
Newsgroups: comp.os.msdos.djgpp
Subject: Retrieving BMP from datafile?
Date: Sun, 16 Aug 1998 20:14:17 +0200
Organization: CyberCity Internet
Lines: 22
Message-ID: <6r776u$snn$1@news.cybercity.dk>
NNTP-Posting-Host: 195.8.143.147
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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

- Raw text -


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