sgdk
Bitmap Struct Reference

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

#include <bmp.h>

List of all members.

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:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines