diff options
Diffstat (limited to 'include/tak.h')
| -rw-r--r-- | include/tak.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tak.h b/include/tak.h index 0a97c2d..1d49720 100644 --- a/include/tak.h +++ b/include/tak.h @@ -20,6 +20,7 @@ typedef uint8_t data_t; typedef uint16_t colour_stack_t; #define NUM_SHIFT 4 +#define NUM_MASK (0xF<<NUM_SHIFT) // 0b11110000 #define NUM_INC (0x1<<NUM_SHIFT) // 0b00010000 #define STONE_MASK 0b00000011 #define STONE_AT(l) (celldat[(l)] & STONE_MASK) |
