MBIconInfo

Definitions

#include <nitro/mb.h>

typedef	struct
{
u16    palette[ MB_ICON_COLOR_NUM ];
u16    data[ MB_ICON_DATA_SIZE / 2 ];
} MBIconInfo;	/* 544byte */

Description

This structure defines the style of the icon data, which is part of the download file information. The meaning of each member is shown in the following table:
Member Description
palette The array where the palette color of the icon is saved.
The maximum number of colors is 16. This is defined as MB_ICON_COLOR_NUM.
data The array where the pixel data of the icon is saved.
Icon size is length/width 32 pixels and bit depth is 4-bit (16-colors).
The size of the array is 512 bytes. This is defined as MB_ICON_DATA_SIZE.


See Also

MBGameRegistry, MB_RegisterFile

Revision History

08/09/2004 Initial version.