diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-20 13:23:58 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2021-01-20 14:30:35 -0500 |
| commit | 9687827db547cf7a5bed7f43d2f51746914b43e3 (patch) | |
| tree | f08bc685da10ec7f9201f983e1b5528f388f7f88 /include/tak.h | |
| parent | a8a9e84f44acbf8f6d0993d5a90cd589868fb020 (diff) | |
In-lined as much as a i dare
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) |
