/* L A R O L L S . H * * Copyright (c) 1998 by David Montgomery. All rights reserved. * */ #ifndef h_larolls #define h_larolls #ifdef __cplusplus extern "C" { #endif #include "bgemover.h" /*-------------------------------------------------------------- * * DEFINITIONS * *--------------------------------------------------------------*/ #define MAX_LA_ROLL_LISTS 21 #define LARL_ALL_ROLLS 0 #define LARL_HALF_ROLLS 1 #define LARL_THIRD_ROLLS 2 #define LARL_QUARTER_ROLLS 3 #define LARL_TWO_ROLLS 4 #define LARL_ONE_ROLL 5 /*-------------------------------------------------------------- * * GLOBALS * *--------------------------------------------------------------*/ extern const int twoDicetoOneIndex[7][7]; /*-------------------------------------------------------------- * * PROTOTYPES * *--------------------------------------------------------------*/ void larl_initializeModule( void ); void larl_decommissionModule( void ); boolean larl_isInitialized( void ); void larl_setRollListPolicy( int policyByDepth[] ); void larl_restart( void ); void larl_getMoveLists( board_t startBoard, eMoveList_t *eml[], int wt[], int *numLists, int rollIndexer[21] ); void larl_pushDepth( int depth ); void larl_popDepth( void ); int larl_depthStackTop( void ); void larl_rotateRollList( void ); #ifdef __cplusplus } #endif #endif /* h_larolls */