diff options
| author | tslil clingman <tslil@posteo.de> | 2021-01-20 13:23:58 -0500 |
|---|---|---|
| committer | tslil <tslil@posteo.de> | 2026-08-28 19:37:41 +0100 |
| commit | c81898d6a760e2057f0933c9da6160702a4d0f61 (patch) | |
| tree | f08bc685da10ec7f9201f983e1b5528f388f7f88 /include/tak.h | |
| parent | c1b4600ee67c651a79f682600fa7f2676ffa916e (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) |
