mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
Make initial value of confirmBTConnect true.
This commit is contained in:
parent
84b707990e
commit
ef8a5d0b11
3 changed files with 6 additions and 0 deletions
|
@ -266,6 +266,8 @@ gi_initPlayerInfo( MPFORMAL CurGameInfo* gi, const XP_UCHAR* nameTemplate )
|
|||
gi->boardSize = 15;
|
||||
gi->robotSmartness = SMART_ROBOT;
|
||||
gi->gameSeconds = 25 * 60; /* 25 minute game is common? */
|
||||
|
||||
gi->confirmBTConnect = XP_TRUE;
|
||||
|
||||
for ( i = 0; i < MAX_NUM_PLAYERS; ++i ) {
|
||||
XP_UCHAR buf[20];
|
||||
|
|
|
@ -1263,8 +1263,11 @@ socketCallback( BtLibSocketEventType* sEvent, UInt32 refCon )
|
|||
}
|
||||
break;
|
||||
|
||||
#if defined BT_USE_L2CAP
|
||||
case btLibSocketEventSdpGetPsmByUuid:
|
||||
#elif defined BT_USE_RFCOMM
|
||||
case btLibSocketEventSdpGetServerChannelByUuid:
|
||||
#endif
|
||||
XP_ASSERT( sEvent->socket == btStuff->u.slave.sdpSocket );
|
||||
pbt_close_sdpsocket( btStuff );
|
||||
if ( sEvent->status == errNone ) {
|
||||
|
|
|
@ -694,6 +694,7 @@ palmInitPrefs( PalmAppGlobals* globals )
|
|||
globals->gState.showGrid = true;
|
||||
globals->gState.versionNum = CUR_PREFS_VERS;
|
||||
globals->gState.cp.showBoardArrow = XP_TRUE;
|
||||
globals->gState.cp.showRobotScores = XP_TRUE;
|
||||
|
||||
#ifdef SHOW_PROGRESS
|
||||
globals->gState.showProgress = true;
|
||||
|
|
Loading…
Reference in a new issue