summaryrefslogtreecommitdiff
path: root/apps/plugins/chessbox/gnuchess.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/chessbox/gnuchess.c')
-rw-r--r--apps/plugins/chessbox/gnuchess.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/apps/plugins/chessbox/gnuchess.c b/apps/plugins/chessbox/gnuchess.c
index 9bd07c8..6ca5793 100644
--- a/apps/plugins/chessbox/gnuchess.c
+++ b/apps/plugins/chessbox/gnuchess.c
@@ -32,9 +32,6 @@
#define ttblsz 4096
-/*#define ttblsz 16384*/
-#define huge
-
#define ctlP 0x4000
#define ctlN 0x2800
#define ctlB 0x1800
@@ -74,17 +71,6 @@ struct leaf
short f,t,score,reply;
unsigned short flags;
};
-struct GameRec
- {
- unsigned short gmove;
- short score,depth,time,piece,color;
- long nodes;
- };
-struct TimeControlRec
- {
- short moves[2];
- long clock[2];
- };
struct BookEntry
{
struct BookEntry *next;
@@ -182,7 +168,7 @@ unsigned short hashkey;
unsigned long hashbd;
struct hashval hashcode[2][7][64];
struct hashentry ttable[ttblsz];
-struct hashentry huge *ptbl;
+struct hashentry *ptbl;
unsigned char history[8192];
short Mwpawn[64],Mbpawn[64],Mknight[2][64],Mbishop[2][64];