get rid of unused/stubbed out method

This commit is contained in:
Andy2 2010-12-13 06:37:26 -08:00
parent 2807ee2ce0
commit 23a4a7ef64
3 changed files with 0 additions and 34 deletions

View file

@ -857,8 +857,6 @@ public class GameConfig extends XWActivity
}
}
m_gi.fixup();
// position = m_connectSpinner.getSelectedItemPosition();
// m_car.conType = m_types[ position ];

View file

@ -71,7 +71,6 @@ public class GameUtils {
XwJNI.game_dispose( gamePtr );
gi.setInProgress( false );
gi.fixup();
gamePtr = XwJNI.initJNI();
XwJNI.game_makeNewGame( gamePtr, gi, JNIUtilsImpl.get(),
@ -408,7 +407,6 @@ public class GameUtils {
if ( forceNew || !madeGame ) {
gi.setInProgress( false );
gi.fixup();
XwJNI.game_makeNewGame( gamePtr, gi, JNIUtilsImpl.get(),
cp, dictBytes, gi.dictName );
}

View file

@ -191,36 +191,6 @@ public class CurGameInfo {
return !consistent;
}
/**
* fixup: if we're pretending some players don't exist, move them
* up and make externally (i.e. in the jni world) visible fields
* consistent.
*/
public void fixup()
{
// if ( m_nVisiblePlayers < nPlayers ) {
// Assert.assertTrue( serverRole == DeviceRole.SERVER_ISCLIENT );
// for ( int ii = 0; ii < nPlayers; ++ii ) {
// // Assert.assertTrue( m_visiblePlayers[ii] >= ii );
// if ( m_visiblePlayers[ii] != ii ) {
// LocalPlayer tmp = players[ii];
// players[ii] = players[m_visiblePlayers[ii]];
// players[m_visiblePlayers[ii]] = tmp;
// m_visiblePlayers[ii] = ii;
// }
// }
// nPlayers = m_nVisiblePlayers;
// }
// if ( !m_inProgress && serverRole != DeviceRole.SERVER_ISSERVER ) {
// for ( int ii = 0; ii < nPlayers; ++ii ) {
// players[ii].isLocal = true;
// }
// }
}
public String[] visibleNames( Context context )
{
String[] names = new String[nPlayers];