Example #1
0
 static final void method547(
     int i, int i_86_, int i_87_, int i_88_, boolean[][] bools, int[][] is) {
   GL gl = Class97.aGL1536;
   Class97.method1546(1);
   Class97.method1553(1);
   Class97.method1538();
   Class97.method1518(false);
   Class83_Sub14.method943(116, 0, 0);
   gl.glDepthMask(false);
   for (int i_89_ = 0; i_89_ < anInt941; i_89_++) {
     for (int i_90_ = 0; i_90_ < anInt944; i_90_++) {
       while_57_:
       for (int i_91_ = i_89_ * 8; i_91_ < i_89_ * 8 + 8; i_91_++) {
         if (i_91_ - i >= -i_87_ && i_91_ - i <= i_87_) {
           for (int i_92_ = i_90_ * 8; i_92_ < i_90_ * 8 + 8; i_92_++) {
             if (i_92_ - i_86_ >= -i_87_
                 && i_92_ - i_86_ <= i_87_
                 && (bools[i_91_ - i + i_87_][i_92_ - i_86_ + i_87_])) {
               Class38 class38 = aClass38ArrayArray940[i_89_][i_90_];
               if (((Class38) class38).aBoolean718) {
                 class38.method351(aClass17_Sub1_942, i_89_, i_90_);
                 ((Class38) class38).aBoolean718 = false;
               }
               gl.glPushMatrix();
               gl.glTranslatef((float) (i_89_ * 1024), 0.0F, (float) (i_90_ * 1024));
               class38.method354();
               gl.glPopMatrix();
               break while_57_;
             }
           }
         }
       }
     }
   }
   gl.glEnableClientState(32886);
   gl.glDepthMask(true);
   Class97.method1552();
 }
 public static boolean method470(RSInterface rSInterface, int i) {
   anInt2548++;
   if (rSInterface.anIntArray370 == null) return false;
   for (int i_14_ = 0;
       ((i_14_ ^ 0xffffffff) > (rSInterface.anIntArray370.length ^ 0xffffffff));
       i_14_++) {
     int i_15_ = Class38.method1050(-29842, i_14_, rSInterface);
     int i_16_ = rSInterface.anIntArray451[i_14_];
     if (rSInterface.anIntArray370[i_14_] != 2) {
       if (rSInterface.anIntArray370[i_14_] != 3) {
         if (rSInterface.anIntArray370[i_14_] == 4) {
           if ((i_16_ ^ 0xffffffff) == (i_15_ ^ 0xffffffff)) return false;
         } else if ((i_16_ ^ 0xffffffff) != (i_15_ ^ 0xffffffff)) return false;
       } else if ((i_15_ ^ 0xffffffff) >= (i_16_ ^ 0xffffffff)) return false;
     } else if (i_16_ <= i_15_) return false;
   }
   if (i != 4) aClass16_2561 = null;
   return true;
 }