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