eliot-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Eliot-dev] eliot/game board_search.cpp


From: eliot-dev
Subject: [Eliot-dev] eliot/game board_search.cpp
Date: Sun, 01 Jan 2006 19:37:58 +0000

CVSROOT:        /cvsroot/eliot
Module name:    eliot
Branch:         
Changes by:     Antoine Fraboulet <address@hidden>      06/01/01 19:37:58

Modified files:
        game           : board_search.cpp 

Log message:
        -  revert dic_chr patch. make dic_char instead.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/eliot/game/board_search.cpp.diff?tr1=1.9&tr2=1.10&r1=text&r2=text

Patches:
Index: eliot/game/board_search.cpp
diff -u eliot/game/board_search.cpp:1.9 eliot/game/board_search.cpp:1.10
--- eliot/game/board_search.cpp:1.9     Mon Dec 26 21:22:21 2005
+++ eliot/game/board_search.cpp Sun Jan  1 19:37:57 2006
@@ -114,7 +114,7 @@
 
         for (succ = Dic_succ(iDic, iNode); succ; succ = Dic_next(iDic, succ))
         {
-            l = Tile(Dic_chr(iDic, succ));
+            l = Tile(Dic_char(iDic, succ));
             if (iCrossMx[iRow][iCol].check(l))
             {
                 if (iRack.in(l))
@@ -145,7 +145,7 @@
         l = iTilesMx[iRow][iCol];
         for (succ = Dic_succ(iDic, iNode); succ ; succ = Dic_next(iDic, succ))
         {
-            if (Tile(Dic_chr(iDic, succ)) == l)
+            if (Tile(Dic_char(iDic, succ)) == l)
             {
                 ioPartialWord.addRightFromBoard(l);
                 ExtendRight(iBoard, iDic, iTilesMx, iCrossMx, iPointsMx,
@@ -178,7 +178,7 @@
     {
         for (succ = Dic_succ(iDic, n); succ; succ = Dic_next(iDic, succ))
         {
-            l = Tile(Dic_chr(iDic, succ));
+            l = Tile(Dic_char(iDic, succ));
             if (iRack.in(l))
             {
                 iRack.remove(l);
@@ -290,3 +290,10 @@
              copyRack, partialword, oResults, Dic_root(iDic), row, col,
              copyRack.nTiles() - 1);
 }
+
+/// Local Variables:
+/// mode: c++
+/// mode: hs-minor
+/// c-basic-offset: 4
+/// indent-tabs-mode: nil
+/// End:




reply via email to

[Prev in Thread] Current Thread [Next in Thread]