[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] Changes to eliot/game/game.cpp
From: |
eliot-dev |
Subject: |
[Eliot-dev] Changes to eliot/game/game.cpp |
Date: |
Fri, 04 Nov 2005 18:26:05 -0500 |
Index: eliot/game/game.cpp
diff -u eliot/game/game.cpp:1.16 eliot/game/game.cpp:1.17
--- eliot/game/game.cpp:1.16 Fri Nov 4 20:00:06 2005
+++ eliot/game/game.cpp Fri Nov 4 23:26:03 2005
@@ -454,10 +454,10 @@
m_roundHistory.pop_back();
m_playerHistory.pop_back();
}
- else
- {
+ else
+ {
return 1;
- }
+ }
}
return 0;
}
@@ -466,42 +466,6 @@
/*********************************************************
*********************************************************/
-char Game::getBoardChar(int iRow, int iCol) const
-{
- char letter = 0;
- Tile tile = m_board.getTile(iRow, iCol);
- if (!tile.isEmpty())
- {
- letter = tile.toChar();
- if (m_board.isJoker(iRow, iCol))
- letter = tolower(letter);
- }
- return letter;
-}
-
-
-int Game::getBoardCharAttr(int iRow, int iCol) const
-{
- int t = m_board.getTestChar(iRow, iCol);
- int j = m_board.isJoker(iRow, iCol);
- return (t << 1) | j;
-}
-
-
-int Game::getBoardWordMultiplier(int iRow, int iCol) const
-{
- return m_board.getWordMultiplier(iRow, iCol);
-}
-
-
-int Game::getBoardLetterMultiplier(int iRow, int iCol) const
-{
- return m_board.getLetterMultiplier(iRow, iCol);
-}
-
-/*********************************************************
- *********************************************************/
-
void Game::realBag(Bag &ioBag) const
{
vector<Tile> tiles;
@@ -750,12 +714,6 @@
/*********************************************************
*********************************************************/
-
-int Game::getNCharInBag(const Tile &c) const
-{
- return m_bag.in(c);
-}
-
string Game::formatCoords(const Round &iRound) const
{
- [Eliot-dev] Changes to eliot/game/game.cpp, eliot-dev, 2005/11/04
- [Eliot-dev] Changes to eliot/game/game.cpp,
eliot-dev <=
- [Eliot-dev] Changes to eliot/game/game.cpp, eliot-dev, 2005/11/05
- [Eliot-dev] Changes to eliot/game/game.cpp, eliot-dev, 2005/11/05
- [Eliot-dev] Changes to eliot/game/game.cpp, eliot-dev, 2005/11/05
- [Eliot-dev] Changes to eliot/game/game.cpp, eliot-dev, 2005/11/05
- [Eliot-dev] Changes to eliot/game/game.cpp, eliot-dev, 2005/11/05
- [Eliot-dev] Changes to eliot/game/game.cpp, eliot-dev, 2005/11/06