gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/gb/dscan/bkg.h
1 /*
2
3 BKG.H
4
5 Include File.
6
7 Info:
8 Form : All tiles as one unit.
9 Format : Gameboy 4 color.
10 Compression : None.
11 Counter : None.
12 Tile size : 8 x 8
13 Tiles : 0 to 95
14
15 Palette colors : Included.
16 SGB Palette : None.
17 CGB Palette : 1 Byte per entry.
18
19 Convert to metatiles : No.
20
21 This file was generated by GBTD v1.6
22
23 */
24
25
26 /* Bank of tiles. */
27 #define bkgBank 0
28
29 /* Super Gameboy palette 0 */
30 #define bkgSGBPal0c0 0
31 #define bkgSGBPal0c1 0
32 #define bkgSGBPal0c2 0
33 #define bkgSGBPal0c3 0
34
35 /* Super Gameboy palette 1 */
36 #define bkgSGBPal1c0 4104
37 #define bkgSGBPal1c1 6
38 #define bkgSGBPal1c2 0
39 #define bkgSGBPal1c3 0
40
41 /* Super Gameboy palette 2 */
42 #define bkgSGBPal2c0 4104
43 #define bkgSGBPal2c1 6
44 #define bkgSGBPal2c2 0
45 #define bkgSGBPal2c3 0
46
47 /* Super Gameboy palette 3 */
48 #define bkgSGBPal3c0 4104
49 #define bkgSGBPal3c1 6
50 #define bkgSGBPal3c2 0
51 #define bkgSGBPal3c3 0
52
53 /* Gameboy Color palette 0 */
54 #define bkgCGBPal0c0 32767
55 #define bkgCGBPal0c1 25368
56 #define bkgCGBPal0c2 16912
57 #define bkgCGBPal0c3 0
58
59 /* Gameboy Color palette 1 */
60 #define bkgCGBPal1c0 31744
61 #define bkgCGBPal1c1 25600
62 #define bkgCGBPal1c2 15360
63 #define bkgCGBPal1c3 31
64
65 /* Gameboy Color palette 2 */
66 #define bkgCGBPal2c0 29696
67 #define bkgCGBPal2c1 21504
68 #define bkgCGBPal2c2 13312
69 #define bkgCGBPal2c3 31
70
71 /* Gameboy Color palette 3 */
72 #define bkgCGBPal3c0 27648
73 #define bkgCGBPal3c1 19456
74 #define bkgCGBPal3c2 11264
75 #define bkgCGBPal3c3 31
76
77 /* Gameboy Color palette 4 */
78 #define bkgCGBPal4c0 23552
79 #define bkgCGBPal4c1 17408
80 #define bkgCGBPal4c2 9216
81 #define bkgCGBPal4c3 31
82
83 /* Gameboy Color palette 5 */
84 #define bkgCGBPal5c0 16896
85 #define bkgCGBPal5c1 25344
86 #define bkgCGBPal5c2 0
87 #define bkgCGBPal5c3 31
88
89 /* Gameboy Color palette 6 */
90 #define bkgCGBPal6c0 21120
91 #define bkgCGBPal6c1 29568
92 #define bkgCGBPal6c2 31744
93 #define bkgCGBPal6c3 31
94
95 /* Gameboy Color palette 7 */
96 #define bkgCGBPal7c0 32767
97 #define bkgCGBPal7c1 32736
98 #define bkgCGBPal7c2 0
99 #define bkgCGBPal7c3 31744
100 /* CGBpalette entries. */
101 extern const unsigned char bkgCGB[];
102 /* Start of tile array. */
103 extern const unsigned char bkg[];
104
105 /* End of BKG.H */
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.