1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-29 08:13:08 +00:00

Object OpeningBook doen't need to be global

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba 2010-11-07 13:12:48 +01:00
parent 4cd53b68d0
commit d2ad5acddd
4 changed files with 4 additions and 17 deletions

View file

@ -36,13 +36,6 @@
using namespace std;
////
//// Global variables
////
Book OpeningBook;
////
//// Local definitions
////

View file

@ -78,12 +78,4 @@ private:
RKISS RKiss;
};
////
//// Global variables
////
extern Book OpeningBook;
#endif // !defined(BOOK_H_INCLUDED)

View file

@ -228,7 +228,10 @@ namespace {
const Value EasyMoveMargin = Value(0x200);
/// Global variables
/// Namespace variables
// Book object
Book OpeningBook;
// Iteration counter
int Iteration;

View file

@ -27,7 +27,6 @@
#include <sstream>
#include <string>
#include "book.h"
#include "evaluate.h"
#include "misc.h"
#include "move.h"