static char zippyPartner[MSG_SIZ];
static char zippyLastOpp[MSG_SIZ];
static int zippyConsecGames;
-static time_t zippyLastGameEnd;\r
-\r
-extern void mysrandom(unsigned int seed);\r
+static time_t zippyLastGameEnd;
+
+extern void mysrandom(unsigned int seed);
extern int myrandom(void);
-\r
+
void ZippyInit()
{
char *p;
"i enthuses:", "i entreats:", "i enunciates:", "i eulogizes:",
"i exclaims:", "i execrates:", "i exhorts:", "i expatiates:",
"i explains:", "i explicates:", "i explodes:", "i exposes:",
- "i exposits:", "i expounds:", "i expresses:", "i extols:",
+ "i exposits:", "i expostulates: ",
+ "i expounds:", "i expresses:", "i extols:",
"i exults:", "i fantasizes:", "i fibs:", "i filibusters:",
"i flatters:", "i flutes:", "i fools:", "i free-associates:",
"i fulminates:", "i gabbles:", "i gabs:", "i gasps:",
base = atoi(sbase);
increment = atoi(sincrement);
+ /* If icsAnalyzeEngine active
+ we don't accept automatic games */
+ if (appData.icsActive)
+ if (appData.icsEngineAnalyze) return;
+
/* If desired, you can insert more code here to decline matches
based on rated, variant, base, and increment, but it is
easier to use the ICS formula feature instead. */
StripHighlightAndTitle(star_match[0]));
return TRUE;
}
-\r
+
if (ics_type == ICS_ICC) {
- if (looking_at(buf, i, "Your opponent offers you a draw")) {\r
- if (first.sendDrawOffers && first.initDone)\r
- SendToProgram("draw\n", &first);\r
- return TRUE;\r
- }\r
- } else {\r
+ if (looking_at(buf, i, "Your opponent offers you a draw")) {
+ if (first.sendDrawOffers && first.initDone)
+ SendToProgram("draw\n", &first);
+ return TRUE;
+ }
+ } else {
if (looking_at(buf, i, "offers you a draw")) {
if (first.sendDrawOffers && first.initDone) {
SendToProgram("draw\n", &first);
}
return TRUE;
}
- }\r
+ }
if (looking_at(buf, i, "requests that the game be aborted") ||
looking_at(buf, i, "would like to abort")) {