summaryrefslogtreecommitdiffstats
path: root/games/gnomegames2/files
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-26 00:55:30 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-01-26 00:55:30 +0800
commit4988577d9e547815a65780c89e2f7595feb44cff (patch)
tree5b7810748b4ce1368edfe45cc4c59582f8ef7e04 /games/gnomegames2/files
parent4119a5309b8861fd0a8413e9b1b0682a7e2b230c (diff)
downloadmarcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar.gz
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar.bz2
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar.lz
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar.xz
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.tar.zst
marcuscom-ports-4988577d9e547815a65780c89e2f7595feb44cff.zip
Update to 2.9.5.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3503 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'games/gnomegames2/files')
-rw-r--r--games/gnomegames2/files/patch-iagno_othello.c28
1 files changed, 5 insertions, 23 deletions
diff --git a/games/gnomegames2/files/patch-iagno_othello.c b/games/gnomegames2/files/patch-iagno_othello.c
index 4b87018a5..1d6d8e88a 100644
--- a/games/gnomegames2/files/patch-iagno_othello.c
+++ b/games/gnomegames2/files/patch-iagno_othello.c
@@ -1,33 +1,15 @@
---- iagno/othello.c.orig Thu May 20 17:20:21 2004
-+++ iagno/othello.c Thu May 20 17:21:11 2004
-@@ -544,7 +544,7 @@
- memcpy (tboard, board, sizeof (gint8) * 8 * 8);
- move_board(tboard, i, j, me, 0);
-
-- // assume that opponent takes best move
-+ /* assume that opponent takes best move */
- tmp_move = find_best_move(tboard, not_me, ply_depth-1,
- -pass_thresh, -use_thresh, 0, 0);
-
-@@ -559,7 +559,7 @@
- }
- }
-
-- // check if we have to pass
-+ /* check if we have to pass */
- if (best_x == 8 && best_y == 8) {
- tmp_move = find_best_move(board, not_me, ply_depth-1,
- -pass_thresh, -use_thresh, 0, 0);
-@@ -802,14 +802,14 @@
+--- iagno/othello.c.orig Tue Jan 25 11:24:35 2005
++++ iagno/othello.c Tue Jan 25 11:24:56 2005
+@@ -784,14 +784,14 @@
found_free = TRUE;
}
- // check if a player is dead
+ /* check if a player is dead */
if (!found_me && found_not_me)
- return (-10000);
+ return (S_LOSING_GAME);
else if (found_me && !found_not_me)
- return (10000);
+ return (S_WINNING_GAME);
- // if the game is finished, return the actual score rather than
- // a huristic