1 /* 2 * PROPRIETARY INFORMATION. This software is proprietary to POWDER 3 * Development, and is not to be reproduced, transmitted, or disclosed 4 * in any way without written permission. 5 * 6 * Produced by: Jeff Lait 7 * 8 * POWDER Development 9 * 10 * NAME: all_bitmaps.h ( gfx Library, C++ ) 11 * 12 * COMMENTS: 13 */ 14 15 #ifndef __all_bitmaps__ 16 #define __all_bitmaps__ 17 18 #include <mygba.h> 19 20 #define NUM_FONTS 5 21 22 #if defined(iPOWDER) || defined(ANDROID) 23 #define NUM_TILESETS 8 24 #else 25 #if defined(USING_SDL) && !defined(_WIN32_WCE) 26 #define NUM_TILESETS 10 27 #else 28 #define NUM_TILESETS 7 29 #endif 30 #endif 31 32 // Definition of a generic tileset. 33 struct TILESET 34 { 35 const unsigned char *alphabet[NUM_FONTS]; 36 const unsigned char *dungeon; 37 const unsigned char *mini; 38 const unsigned char *minif; 39 const unsigned short *palette; 40 const unsigned char *sprite; 41 const unsigned short *spritepalette; 42 43 const char *name; 44 45 int tilewidth; 46 }; 47 48 extern TILESET *glb_tilesets; 49 50 extern const char *glb_fontnames[NUM_FONTS]; 51 52 extern const unsigned short *bmp_slug_and_blood; 53 extern const unsigned short *bmp_sprite16_3x; 54 55 #endif 56 57