File: all_bitmaps.h

package info (click to toggle)
powder 117-1
  • links: PTS
  • area: non-free
  • in suites: jessie, jessie-kfreebsd, wheezy
  • size: 10,360 kB
  • ctags: 3,545
  • sloc: cpp: 55,002; makefile: 541; sh: 258; objc: 245; ansic: 107; csh: 54
file content (56 lines) | stat: -rwxr-xr-x 1,122 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
/*
 * PROPRIETARY INFORMATION.  This software is proprietary to POWDER
 * Development, and is not to be reproduced, transmitted, or disclosed
 * in any way without written permission.
 *
 * Produced by:	Jeff Lait
 *
 *      	POWDER Development
 *
 * NAME:        all_bitmaps.h ( gfx Library, C++ )
 *
 * COMMENTS:
 */

#ifndef __all_bitmaps__
#define __all_bitmaps__

#include <mygba.h>

#define NUM_FONTS		5

#if defined(iPOWDER)
#define NUM_TILESETS		8
#else
#if defined(USING_SDL) && !defined(_WIN32_WCE)
#define NUM_TILESETS		10
#else
#define NUM_TILESETS		7
#endif
#endif

// Definition of a generic tileset.
struct TILESET
{
    const unsigned char		*alphabet[NUM_FONTS];
    const unsigned char		*dungeon;
    const unsigned char		*mini;
    const unsigned char		*minif;
    const unsigned short	*palette;
    const unsigned char		*sprite;
    const unsigned short	*spritepalette;

    const char			*name;

    int				 tilewidth;
};

extern TILESET *glb_tilesets;

extern const char *glb_fontnames[NUM_FONTS];

extern const unsigned short *bmp_slug_and_blood;
extern const unsigned short *bmp_sprite16_3x;

#endif