[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/board_search.cpp [antoine-1]
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/board_search.cpp [antoine-1] |
Date: |
Sun, 23 Oct 2005 16:58:46 -0400 |
Index: eliot/game/board_search.cpp
diff -u eliot/game/board_search.cpp:1.4.2.1 eliot/game/board_search.cpp:1.4.2.2
--- eliot/game/board_search.cpp:1.4.2.1 Sun Oct 23 17:16:23 2005
+++ eliot/game/board_search.cpp Sun Oct 23 20:58:20 2005
@@ -3,8 +3,6 @@
* Authors: Antoine Fraboulet <address@hidden>
* Olivier Teuliere <address@hidden>
*
- * $Id: board_search.cpp,v 1.4.2.1 2005/10/23 17:16:23 afrab Exp $
- *
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
@@ -79,13 +77,13 @@
iWord.setBonus(fromrack == 7);
iWord.setPoints(pts);
- if (iWord.getDir() == VERTICAL)
+ if (iWord.getDir() == Coord::VERTICAL)
{
iWord.setRow(col);
iWord.setCol(row);
}
iResults.add(iWord);
- if (iWord.getDir() == VERTICAL)
+ if (iWord.getDir() == Coord::VERTICAL)
{
iWord.setRow(row);
iWord.setCol(col);
@@ -213,7 +211,7 @@
Matrix<Cross> &iCrossMx,
Matrix<int> &iPointsMx,
Matrix<bool> &iJokerMx,
- Rack &iRack, Results &iResults, Direction iDir)
+ Rack &iRack, Results &iResults, Coord::Direction
iDir)
{
int row, col, lastanchor;
Round partialword;
@@ -262,11 +260,11 @@
BoardSearchAux(*this, iDic, m_tilesRow, m_crossRow,
m_pointRow, m_jokerRow,
- copyRack, oResults, HORIZONTAL);
+ copyRack, oResults, Coord::HORIZONTAL);
BoardSearchAux(*this, iDic, m_tilesCol, m_crossCol,
m_pointCol, m_jokerCol,
- copyRack, oResults, VERTICAL);
+ copyRack, oResults, Coord::VERTICAL);
}
@@ -282,7 +280,7 @@
partialword.setRow(row);
partialword.setCol(col);
- partialword.setDir(HORIZONTAL);
+ partialword.setDir(Coord::HORIZONTAL);
LeftPart(*this, iDic, m_tilesRow, m_crossRow,
m_pointRow, m_jokerRow,
copyRack, partialword, oResults, Dic_root(iDic), row, col,