[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Eliot-dev] eliot/game tile.cpp tile.h [multibyte]
From: |
eliot-dev |
Subject: |
[Eliot-dev] eliot/game tile.cpp tile.h [multibyte] |
Date: |
Sun, 08 Jan 2006 13:21:05 +0000 |
CVSROOT: /sources/eliot
Module name: eliot
Branch: multibyte
Changes by: Olivier Teulière <address@hidden> 06/01/08 13:21:05
Modified files:
game : tile.cpp tile.h
Log message:
Tile::toCode() now returns an unsigned int, not an int.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/eliot/eliot/game/tile.cpp.diff?only_with_tag=multibyte&tr1=1.5.2.3&tr2=1.5.2.4&r1=text&r2=text
http://cvs.savannah.gnu.org/viewcvs/eliot/eliot/game/tile.h.diff?only_with_tag=multibyte&tr1=1.6.2.3&tr2=1.6.2.4&r1=text&r2=text
Patches:
Index: eliot/game/tile.cpp
diff -u eliot/game/tile.cpp:1.5.2.3 eliot/game/tile.cpp:1.5.2.4
--- eliot/game/tile.cpp:1.5.2.3 Sun Jan 8 11:52:36 2006
+++ eliot/game/tile.cpp Sun Jan 8 13:21:05 2006
@@ -165,7 +165,7 @@
return m_char;
}
-int Tile::toCode() const
+unsigned int Tile::toCode() const
{
return m_code;
}
Index: eliot/game/tile.h
diff -u eliot/game/tile.h:1.6.2.3 eliot/game/tile.h:1.6.2.4
--- eliot/game/tile.h:1.6.2.3 Sun Jan 8 11:52:36 2006
+++ eliot/game/tile.h Sun Jan 8 13:21:05 2006
@@ -49,7 +49,7 @@
unsigned int maxNumber() const;
unsigned int getPoints() const;
wchar_t toChar() const;
- int toCode() const;
+ unsigned int toCode() const;
static const Tile &dummy() { return m_TheDummy; }
static const Tile &Joker() { return m_TheJoker; }
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Eliot-dev] eliot/game tile.cpp tile.h [multibyte],
eliot-dev <=