diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/tak.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tak.h b/include/tak.h index d161640..0a6fcf1 100644 --- a/include/tak.h +++ b/include/tak.h @@ -20,7 +20,7 @@ typedef uint16_t colour_stack_t; #define STONE_MASK 0b00000011 #define STONE_AT(l) (celldat[(l)] & STONE_MASK) #define COUNT_AT(l) (celldat[(l)] >> NUM_SHIFT) -#define THE_COORDS(x,y) ((x)+(y)*board_size) +#define THE_COORDS(col,row) ((col)+(row)*board_size) uint8_t board_size; data_t celldat[36]; |
