mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-26 07:58:52 +01:00
get rid of unused/stubbed out method
This commit is contained in:
parent
2807ee2ce0
commit
23a4a7ef64
3 changed files with 0 additions and 34 deletions
|
@ -857,8 +857,6 @@ public class GameConfig extends XWActivity
|
|||
}
|
||||
}
|
||||
|
||||
m_gi.fixup();
|
||||
|
||||
// position = m_connectSpinner.getSelectedItemPosition();
|
||||
// m_car.conType = m_types[ position ];
|
||||
|
||||
|
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
|
|
Loading…
Add table
Reference in a new issue