Project

General

Profile

« Previous | Next » 

Revision 240bf467

Added by Leszek Koltunski about 2 years ago

Switch off visible effects of IAP (all objects free, no 'stars' animation)

View differences:

src/main/java/org/distorted/main/RubikObjectLibInterface.java
450 450

  
451 451
      switch(mIsNewRecord)
452 452
        {
453
        case RECORD_FIRST  : RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
453
        case RECORD_FIRST  : /*
454
                             // temporarily switch off the 'stars' animation
455
                             RubikScreenPlay play = (RubikScreenPlay) ScreenList.PLAY.getScreenClass();
454 456
                             int level = play.getLevel();
455 457
                             RubikScores scores = RubikScores.getInstance();
456 458
                             int totStars = scores.getNumStars();
......
461 463
                             DataStars data  = new DataStars(totStars,newStars,act.getResources());
462 464
                             stars.startOverlay(screen,this,data);
463 465
                             break;
466
                             */
464 467
        case RECORD_NEW    : RubikDialogNewRecord d2 = new RubikDialogNewRecord();
465 468
                             d2.setArguments(bundle);
466 469
                             d2.show( act.getSupportFragmentManager(), RubikDialogNewRecord.getDialogTag() );
src/main/java/org/distorted/objects/RubikObject.java
215 215
    }
216 216

  
217 217
///////////////////////////////////////////////////////////////////////////////////////////////////
218
// temporarily switch off IAP (charging for objects) - all objects are free!
218 219

  
219 220
  public boolean isFree()
220 221
    {
221
    return mIsFree;
222
    return true; // mIsFree;
222 223
    }
223 224

  
224 225
///////////////////////////////////////////////////////////////////////////////////////////////////

Also available in: Unified diff