MBIconInfo

Definition

#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.
For icons that are 32x32 pixels with 4-bit (16-color) bit depth, the array is 512 bytes. This is defined as MB_ICON_DATA_SIZE.


See Also

MBGameRegistry
MB_RegisterFile

Revision History

2004/08/09 Initial version.


CONFIDENTIAL