Project

General

Profile

« Previous | Next » 

Revision 4235de9b

Added by Leszek Koltunski over 4 years ago

Major rearrangement of the UI.

View differences:

src/main/java/org/distorted/magic/RubikScoresDownloader.java
86 86
  private static String mPackageName;
87 87

  
88 88
  private static String mScores = "";
89
  private static int[][][] mCountry = new int   [RubikSize.LENGTH][RubikActivity.MAX_SCRAMBLE][MAX_PLACES];
90
  private static String[][][] mName = new String[RubikSize.LENGTH][RubikActivity.MAX_SCRAMBLE][MAX_PLACES];
91
  private static String[][][] mTime = new String[RubikSize.LENGTH][RubikActivity.MAX_SCRAMBLE][MAX_PLACES];
89
  private static int[][][] mCountry = new int   [RubikSize.LENGTH][RubikSurfaceView.MAX_SCRAMBLE][MAX_PLACES];
90
  private static String[][][] mName = new String[RubikSize.LENGTH][RubikSurfaceView.MAX_SCRAMBLE][MAX_PLACES];
91
  private static String[][][] mTime = new String[RubikSize.LENGTH][RubikSurfaceView.MAX_SCRAMBLE][MAX_PLACES];
92 92

  
93 93
///////////////////////////////////////////////////////////////////////////////////////////////////
94 94

  
......
129 129
        String country = row.substring(s5+1, s6);
130 130
        String realTime= String.valueOf(time/10.0f);
131 131

  
132
        if(level>=0 && level<RubikActivity.MAX_SCRAMBLE && place>=0 && place<MAX_PLACES)
132
        if(level>=0 && level<RubikSurfaceView.MAX_SCRAMBLE && place>=0 && place<MAX_PLACES)
133 133
          {
134 134
          int resID = mResources.getIdentifier( country, "drawable", mPackageName);
135 135
          mCountry[size][level][place] = resID!=0 ? resID:R.drawable.unk;

Also available in: Unified diff