Cosmetic changes

This commit is contained in:
Olivier Teulière 2006-12-23 16:48:15 +00:00
parent 831c578c3a
commit 5199b6b7c1
3 changed files with 3 additions and 9 deletions

View file

@ -47,7 +47,7 @@ public:
/**
* Return how many tiles/vowels/consonants are available
* Warning: nVowels(b) + nConsonants(b) != nTiles(b),
* Warning: b.nVowels() + b.nConsonants() != b.nTiles(),
* because of the jokers and the 'Y'.
*/
unsigned int nTiles() const { return m_ntiles; }

View file

@ -38,11 +38,6 @@ typedef struct _Dictionary * Dictionary;
using namespace std;
/*************************
* Ident string used to identify saved Eliot games
*************************/
#define IDENT_STRING "Eliot"
/**
* Parent class of all the Game types.
* It offers the common attributes (Board, Bag, etc...) as well as useful

View file

@ -486,12 +486,11 @@ void Game::save(ostream &out, game_file_format format) const
void Game::gameSaveFormat_14(ostream &out) const
{
int i;
char line[100];
const char decal[]=" ";
const string decal = " ";
out << IDENT_STRING << endl << endl;
for(i = 0; i < m_history.getSize(); i++)
for (int i = 0; i < m_history.getSize(); i++)
{
const Turn& turn = m_history.getTurn(i);
string rack = convertToMb(turn.getPlayedRack().toString(PlayedRack::RACK_EXTRA));