eliot-dev
[Top][All Lists]
Advanced

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

[Eliot-dev] Changes to eliot/game/board.cpp


From: eliot-dev
Subject: [Eliot-dev] Changes to eliot/game/board.cpp
Date: Sat, 05 Nov 2005 06:02:00 -0500

Index: eliot/game/board.cpp
diff -u eliot/game/board.cpp:1.9 eliot/game/board.cpp:1.10
--- eliot/game/board.cpp:1.9    Fri Nov  4 23:26:03 2005
+++ eliot/game/board.cpp        Sat Nov  5 11:01:58 2005
@@ -155,7 +155,7 @@
 
     row = iRound.getRow();
     col = iRound.getCol();
-    if (iRound.getDir() == HORIZONTAL)
+    if (iRound.getDir() == Coord::HORIZONTAL)
     {
         for (int i = 0; i < iRound.getWordLen(); i++)
         {
@@ -196,7 +196,7 @@
 
     row = iRound.getRow();
     col = iRound.getCol();
-    if (iRound.getDir() == HORIZONTAL)
+    if (iRound.getDir() == Coord::HORIZONTAL)
     {
         for (int i = 0; i < iRound.getWordLen(); i++)
         {
@@ -314,7 +314,7 @@
     if (isolated && !firstturn)
         return 5;
     /* The first word must be horizontal */
-    if (firstturn && iRound.getDir() == VERTICAL)
+    if (firstturn && iRound.getDir() == Coord::VERTICAL)
         return 6;
     /* The first word must cover the H8 square */
     if (firstturn
@@ -334,7 +334,7 @@
 
 int Board::checkRound(Round &iRound, bool firstturn)
 {
-    if (iRound.getDir() == HORIZONTAL)
+    if (iRound.getDir() == Coord::HORIZONTAL)
         return checkRoundAux(m_tilesRow, m_crossRow,
                              m_pointRow, m_jokerRow,
                              iRound, firstturn);
@@ -369,7 +369,7 @@
 
     row = iRound.getRow();
     col = iRound.getCol();
-    if (iRound.getDir() == HORIZONTAL)
+    if (iRound.getDir() == Coord::HORIZONTAL)
     {
         for (int i = 0; i < iRound.getWordLen(); i++)
         {




reply via email to

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