#include <nitro/mb.h>
#define MB_ICON_COLOR_NUM 16
// Number of icon colors
#define MB_ICON_PALETTE_SIZE (MB_ICON_COLOR_NUM * 2)
// Icon palette size (16 bits of color x number of colors)
#define MB_ICON_DATA_SIZE 512
// Icon data size (32x32 dots, 16 colors)
#define MB_GAME_NAME_LENGTH 48
// Game name length (2-byte units)
// Note: Specify to within the number of characters shown
// to the left and within a width of 185 dots.
#define MB_GAME_INTRO_LENGTH 96
// Game description length (2-byte units)
// Note: Specify to within the number of characters shown
// to the left and within a width of 199 dots x 2.
#define MB_USER_NAME_LENGTH 10
// User name length (2-byte units)
These are the prescribed constants that relate to game information and user information in the MB library. The meaning of each constant is shown in the following table:
| Value | Meaning |
|---|---|
MB_ICON_COLOR_NUM |
Maximum value for the number of palette colors in the icon that is used for download game display. This is fixed at 16 colors. |
MB_ICON_PALETTE_SIZE |
Palette data size for the icon that is used for download game display. Regardless of the number of colors that are actually used, this will be an array of 16-color GXRgb types. |
MB_ICON_DATA_SIZE |
Image data size for the icon that is used for download game display. This is fixed as a 32 x 32-pixel, 16-color indexed color bitmap. |
MB_GAME_NAME_LENGTH |
The maximum number of characters in the download game name. This is fixed at 48 characters.Because the character string is handled using UTF16-LE wide characters, the number of characters will be sizeof(wchar_t) x the number of bytes.When displaying on IPL, the length must fit within 185 pixels.* |
MB_GAME_INTRO_LENGTH |
The maximum number of characters in the download game name description. This is fixed at 96 characters.Because the character string is handled using UTF16-LE wide characters, the number of characters will be sizeof(wchar_t) x the number of bytes.When displaying on IPL. the length must fit within 2 rows of 199 pixels each.* |
MB_USER_NAME_LENGTH |
The maximum number of characters in the user name. This is fixed at 10 characters.Because the character string is handled using UTF16-LE wide characters, the number of characters will be sizeof(wchar_t) x the number of bytes. |
10/05/2004 Corrected links
09/27/2004 Initial version