In a message dated 02/01/03 14:03:44 GMT Standard Time, [EMAIL PROTECTED] writes:


But so far, you will have to live with the words of the GD2-spec (Holy bible ?).
For sprite (mask&pattern), even for 1 bit black & white, all lines
must be aligned on long (exact reference: GD2-User.doc, page 8,
"Each row in a QL mode pattern or blob occupies one or more and complete 16 bit words. Each row in any extended colour definition pattern or blob occupies one or more complete long words.", just one paragraph after the table which list the new GD2 mode).


OK, however, does this mean for an area measuring 20 pixels in monochrome mode, it needs to use 20 longwords (1 per pixel) or is each pixel packed (as per the screen display) and the line only rounded up to longwords - in the latter case, they would need only 1 longword to store the 20 pixels.... (20 bits rounded up to 32).??

The GD-2 documentation is not clear here, so what is used in practice??
--
Rich Mellor
RWAP Software
35 Chantry Croft, Kinsley, Pontefract, West Yorkshire, WF9 5JH
TEL: 01977 610509
http://hometown.aol.co.uk/rwapsoftware

Reply via email to