forked from logicalzero/gamby
-
Notifications
You must be signed in to change notification settings - Fork 0
/
patterns.h
17 lines (16 loc) · 919 Bytes
/
patterns.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Fill patterns (4x4 pixel grids as 16b ints)
#define PATTERN_WHITE 0x0000
#define PATTERN_BLACK 0xFFFF
#define PATTERN_GRAY 0x5a5a // B0101101001011010
#define PATTERN_DK_GRAY 0xfaf5 // B1111101011110101
#define PATTERN_LT_GRAY 0x050a // B0000010100001010
#define PATTERN_DK_L_DIAGONAL 0xedb7 // B1110110110110111
#define PATTERN_LT_L_DIAGONAL 0x1248 // B0001001001001000
#define PATTERN_DK_R_DIAGONAL 0x7bde // B0111101111011110
#define PATTERN_LT_R_DIAGONAL 0x8421 // B1000010000100001
#define PATTERN_DK_GRID_SOLID 0xeeef // B1110111011101111
#define PATTERN_LT_GRID_SOLID 0x1110 // B0001000100010000
#define PATTERN_DK_GRID_DOTS 0xfafa // B1111101011111010
#define PATTERN_LT_GRID_DOTS 0x0505 // B0000010100000101
#define PATTERN_CHECKER 0x33cc // B0011001111001100
#define PATTERN_CHECKER_INV 0xcc33 // B1100110000110011