X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=943634721f4c71ed8096de7457bf83cefc33d134;hb=6d9218e397e068f6249f19bbcce1ade720cfd791;hp=7b6c08e1d321a44e572ce3accc2c486808a7d2b7;hpb=7374a58a95b38c103fe899d3cd06edc3e03647d4;p=xboard.git diff --git a/backend.h b/backend.h index 7b6c08e..9436347 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)); @@ -259,6 +260,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;