X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=backend.h;h=d13ecfb10ab394b8bc681c8315705146336d56d4;hb=5cd55bddca592918f38deff675d05b650a71412e;hp=18f5c5853da32a62b609e61ac6d7b35332fb2f7d;hpb=66fd3db23545caa404030583316767b938c4f739;p=xboard.git diff --git a/backend.h b/backend.h index 18f5c58..d13ecfb 100644 --- a/backend.h +++ b/backend.h @@ -5,7 +5,7 @@ * Massachusetts. * * Enhancements Copyright 1992-2001, 2002, 2003, 2004, 2005, 2006, - * 2007, 2008, 2009 Free Software Foundation, Inc. + * 2007, 2008, 2009, 2010 Free Software Foundation, Inc. * * Enhancements Copyright 2005 Alessandro Scotti * @@ -70,11 +70,17 @@ #else /* place holder * or dummy types for other compiler + * [HGM] seems that -mno-cygwin comple needs %I64? */ #define u64 unsigned long long #define s64 signed long long - #define u64Display "%llu" - #define s64Display "%lld" + #ifdef USE_I64 + #define u64Display "%I64u" + #define s64Display "%I64d" + #else + #define u64Display "%llu" + #define s64Display "%lld" + #endif #define u64Const(c) (c ## ULL) #define s64Const(c) (c ## LL) #endif @@ -121,6 +127,8 @@ int PieceForSquare P((int x, int y)); int OKToStartUserMove P((int x, int y)); void Reset P((int redraw, int init)); void ResetGameEvent P((void)); +Boolean HasPattern P(( const char * text, const char * pattern )); +Boolean SearchPattern P(( const char * text, const char * pattern )); int LoadGame P((FILE *f, int n, char *title, int useList)); int LoadGameFromFile P((char *filename, int n, char *title, int useList)); int CmailLoadGame P((FILE *f, int n, char *title, int useList)); @@ -130,6 +138,8 @@ int SaveGameToFile P((char *filename, int append)); int LoadPosition P((FILE *f, int n, char *title)); int ReloadPosition P((int offset)); int SavePosition P((FILE *f, int dummy, char *dummy2)); +int DrawSeekGraph P(()); +int SeekGraphClick P((ClickType click, int x, int y, int moving)); void EditPositionEvent P((void)); void FlipViewEvent P((void)); void MachineWhiteEvent P((void)); @@ -262,6 +272,8 @@ int GameListBuild P((FILE *)); void GameListInitGameInfo P((GameInfo *)); char *GameListLine P((int, GameInfo *)); char * GameListLineFull P(( int, GameInfo *)); +void GLT_TagsToList P(( char * tags )); +void GLT_ParseList P((void)); extern char* StripHighlight P((char *)); /* returns static data */ extern char* StripHighlightAndTitle P((char *)); /* returns static data */