gettimeofday(&t, NULL);\r
return t.tv_sec*1000 + t.tv_usec/1000;\r
}\r
-#ifndef QINI_FILE
-#define QINI_FILE "qmax.ini"
+#ifndef INI_FILE
+#define INI_FILE "qmax.ini"
#endif
\r
#else\r
\r
#include <windows.h>\r
-#define QINI_FILE "qmax.ini"\r
+#define INI_FILE "qmax.ini"\r
\r
#endif\r
\r
int UnderProm;\r
int GameNr;\r
char piecename[32], piecetype[32], defaultchar[]=".PPKNBRQEWFMACHG";\r
-char *inifile = QINI_FILE;\r
+char *inifile = INI_FILE;\r
\r
int Ticks, tlim, Setup, SetupQ;\r
\r
}\r
K=I;\r
cnt = D(s,-I,I,Q,4*S,3);\r
- if(cnt==0 && K==0 && L==0) {\r
- printf("1/2-1/2 {Stalemate}\n");\r
- return 2;\r
- }\r
if(cnt==-I+1) {\r
if (s == WHITE)\r
printf("0-1 {Black mates}\n");\r