mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-18 22:26:30 +01:00
add new param to board_requestHint
This commit is contained in:
parent
a7c77785f6
commit
07940099ed
2 changed files with 3 additions and 2 deletions
|
@ -737,7 +737,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1resetEngine
|
||||||
JNIEXPORT jboolean JNICALL
|
JNIEXPORT jboolean JNICALL
|
||||||
Java_org_eehouse_android_xw4_jni_XwJNI_board_1requestHint
|
Java_org_eehouse_android_xw4_jni_XwJNI_board_1requestHint
|
||||||
( JNIEnv* env, jclass C, jint gamePtr, jboolean useLimits,
|
( JNIEnv* env, jclass C, jint gamePtr, jboolean useLimits,
|
||||||
jbooleanArray workRemains )
|
jboolean goBack, jbooleanArray workRemains )
|
||||||
{
|
{
|
||||||
jboolean result;
|
jboolean result;
|
||||||
XWJNI_START();
|
XWJNI_START();
|
||||||
|
@ -746,7 +746,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_board_1requestHint
|
||||||
#ifdef XWFEATURE_SEARCHLIMIT
|
#ifdef XWFEATURE_SEARCHLIMIT
|
||||||
useLimits,
|
useLimits,
|
||||||
#endif
|
#endif
|
||||||
&tmpbool );
|
goBack, &tmpbool );
|
||||||
/* If passed need to do workRemains[0] = tmpbool */
|
/* If passed need to do workRemains[0] = tmpbool */
|
||||||
if ( workRemains ) {
|
if ( workRemains ) {
|
||||||
jboolean jbool = tmpbool;
|
jboolean jbool = tmpbool;
|
||||||
|
|
|
@ -141,6 +141,7 @@ public class XwJNI {
|
||||||
public static native void board_resetEngine( int gamePtr );
|
public static native void board_resetEngine( int gamePtr );
|
||||||
public static native boolean board_requestHint( int gamePtr,
|
public static native boolean board_requestHint( int gamePtr,
|
||||||
boolean useTileLimits,
|
boolean useTileLimits,
|
||||||
|
boolean goBackwards,
|
||||||
boolean[] workRemains );
|
boolean[] workRemains );
|
||||||
public static native boolean board_beginTrade( int gamePtr );
|
public static native boolean board_beginTrade( int gamePtr );
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue