add util_turnChanged

This commit is contained in:
Eric House 2010-07-10 17:05:17 -07:00 committed by Eric House
parent a52fc5a4fd
commit 55d86b15d2
2 changed files with 5 additions and 2 deletions

View file

@ -197,10 +197,12 @@ and_util_yOffsetChange(XW_UtilCtxt* uc, XP_U16 maxOffset,
static void
and_util_turnChanged(XW_UtilCtxt* uc)
{
/* don't log; this is getting called a lot */
UTIL_CBK_HEADER( "turnChanged", "()V" );
(*env)->CallVoidMethod( env, util->jutil, mid );
UTIL_CBK_TAIL();
}
#endif
static void
and_util_notifyGameOver( XW_UtilCtxt* uc )
{

View file

@ -32,6 +32,7 @@ public interface UtilCtxt {
int playerNum, String[] texts );
String askPassword( String name );
void turnChanged();
boolean engineProgressCallback();