#ifndef MOVEH_INCLUDED
#define MOVEH_INCLUDED

#include "defs.h"

#include <stdio.h> 
#include <stdlib.h> 


extern const int fval[16];
extern int board[256];
extern int indx[192];
extern int pieces[2][16];
extern int castle;
extern int epsquare;
extern int fifty;
extern int force[2];
extern int types[16];
extern int kingsq[2];
extern int ply;
extern int stm;
extern int victim;
extern int victii;
extern sHISTDATA * mhs;
extern sHISTDATA move_history[512];
extern UI64 key;
extern UI64 zobrist[nbPieces][192];


void printmv(const uMOVE * m);
int checkboard();
int checkmove();

#endif /* MOVEH_INCLUDED */
