X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=0305dbbc517ac5303deda5592ae6366921328bba;hb=55488ca9345afd89be5143a1e07bb7f52bd56307;hp=3aeb318b64277ae48fc0d06711a7a6e6fb7c210d;hpb=ba19c79e683860fba8cafa5ca24b0f8191b4c1d5;p=xboard.git diff --git a/backend.h b/backend.h index 3aeb318..0305dbb 100644 --- a/backend.h +++ b/backend.h @@ -99,6 +99,8 @@ extern int gotPremove; extern GameMode gameMode; +extern int matchMode; +extern int matchGame; extern int pausing, cmailMsgLoaded, flipView, mute; extern char white_holding[], black_holding[]; extern int currentMove, backwardMostMove, forwardMostMove; @@ -154,7 +156,7 @@ void BackwardEvent P((void)); void ToEndEvent P((void)); void ToStartEvent P((void)); void ToNrEvent P((int to)); -void RevertEvent P((void)); +void RevertEvent P((Boolean annotate)); void RetractMoveEvent P((void)); void MoveNowEvent P((void)); void TruncateGameEvent P((void)); @@ -171,7 +173,6 @@ void UserAdjudicationEvent P((int result)); void StopObservingEvent P((void)); void StopExaminingEvent P((void)); void PonderNextMoveEvent P((int newState)); -void NewSettingeEvent P((int option, char *command, int value)); void ShowThinkingEvent P(()); void PeriodicUpdatesEvent P((int newState)); void HintEvent P((void)); @@ -189,11 +190,13 @@ void DisplayBothClocks P((void)); void EditPositionMenuEvent P((ChessSquare selection, int x, int y)); void DropMenuEvent P((ChessSquare selection, int x, int y)); int ParseTimeControl P((char *tc, int ti, int mps)); +void EscapeExpand(char *p, char *q); void ProcessICSInitScript P((FILE * f)); void EditCommentEvent P((void)); void ReplaceComment P((int index, char *text)); int ReplaceTags P((char *tags, GameInfo *gi));/* returns nonzero on error */ void AppendComment P((int index, char *text, Boolean addBraces)); +void LoadVariation P((int index, char *text)); void ReloadCmailMsgEvent P((int unregister)); void MailMoveEvent P((void)); void EditTagsEvent P((void)); @@ -202,10 +205,11 @@ void ExitAnalyzeMode P((void)); void AnalyzeModeEvent P((void)); void AnalyzeFileEvent P((void)); void InitPosition P((int redraw)); -void NewSettingEvent P((int option, char *command, int value)); +void NewSettingEvent P((int option, int *feature, char *command, int value)); void DoEcho P((void)); void DontEcho P((void)); void TidyProgramName P((char *prog, char *host, char *buf)); +void SetGameInfo P((void)); void AskQuestionEvent P((char *title, char *question, char *replyPrefix, char *which)); Boolean ParseOneMove P((char *move, int moveNum,