X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=cddf34bd66628a844f0b1ba2765faf2148be6a5e;hb=refs%2Ftags%2Fv4.4.3.20100118;hp=4cc8646dc01427280984724186cab11f103663a5;hpb=c2221f8b8d4d4850075ea5c770acb51a23154b68;p=xboard.git diff --git a/backend.h b/backend.h index 4cc8646..cddf34b 100644 --- a/backend.h +++ b/backend.h @@ -114,7 +114,7 @@ void SetWhiteToPlayEvent P((void)); void SetBlackToPlayEvent P((void)); void InitBackEnd1 P((void)); void InitBackEnd2 P((void)); -int IsPromotion P((int fromX, int fromY, int toX, int toY)); +int HasPromotionChoice P((int fromX, int fromY, int toX, int toY, char *choice)); int InPalace P((int row, int column)); int PieceForSquare P((int x, int y)); int OKToStartUserMove P((int x, int y)); @@ -203,6 +203,7 @@ char *VariantName P((VariantClass v)); VariantClass StringToVariant P((char *e)); double u64ToDouble P((u64 value)); void OutputChatMessage P((int partner, char *mess)); +void EditPositionDone P((Boolean fakeRights)); char *StrStr P((char *string, char *match)); @@ -258,6 +259,9 @@ char * GameListLineFull P(( int, GameInfo *)); extern char* StripHighlight P((char *)); /* returns static data */ extern char* StripHighlightAndTitle P((char *)); /* returns static data */ +extern void ics_update_width P((int new_width)); +extern Boolean set_cont_sequence P((char *new_seq)); +extern int wrap P((char *dest, char *src, int count, int width, int *lp)); typedef enum { CheckBox, ComboBox, TextBox, Button, Spin, ResetButton, SaveButton, FileName, PathName, Slider, Message } Control; @@ -321,7 +325,7 @@ typedef struct _CPS { int hasOwnBookUCI; /* [AS] 0=use GUI or Polyglot book, 1=has own book */ /* [HGM] time odds */ - int timeOdds; /* factor through which we divide time for this engine */ + float timeOdds; /* factor through which we divide time for this engine */ int debug; /* [HGM] ignore engine debug lines starting with '#' */ int maxNrOfSessions; /* [HGM] secondary TC: max args in 'level' command */ int accumulateTC; /* [HGM] secondary TC: how to handle extra sessions */