45 |
* The dictionary does not belong to the |
* The dictionary does not belong to the |
46 |
* game (ie: it won't be destroyed by ~Game) |
* game (ie: it won't be destroyed by ~Game) |
47 |
*************************/ |
*************************/ |
48 |
Training *createTraining(const Dictionary &iDic); |
Training *createTraining (const Dictionary iDic); |
49 |
FreeGame *createFreeGame(const Dictionary &iDic); |
FreeGame *createFreeGame (const Dictionary iDic); |
50 |
Duplicate *createDuplicate(const Dictionary &iDic); |
Duplicate *createDuplicate(const Dictionary iDic); |
|
//Game *loadGame(FILE *fin, const Dictionary &iDic); |
|
51 |
|
|
52 |
Game *createFromCmdLine(int argc, char **argv); |
Game *createFromCmdLine(int argc, char **argv); |
53 |
|
|
69 |
//@{ |
//@{ |
70 |
|
|
71 |
/// Dictionary |
/// Dictionary |
72 |
string m_dicStr; |
std::string m_dicStr; |
73 |
|
|
74 |
/// Game mode |
/// Game mode |
75 |
string m_modeStr; |
std::string m_modeStr; |
76 |
|
|
77 |
/// Number of human players |
/// Number of human players |
78 |
int m_human; |
int m_human; |
86 |
//@} |
//@} |
87 |
|
|
88 |
/// Print command-line usage |
/// Print command-line usage |
89 |
void printUsage(const string &iBinaryName) const; |
void printUsage(const std::string &iBinaryName) const; |
90 |
|
|
91 |
/// Print version |
/// Print version |
92 |
void printVersion() const; |
void printVersion() const; |