summaryrefslogtreecommitdiff
path: root/games/crafty/patches/patch-aa
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-11 10:52:09 +0000
committerjlam <jlam>2002-09-11 10:52:09 +0000
commitcccecf0c21b2d8d72a469d836a65698fc53368cd (patch)
tree8f2016bae6ab4e791c81b943e95a48e0f40523bd /games/crafty/patches/patch-aa
parentf604d874cf0b0e751a74f006cdab74bc1ecec838 (diff)
downloadpkgsrc-cccecf0c21b2d8d72a469d836a65698fc53368cd.tar.gz
Update games/crafty to 18.15. Changes from version 18.13 include:
18.14 Minor bug in ResignOrDraw() code caused Crafty to not offer draws although it would accept them when appropriate. Rook vs Minor is now evaluated as "neither side can win" an oversight in the EvaluateWinner() code. minor bug in ResignOrDraw() would fail to offer draws due to the +0.01/-0.01 draw scores returned by the EGTB probe code. 18.15 change in endgame draw recognition to handle the case where one side appears to be in a lost ending but is stalemated. the code now evaluates such positions as "DrawScore()" instead. the code to accept/decline draws has been modified. when a draw offer is received, a global variable "draw_offer_pending" is set to 1. when the search for a move for crafty terminates, crafty then uses this value to decide whether to accept or decline the draw. this means that the accept/decline won't happen until _after_ the search has a chance to see if something good is happening that should cause the draw to be declined, closing a timing hole that used to exist that let a few "suspects" get away with draws that should not have happened (ie crafty has - scores for a long time, the opponent suddenly fails low and sees he is losing and offers a draw quickly. Crafty would accept before doing a search and noticing that it was suddenly winning.) minor evaluation change to notice that K+B+right RP vs K+B is not necessarily won if the weaker side has a bishop of the right color.
Diffstat (limited to 'games/crafty/patches/patch-aa')
-rw-r--r--games/crafty/patches/patch-aa67
1 files changed, 0 insertions, 67 deletions
diff --git a/games/crafty/patches/patch-aa b/games/crafty/patches/patch-aa
deleted file mode 100644
index 48027b0eceb..00000000000
--- a/games/crafty/patches/patch-aa
+++ /dev/null
@@ -1,67 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2001/03/09 19:55:58 jlam Exp $
-
---- Makefile.orig Mon Feb 5 16:20:35 2001
-+++ Makefile
-@@ -135,7 +135,7 @@
- dos:
- $(MAKE) target=DOS \
- CC=gcc CXX='$$(CC)' \
-- CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3' \
-+ CFLAGS='$(CFLAGS) -fomit-frame-pointer -O3' \
- LDFLAGS='$(LDFLAGS)' \
- opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B' \
-@@ -145,7 +145,7 @@
- freebsd:
- $(MAKE) target=FreeBSD \
- CC=gcc CXX='$$(CC)' \
-- CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3 -Wall' \
-+ CFLAGS='$(CFLAGS) -fomit-frame-pointer -O3 -Wall' \
- LDFLAGS='$(LDFLAGS)' \
- opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \
-@@ -243,7 +243,7 @@
- netbsd:
- $(MAKE) target=NetBSD \
- CC=gcc CXX=g++ \
-- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \
-+ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
- LDFLAGS='$(LDFLAGS)' \
-@@ -253,7 +253,7 @@
- netbsd-i386:
- $(MAKE) target=NetBSD \
- CC=gcc CXX=g++ \
-- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall -m486 \
-+ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
- LDFLAGS='$(LDFLAGS)' \
-@@ -265,7 +265,7 @@
- netbsd-i386-elf:
- $(MAKE) target=NetBSD \
- CC=gcc CXX=g++ \
-- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall -m486 \
-+ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
- LDFLAGS='$(LDFLAGS)' \
-@@ -277,7 +277,7 @@
- netbsd-sparc:
- $(MAKE) target=NetBSD \
- CC=gcc CXX=g++ \
-- CFLAGS='$(CFLAGS) -D_REENTRANT -O3 -Wall \
-+ CFLAGS='$(CFLAGS) -D_REENTRANT -Wall \
- -fomit-frame-pointer -funroll-all-loops \
- -finline-functions -ffast-math' \
- LDFLAGS='$(LDFLAGS)' \
-@@ -297,7 +297,7 @@
- os2:
- $(MAKE) target=OS2 \
- CC=gcc CXX='$$(CC)' \
-- CFLAGS='$(CFLAGS) -fomit-frame-pointer -m486 -O3 -Wall' \
-+ CFLAGS='$(CFLAGS) -fomit-frame-pointer -O3 -Wall' \
- LDFLAGS='$(LDFLAGS) -Zexe -Zcrtdll -s' \
- opt='$(opt) -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST' \