add board_getSelPlayer()

This commit is contained in:
Eric House 2016-03-06 06:34:49 -08:00
parent d67d9a704c
commit 2ca0fe5ca4
2 changed files with 8 additions and 1 deletions

View file

@ -1884,6 +1884,12 @@ board_get_flipped( const BoardCtxt* board )
return board->isFlipped;
}
XP_U16
board_getSelPlayer( const BoardCtxt* board )
{
return board->selPlayer;
}
XP_Bool
board_flip( BoardCtxt* board )
{

View file

@ -117,7 +117,6 @@ void board_setTimerLoc( BoardCtxt* board,
void board_setTrayLoc( BoardCtxt* board, XP_U16 trayLeft, XP_U16 trayTop,
XP_U16 trayWidth, XP_U16 trayHeight );
/* Vertical scroll support; offset is in rows, not pixels */
XP_Bool board_setYOffset( BoardCtxt* board, XP_U16 newOffset );
XP_U16 board_getYOffset( const BoardCtxt* board );
@ -151,6 +150,8 @@ XP_Bool board_toggle_showValues( BoardCtxt* board );
XP_Bool board_replaceTiles( BoardCtxt* board );
XP_Bool board_redoReplacedTiles( BoardCtxt* board );
XP_U16 board_getSelPlayer(const BoardCtxt* board );
XP_Bool board_requestHint( BoardCtxt* board,
#ifdef XWFEATURE_SEARCHLIMIT
XP_Bool useTileLimits,