uci_send_isready(Uci);\r
my_log("POLYGLOT NEW GAME\n");\r
\r
- option_set("Chess960","FALSE");\r
+ option_set("Chess960","false");\r
\r
game_clear(Game);\r
\r
} else if (match(string,"variant *")) {\r
\r
if (my_string_equal(Star[0],"fischerandom")) {\r
- option_set("Chess960","TRUE");\r
+ option_set("Chess960","true");\r
} else {\r
- option_set("Chess960","FALSE");\r
+ option_set("Chess960","false");\r
}\r
\r
} else if (match(string,"white")) {\r
sprintf(option_string," %s",opt->default_);\r
}else{\r
sprintf(option_string," %d",\r
- strcmp(opt->default_,"TRUE")?0:1);\r
+ my_string_case_equal(opt->default_,"true")?1:0);\r
}\r
strcat(option_line,option_string);\r
}\r
\r
// options\r
\r
- uci_send_option(Uci,"UCI_Chess960","%s",option_get_bool("Chess960")?"TRUE":"FALSE");\r
+ uci_send_option(Uci,"UCI_Chess960","%s",option_get_bool("Chess960")?"true":"false");\r
\r
if (option_get_int("UCIVersion") >= 2) {\r
uci_send_option(Uci,"UCI_Opponent","none none %s %s",(XB->computer)?"computer":"human",XB->name);\r
- uci_send_option(Uci,"UCI_AnalyseMode","%s",(XB->analyse)?"TRUE":"FALSE");\r
+ uci_send_option(Uci,"UCI_AnalyseMode","%s",(XB->analyse)?"true":"false");\r
}\r
\r
- uci_send_option(Uci,"Ponder","%s",ponder()?"TRUE":"FALSE");\r
+ uci_send_option(Uci,"Ponder","%s",ponder()?"true":"false");\r
\r
// position\r
\r