mirror of
https://github.com/sockspls/badfish
synced 2025-04-29 16:23:09 +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:
parent
4cd53b68d0
commit
d2ad5acddd
4 changed files with 4 additions and 17 deletions
|
@ -36,13 +36,6 @@
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
////
|
|
||||||
//// Global variables
|
|
||||||
////
|
|
||||||
|
|
||||||
Book OpeningBook;
|
|
||||||
|
|
||||||
|
|
||||||
////
|
////
|
||||||
//// Local definitions
|
//// Local definitions
|
||||||
////
|
////
|
||||||
|
|
|
@ -78,12 +78,4 @@ private:
|
||||||
RKISS RKiss;
|
RKISS RKiss;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
////
|
|
||||||
//// Global variables
|
|
||||||
////
|
|
||||||
|
|
||||||
extern Book OpeningBook;
|
|
||||||
|
|
||||||
|
|
||||||
#endif // !defined(BOOK_H_INCLUDED)
|
#endif // !defined(BOOK_H_INCLUDED)
|
||||||
|
|
|
@ -228,7 +228,10 @@ namespace {
|
||||||
const Value EasyMoveMargin = Value(0x200);
|
const Value EasyMoveMargin = Value(0x200);
|
||||||
|
|
||||||
|
|
||||||
/// Global variables
|
/// Namespace variables
|
||||||
|
|
||||||
|
// Book object
|
||||||
|
Book OpeningBook;
|
||||||
|
|
||||||
// Iteration counter
|
// Iteration counter
|
||||||
int Iteration;
|
int Iteration;
|
||||||
|
|
|
@ -27,7 +27,6 @@
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "book.h"
|
|
||||||
#include "evaluate.h"
|
#include "evaluate.h"
|
||||||
#include "misc.h"
|
#include "misc.h"
|
||||||
#include "move.h"
|
#include "move.h"
|
||||||
|
|
Loading…
Add table
Reference in a new issue