mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-12 08:47:50 +01:00
add board_getSelPlayer()
This commit is contained in:
parent
d67d9a704c
commit
2ca0fe5ca4
2 changed files with 8 additions and 1 deletions
|
@ -1884,6 +1884,12 @@ board_get_flipped( const BoardCtxt* board )
|
||||||
return board->isFlipped;
|
return board->isFlipped;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XP_U16
|
||||||
|
board_getSelPlayer( const BoardCtxt* board )
|
||||||
|
{
|
||||||
|
return board->selPlayer;
|
||||||
|
}
|
||||||
|
|
||||||
XP_Bool
|
XP_Bool
|
||||||
board_flip( BoardCtxt* board )
|
board_flip( BoardCtxt* board )
|
||||||
{
|
{
|
||||||
|
|
|
@ -117,7 +117,6 @@ void board_setTimerLoc( BoardCtxt* board,
|
||||||
void board_setTrayLoc( BoardCtxt* board, XP_U16 trayLeft, XP_U16 trayTop,
|
void board_setTrayLoc( BoardCtxt* board, XP_U16 trayLeft, XP_U16 trayTop,
|
||||||
XP_U16 trayWidth, XP_U16 trayHeight );
|
XP_U16 trayWidth, XP_U16 trayHeight );
|
||||||
|
|
||||||
|
|
||||||
/* Vertical scroll support; offset is in rows, not pixels */
|
/* Vertical scroll support; offset is in rows, not pixels */
|
||||||
XP_Bool board_setYOffset( BoardCtxt* board, XP_U16 newOffset );
|
XP_Bool board_setYOffset( BoardCtxt* board, XP_U16 newOffset );
|
||||||
XP_U16 board_getYOffset( const BoardCtxt* board );
|
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_replaceTiles( BoardCtxt* board );
|
||||||
XP_Bool board_redoReplacedTiles( BoardCtxt* board );
|
XP_Bool board_redoReplacedTiles( BoardCtxt* board );
|
||||||
|
|
||||||
|
XP_U16 board_getSelPlayer(const BoardCtxt* board );
|
||||||
|
|
||||||
XP_Bool board_requestHint( BoardCtxt* board,
|
XP_Bool board_requestHint( BoardCtxt* board,
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
XP_Bool useTileLimits,
|
XP_Bool useTileLimits,
|
||||||
|
|
Loading…
Add table
Reference in a new issue