From 1a99a7df804770bcb4186133a47b6d810be727b8 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 Jan 2015 14:30:03 +0000 Subject: [PATCH] Almost there --- src/bitboard.cpp | 8 ++++---- src/bitboard.h | 10 ---------- 2 files changed, 4 insertions(+), 14 deletions(-) delete mode 100644 src/bitboard.h diff --git a/src/bitboard.cpp b/src/bitboard.cpp index 9748f3c3..856d775f 100644 --- a/src/bitboard.cpp +++ b/src/bitboard.cpp @@ -1,8 +1,8 @@ -#include "bitboard.h" +namespace Bitboards { void init(); } -Bitboard A[8]; -Bitboard B[8]; -Bitboard C; +int A[8]; +int B[8]; +int C; /// Bitboards::init() initializes various bitboard tables. It is called at /// startup and relies on global objects to be already zero-initialized. diff --git a/src/bitboard.h b/src/bitboard.h deleted file mode 100644 index a02941d9..00000000 --- a/src/bitboard.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef BITBOARD_H_INCLUDED -#define BITBOARD_H_INCLUDED - -#include - -typedef uint64_t Bitboard; - -namespace Bitboards { void init(); } - -#endif // #ifndef BITBOARD_H_INCLUDED