mirror of
git://git.savannah.nongnu.org/eliot.git
synced 2025-01-29 20:34:56 +01:00
Cosmetic changes
This commit is contained in:
parent
831c578c3a
commit
5199b6b7c1
3 changed files with 3 additions and 9 deletions
|
@ -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; }
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue