diff --git a/xwords4/common/board.c b/xwords4/common/board.c index cbc13eda3..23d0bc253 100644 --- a/xwords4/common/board.c +++ b/xwords4/common/board.c @@ -735,6 +735,7 @@ hideMiniWindow( BoardCtxt* board, XP_Bool destroy, MiniWindowType winType ) static XP_Bool warnBadWords( const XP_UCHAR* word, XP_Bool isLegal, + const DictionaryCtxt* XP_UNUSED(dict), #ifdef XWFEATURE_BOARDWORDS const MoveInfo* XP_UNUSED(movei), XP_U16 XP_UNUSED(start), XP_U16 XP_UNUSED(end), diff --git a/xwords4/common/model.c b/xwords4/common/model.c index e0137d8d2..200ff744e 100644 --- a/xwords4/common/model.c +++ b/xwords4/common/model.c @@ -78,6 +78,7 @@ static void writePlayerCtxt( const ModelCtxt* model, XWStreamCtxt* stream, const PlayerCtxt* pc ); static XP_U16 model_getRecentPassCount( ModelCtxt* model ); static XP_Bool recordWord( const XP_UCHAR* word, XP_Bool isLegal, + const DictionaryCtxt* dict, #ifdef XWFEATURE_BOARDWORDS const MoveInfo* movei, XP_U16 start, XP_U16 end, #endif @@ -2147,6 +2148,7 @@ typedef struct _FirstWordData { static XP_Bool getFirstWord( const XP_UCHAR* word, XP_Bool XP_UNUSED(isLegal), + const DictionaryCtxt* XP_UNUSED(dict), #ifdef XWFEATURE_BOARDWORDS const MoveInfo* XP_UNUSED(movei), XP_U16 XP_UNUSED(start), XP_U16 XP_UNUSED(end), @@ -2246,6 +2248,7 @@ appendWithCR( XWStreamCtxt* stream, const XP_UCHAR* word, XP_U16* counter ) static XP_Bool recordWord( const XP_UCHAR* word, XP_Bool XP_UNUSED(isLegal), + const DictionaryCtxt* XP_UNUSED(dict), #ifdef XWFEATURE_BOARDWORDS const MoveInfo* XP_UNUSED(movei), XP_U16 XP_UNUSED(start), XP_U16 XP_UNUSED(end), @@ -2277,6 +2280,7 @@ typedef struct _ListWordsThroughInfo { static XP_Bool listWordsThrough( const XP_UCHAR* word, XP_Bool XP_UNUSED(isLegal), + const DictionaryCtxt* XP_UNUSED(dict), const MoveInfo* movei, XP_U16 start, XP_U16 end, void* closure ) { diff --git a/xwords4/common/model.h b/xwords4/common/model.h index 548a64b35..28634005c 100644 --- a/xwords4/common/model.h +++ b/xwords4/common/model.h @@ -248,6 +248,7 @@ void model_countAllTrayTiles( ModelCtxt* model, XP_U16* counts, /********************* scoring ********************/ typedef XP_Bool (*WordNotifierProc)( const XP_UCHAR* word, XP_Bool isLegal, + const DictionaryCtxt* dict, #ifdef XWFEATURE_BOARDWORDS const MoveInfo* movei, XP_U16 start, XP_U16 end, diff --git a/xwords4/common/mscore.c b/xwords4/common/mscore.c index cf2b07f76..79788131c 100644 --- a/xwords4/common/mscore.c +++ b/xwords4/common/mscore.c @@ -674,7 +674,7 @@ scoreWord( const ModelCtxt* model, XP_U16 turn, XP_UCHAR buf[(MAX_ROWS*2)+1]; dict_tilesToString( dict, checkWordBuf, len, buf, sizeof(buf) ); - (void)(*notifyInfo->proc)( buf, legal, + (void)(*notifyInfo->proc)( buf, legal, dict, #ifdef XWFEATURE_BOARDWORDS movei, start, end, #endif diff --git a/xwords4/common/server.c b/xwords4/common/server.c index 7dd5b5010..651cc3033 100644 --- a/xwords4/common/server.c +++ b/xwords4/common/server.c @@ -1874,6 +1874,7 @@ server_setGameOverListener( ServerCtxt* server, GameOverListener gol, static XP_Bool storeBadWords( const XP_UCHAR* word, XP_Bool isLegal, + const DictionaryCtxt* XP_UNUSED(dict), #ifdef XWFEATURE_BOARDWORDS const MoveInfo* XP_UNUSED(movei), XP_U16 XP_UNUSED(start), XP_U16 XP_UNUSED(end),