From 78dfd6267c3997257fd11989763b92fb0b62512a Mon Sep 17 00:00:00 2001 From: Eric House Date: Tue, 5 Jun 2012 22:13:58 -0700 Subject: [PATCH] include trayVisState in GameStateInfo on the java side --- xwords4/android/XWords4/jni/xwjni.c | 1 + .../XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java | 1 + 2 files changed, 2 insertions(+) diff --git a/xwords4/android/XWords4/jni/xwjni.c b/xwords4/android/XWords4/jni/xwjni.c index 43c1e60ff..03c67b46a 100644 --- a/xwords4/android/XWords4/jni/xwjni.c +++ b/xwords4/android/XWords4/jni/xwjni.c @@ -1256,6 +1256,7 @@ Java_org_eehouse_android_xw4_jni_XwJNI_game_1getState game_getState( &state->game, &info ); setInt( env, jgsi, "visTileCount", info.visTileCount ); + setInt( env, jgsi, "trayVisState", info.trayVisState ); setBool( env, jgsi, "canHint", info.canHint ); setBool( env, jgsi, "canRedo", info.canRedo); setBool( env, jgsi, "inTrade", info.inTrade ); diff --git a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java index c5a13473e..cf776ad6d 100644 --- a/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java +++ b/xwords4/android/XWords4/src/org/eehouse/android/xw4/jni/JNIThread.java @@ -96,6 +96,7 @@ public class JNIThread extends Thread { public class GameStateInfo implements Cloneable { public int visTileCount; + public int trayVisState; public boolean canHint; public boolean canRedo; public boolean inTrade;