From: SpankE Newsgroups: comp.os.msdos.djgpp Subject: Re: Quick question re: Allegro BITMAPs Date: Wed, 21 May 1997 19:02:42 -0700 Organization: Cyberion Networking Corp. Lines: 12 Message-ID: <3383A942.44F9@imag.net> References: <33832989 DOT 12988254 AT news DOT cis DOT yale DOT edu> Reply-To: dingfam AT imag DOT net NNTP-Posting-Host: hostb79.imag.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk > "void *dat" seems key... but in my lack of comprehension, I don't know > how to get at it! In the system I am used to, I would expect it to be > buffer[0]. But I don't think it is that simple. Actually, all the image data in a BITMAP is contained in the "unsigned char *line[0];" So to access a point just use something like this: bmp->line[x_position][y_position]; This is all in allegro.txt, under "Video Memory Access." Hope that helps, chris