Make initial value of confirmBTConnect true.

This commit is contained in:
ehouse 2007-12-15 18:55:32 +00:00
parent 84b707990e
commit ef8a5d0b11
3 changed files with 6 additions and 0 deletions

View file

@ -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];

View file

@ -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 ) {

View file

@ -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;