| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 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 |
|
| 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 |
|