mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
fix to build in standalone case
This commit is contained in:
parent
356ede1a73
commit
3ee16b6cd8
1 changed files with 2 additions and 2 deletions
|
@ -122,6 +122,7 @@ static void doEndGame( ServerCtxt* server );
|
||||||
static void endGameInternal( ServerCtxt* server, GameEndReason why );
|
static void endGameInternal( ServerCtxt* server, GameEndReason why );
|
||||||
static void badWordMoveUndoAndTellUser( ServerCtxt* server,
|
static void badWordMoveUndoAndTellUser( ServerCtxt* server,
|
||||||
BadWordInfo* bwi );
|
BadWordInfo* bwi );
|
||||||
|
static XP_Bool tileCountsOk( ServerCtxt* server );
|
||||||
|
|
||||||
#ifndef XWFEATURE_STANDALONE_ONLY
|
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||||
static XP_Bool handleRegistrationMsg( ServerCtxt* server,
|
static XP_Bool handleRegistrationMsg( ServerCtxt* server,
|
||||||
|
@ -132,7 +133,6 @@ static void sendBadWordMsgs( ServerCtxt* server );
|
||||||
static XP_Bool handleIllegalWord( ServerCtxt* server,
|
static XP_Bool handleIllegalWord( ServerCtxt* server,
|
||||||
XWStreamCtxt* incomming );
|
XWStreamCtxt* incomming );
|
||||||
static void tellMoveWasLegal( ServerCtxt* server );
|
static void tellMoveWasLegal( ServerCtxt* server );
|
||||||
static XP_Bool tileCountsOk( ServerCtxt* server );
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define PICK_NEXT -1
|
#define PICK_NEXT -1
|
||||||
|
@ -2047,7 +2047,6 @@ server_endGame( ServerCtxt* server )
|
||||||
}
|
}
|
||||||
} /* server_endGame */
|
} /* server_endGame */
|
||||||
|
|
||||||
#ifndef XWFEATURE_STANDALONE_ONLY
|
|
||||||
/* If game is about to end because one player's out of tiles, we don't want to
|
/* If game is about to end because one player's out of tiles, we don't want to
|
||||||
* keep trying to move */
|
* keep trying to move */
|
||||||
static XP_Bool
|
static XP_Bool
|
||||||
|
@ -2071,6 +2070,7 @@ tileCountsOk( ServerCtxt* server )
|
||||||
return !maybeOver;
|
return !maybeOver;
|
||||||
} /* tileCountsOk */
|
} /* tileCountsOk */
|
||||||
|
|
||||||
|
#ifndef XWFEATURE_STANDALONE_ONLY
|
||||||
static void
|
static void
|
||||||
tellMoveWasLegal( ServerCtxt* server )
|
tellMoveWasLegal( ServerCtxt* server )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue