1) Update link to chess-engines Yahoo group.
[xboard.git] / backend.h
index 9e1fbb0..2c63b76 100644 (file)
--- a/backend.h
+++ b/backend.h
@@ -169,6 +169,27 @@ int ToUpper P((int c));
 
 extern GameInfo gameInfo;
 
+/* ICS vars used with backend.c and zippy.c */
+#define ICS_GENERIC 0
+#define ICS_ICC 1
+#define ICS_FICS 2
+#define ICS_CHESSNET 3 /* not really supported */
+int ics_type;\r
+\r
+/* unsigned int 64 for engine nodes work and display */\r
+#ifdef WIN32\r
+       /* I don't know the name for this type of other compilers \r
+        * If it not work just added here \r
+        * Thats for MS Visual Studio \r
+        */\r
+       #define u64     unsigned __int64\r
+       #define u64Display  "%I64u"\r
+#else\r
+       /* GNU gcc */\r
+       #define u64     unsigned long long\r
+       #define u64Display  "%llu"\r
+#endif\r
+\r
 
 /* pgntags.c prototypes
  */
@@ -188,7 +209,7 @@ typedef struct _ListGame {
     unsigned long offset;   /*  Byte offset of game within file.     */
     GameInfo gameInfo;      /*  Note that some entries may be NULL. */
 } ListGame;
+
 extern List gameList;
 void ClearGameInfo P((GameInfo *));
 int GameListBuild P((FILE *));