From: H.G. Muller Date: Fri, 6 Jul 2012 20:17:01 +0000 (+0200) Subject: Version number 0.0 X-Git-Tag: 0.18~89 X-Git-Url: http://winboard.nl/cgi-bin?p=hachu.git;a=commitdiff_plain;h=08b2b923ec90722cedd4e2c9badd1e2c293a7679 Version number 0.0 Add the myname feature to print name + this version. --- diff --git a/hachu.c b/hachu.c index 8f7eac7..8ca5cc7 100644 --- a/hachu.c +++ b/hachu.c @@ -12,7 +12,7 @@ // promotions by pieces with Lion power stepping in & out the zone in same turn // promotion on capture -#define VERSION 0.0 +#define VERSION "0.0" //define PATH level==0 || level==1 && path[0] == 0x55893 #define PATH 0 @@ -1848,7 +1848,7 @@ printf("in: %s\n", command); if(!strcmp(command, "protover")){ printf("feature ping=1 setboard=1 colors=0 usermove=1 memory=1 debug=1 sigint=0 sigterm=0\n"); printf("feature variants=\"chu,12x12+0_fairy\"\n"); - printf("feature highlight=1\n"); + printf("feature myname=\"HaChu " VERSION "\" highlight=1\n"); printf("feature option=\"Resign -check 0\"\n"); // example of an engine-defined option printf("feature option=\"Contempt -spin 0 -200 200\"\n"); // and another one printf("feature done=1\n");