mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
Merge branch 'android_branch' into relay_proxy
This commit is contained in:
commit
ecd0280353
6 changed files with 20 additions and 21 deletions
|
@ -21,8 +21,8 @@
|
||||||
to come from a domain that you own or have control over. -->
|
to come from a domain that you own or have control over. -->
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.eehouse.android.xw4"
|
package="org.eehouse.android.xw4"
|
||||||
android:versionCode="7"
|
android:versionCode="8"
|
||||||
android:versionName="4.4 beta 14"
|
android:versionName="4.4 beta 15"
|
||||||
>
|
>
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
|
@ -6,19 +6,16 @@
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<b>Crosswords 4.4 beta 14 release</b>
|
<b>Crosswords 4.4 beta 15 release</b>
|
||||||
|
|
||||||
<ul>New features:
|
<p>This is a quick bug-fix release while I continue work on the new relay connection code.</p>
|
||||||
<li>This spiffy per-release dialog</li>
|
|
||||||
</ul>
|
|
||||||
|
|
||||||
<ul>Bugs fixed:
|
<ul>Bugs fixed:
|
||||||
<li>Crash exiting board view</li>
|
<li>Robot wouldn't give up turn when unable to find a move. (Thanks S.A.)</li>
|
||||||
<li>Hang searching for robot move</li>
|
<li>"Crosshairs" was drawn only three columns wide when started on top row</li>
|
||||||
<li>Crash putting up progress dialog after board hidden</li>
|
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<ul>Coming soon:
|
<ul>(Still) coming soon
|
||||||
<li>builtin hints and help</li>
|
<li>builtin hints and help</li>
|
||||||
<li>rewrite of gameplay via relay to make connecting easier and allow closed game to receive moves.</li>
|
<li>rewrite of gameplay via relay to make connecting easier and allow closed game to receive moves.</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
|
@ -23,5 +23,5 @@ package org.eehouse.android.xw4;
|
||||||
public interface XWConstants {
|
public interface XWConstants {
|
||||||
public static final String GAME_EXTN = ".xwg";
|
public static final String GAME_EXTN = ".xwg";
|
||||||
public static final String DICT_EXTN = ".xwd";
|
public static final String DICT_EXTN = ".xwd";
|
||||||
public static final String VERSION_STR = "4.4 beta 14";
|
public static final String VERSION_STR = "4.4 beta 15";
|
||||||
}
|
}
|
||||||
|
|
|
@ -677,7 +677,7 @@ static void
|
||||||
crosshairs_init( BoardCtxt* board )
|
crosshairs_init( BoardCtxt* board )
|
||||||
{
|
{
|
||||||
DragState* ds = &board->dragState;
|
DragState* ds = &board->dragState;
|
||||||
ds->crosshairs.col = ds->crosshairs.col = -1;
|
ds->crosshairs.col = ds->crosshairs.row = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
static XP_Bool
|
static XP_Bool
|
||||||
|
|
|
@ -513,11 +513,13 @@ engine_findMove( EngineCtxt* engine, const ModelCtxt* model,
|
||||||
result = XP_FALSE;
|
result = XP_FALSE;
|
||||||
} else {
|
} else {
|
||||||
PossibleMove* move;
|
PossibleMove* move;
|
||||||
result = chooseMove( engine, &move );
|
if ( chooseMove( engine, &move ) ) {
|
||||||
if ( result ) {
|
|
||||||
XP_ASSERT( !!newMove );
|
XP_ASSERT( !!newMove );
|
||||||
XP_MEMCPY( newMove, &move->moveInfo, sizeof(*newMove) );
|
XP_MEMCPY( newMove, &move->moveInfo, sizeof(*newMove) );
|
||||||
|
} else {
|
||||||
|
newMove->nTiles = 0;
|
||||||
}
|
}
|
||||||
|
result = XP_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
util_engineStopping( engine->util );
|
util_engineStopping( engine->util );
|
||||||
|
|
|
@ -642,7 +642,7 @@ static XP_Bool
|
||||||
makeRobotMove( ServerCtxt* server )
|
makeRobotMove( ServerCtxt* server )
|
||||||
{
|
{
|
||||||
XP_Bool result = XP_FALSE;
|
XP_Bool result = XP_FALSE;
|
||||||
XP_Bool finished;
|
XP_Bool searchComplete;
|
||||||
XP_S16 turn;
|
XP_S16 turn;
|
||||||
const TrayTileSet* tileSet;
|
const TrayTileSet* tileSet;
|
||||||
MoveInfo newMove;
|
MoveInfo newMove;
|
||||||
|
@ -674,14 +674,14 @@ makeRobotMove( ServerCtxt* server )
|
||||||
}
|
}
|
||||||
|
|
||||||
XP_ASSERT( !!server_getEngineFor( server, turn ) );
|
XP_ASSERT( !!server_getEngineFor( server, turn ) );
|
||||||
finished = engine_findMove( server_getEngineFor( server, turn ),
|
searchComplete = engine_findMove( server_getEngineFor( server, turn ),
|
||||||
model, model_getDictionary( model ),
|
model, model_getDictionary( model ),
|
||||||
tileSet->tiles, tileSet->nTiles, XP_FALSE,
|
tileSet->tiles, tileSet->nTiles, XP_FALSE,
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
NULL, XP_FALSE,
|
NULL, XP_FALSE,
|
||||||
#endif
|
#endif
|
||||||
targetScore, &canMove, &newMove );
|
targetScore, &canMove, &newMove );
|
||||||
if ( finished ) {
|
if ( searchComplete ) {
|
||||||
const XP_UCHAR* str;
|
const XP_UCHAR* str;
|
||||||
XWStreamCtxt* stream = NULL;
|
XWStreamCtxt* stream = NULL;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue