SGDK
A free and open development kit for the Sega Mega Drive
Loading...
Searching...
No Matches
Bitmap Struct Reference

Genesis 4bpp Bitmap structure definition.
Use the unpackBitmap() method to unpack if compression is enabled. More...

#include <bmp.h>

Collaboration diagram for Bitmap:
[legend]

Public Attributes

u16 compression
 
u16 w
 
u16 h
 
const Palettepalette
 
const u8image
 

Detailed Description

Genesis 4bpp Bitmap structure definition.
Use the unpackBitmap() method to unpack if compression is enabled.

Parameters
compressioncompression type for image data, accepted values:
COMPRESSION_NONE
COMPRESSION_APLIB
COMPRESSION_LZ4W
wWidth in pixel.
hHeight in pixel.
palettePalette data.
imageImage data, array size = (w * h / 2) - can be FAR pointer (see mapper.h unit for explaination)

The documentation for this struct was generated from the following file: