X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=gnushogi%2Fgnushogi.h;h=7854113ced2ec3a3b0e7781dd335781c538ff5fd;hb=7496586755298a8115a3988a8b52b32d41a4dcb7;hp=6429d1bfaf0bfae457fb36ccc9ee35de46c2a545;hpb=0c1de7b930a0f4bcb7d00532e6c33b078668de30;p=gnushogi.git diff --git a/gnushogi/gnushogi.h b/gnushogi/gnushogi.h index 6429d1b..7854113 100644 --- a/gnushogi/gnushogi.h +++ b/gnushogi/gnushogi.h @@ -183,6 +183,8 @@ extern void movealgbr(short m, char *s); #define ROW_NAME(n) ('a' + NO_ROWS - 1 - n) #define COL_NAME(n) ('1' + NO_COLS - 1 - n) +#define ROW_NUM(c) ('a' + NO_ROWS - 1 - c) +#define COL_NUM(c) ('1' + NO_COLS - 1 - c) #if defined HASHFILE || defined CACHE # define PTBLBDSIZE (NO_SQUARES + NO_PIECES) @@ -326,13 +328,9 @@ enum { #ifndef MINISHOGI #define pxx (" PLNSGBRPLNSBRK ") #define qxx (" plnsgbrplnsbrk ") -#define rxx ("ihgfedcba") -#define cxx ("987654321") #else #define pxx (" PSGBRPSBRK ") #define qxx (" psgbrpsbrk ") -#define rxx ("edcba") -#define cxx ("54321") #endif /***************** Table limits ********************************************/