Promote OptionsMap to a class

And add a bit of documentation too.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-04-14 15:59:49 +02:00
parent 6056a43419
commit 786564068b
4 changed files with 74 additions and 69 deletions

View File

@@ -78,7 +78,7 @@ bool execute_uci_command(const string& cmd) {
else if (token == "uci")
cout << "id name " << engine_name()
<< "\nid author " << engine_authors()
<< "\n" << options_to_uci()
<< "\n" << Options.print_all()
<< "\nuciok" << endl;
else if (token == "ucinewgame")