1 /*---------------------------------------------------------------------------* 2 Project: Dolphin 3 File: create-bnr-4icon.h 4 5 Copyright 1998, 1999, 2000 Nintendo. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain 8 proprietary information of Nintendo of America Inc. and/or Nintendo 9 Company Ltd., and are protected by Federal copyright law. They may 10 not be disclosed to third parties or copied or duplicated in any form, 11 in whole or in part, without the prior written consent of Nintendo. 12 13 $Log: create-bnr-4icon.h,v $ 14 Revision 1.1 01/31/2006 10:48:30 mitu 15 (none) 16 17 18 1 6/19/01 1:26p Hosogai 19 Initial check-in 20 $NoKeywords: $ 21 *---------------------------------------------------------------------------*/ 22 23 /*---------------------------------------------------------------------------* 24 create-bnr-4icon 25 A simple program that creates a memory card file with banner & 4 icons 26 *---------------------------------------------------------------------------*/ 27 #ifndef __CREATEBNR4ICON_H__ 28 #define __CREATEBNR4ICON_H__ 29 30 #define CARD_CHAN 1 31 32 #define ICON_RGB5A3_SIZE (2 * CARD_ICON_WIDTH * CARD_ICON_HEIGHT) 33 #define ICON_CI_SIZE (CARD_ICON_WIDTH * CARD_ICON_HEIGHT) 34 #define CARD_BANNER_SIZE (CARD_BANNER_WIDTH * CARD_BANNER_HEIGHT*2) 35 #define CLUT_SIZE 512 36 #define FILE_BLOCK_SIZE 8 37 38 typedef struct CARDHeaderRGB5A3 39 { 40 u8 Title[CARD_COMMENT_SIZE/2]; 41 u8 Description[CARD_COMMENT_SIZE/2]; 42 u8 Banner[CARD_BANNER_SIZE]; 43 u8 Icons[4][ICON_RGB5A3_SIZE]; 44 } CARDHeaderRGB5A3; 45 46 #endif 47