1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - GX - demos - UnitTours/2D_CharBg_256BMP 3 File: data.h 4 5 Copyright 2003-2008 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 $Date:: 2008-10-20#$ 14 $Rev: 9005 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 18 /* 19 ****************************************************************************** 20 * 21 * Project : 22 * NITRO-SDK sample program 23 * Title : 24 * Displays an affine extended 256 color bit map background. 25 * Explanation: 26 * Performs affine conversions (rotate / scale) on a 256-color bitmap background and displays the result. 27 * 28 * 29 ****************************************************************************** 30 */ 31 #ifndef BG_DATA_H_ 32 #define BG_DATA_H_ 33 34 /*-------------------------- Data -------------------------------*/ 35 extern const u16 bitmapBG_256color_Palette[256]; 36 extern const u8 bitmapBG_256color_Texel[256 * 256 / 1]; 37 38 #define SCREEN_SIZE (256 * 256 / 1) 39 #define PALETTE_SIZE (256 * 2) 40 #define CHAR_SIZE (256 * 256 / 1) 41 42 #endif 43