Created
April 11, 2017 11:13
-
-
Save khalladay/5d292b8d4ee7668c461821079072300d to your computer and use it in GitHub Desktop.
Header Tile Data for GBA By Example 3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const unsigned short bgTiles[64] __attribute__((aligned(4)))= | |
{ | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0101,0x0202,0x0101,0x0202,0x0101,0x0202,0x0101,0x0202, | |
0x0202,0x0101,0x0202,0x0101,0x0202,0x0101,0x0202,0x0101, | |
0x0101,0x0202,0x0101,0x0202,0x0101,0x0202,0x0101,0x0202, | |
0x0202,0x0101,0x0202,0x0101,0x0202,0x0101,0x0202,0x0101, | |
}; | |
const unsigned short bgPal[4] __attribute__((aligned(4)))= | |
{ | |
0x4DA0,0x0000,0xFFFF,0x0000, | |
}; | |
const unsigned short checkerBg[1024] = | |
{ | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001, | |
0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001,0x0001 | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef GRIT_TILES_H | |
#define GRIT_TILES_H | |
#define bgTilesLen 128 | |
extern const unsigned short bgTiles[64]; | |
#define bgPalLen 8 | |
extern const unsigned short bgPal[4]; | |
#define checkerBgLen 2048 | |
extern const unsigned short checkerBg[1024]; | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment