46 #define foreach_empty(empty, list)\ 47 for ((empty) = (list)->next; (empty)->next; (empty) = (empty)->next) 50 #define foreach_even_empty(empty, list, parity)\ 51 for ((empty) = (list)->next; (empty)->next; (empty) = (empty)->next) if ((parity & empty->quadrant) == 0) 54 #define foreach_odd_empty(empty, list, parity)\ 55 for ((empty) = (list)->next; (empty)->next; (empty) = (empty)->next) if (parity & empty->quadrant) struct SquareList SquareList
int quadrant
Definition: empty.h:18
struct SquareList * previous
Definition: empty.h:19
static void empty_remove(SquareList *empty)
remove an empty square from the list.
Definition: empty.h:28
static void empty_restore(SquareList *empty)
restore the list of empty squares
Definition: empty.h:39
unsigned long long b
Definition: empty.h:16
int x
Definition: empty.h:17
struct SquareList * next
Definition: empty.h:20